Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002679/0.002679, allocations: 354.7 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.339/3.339, allocations: 341.5 MB / 358.2 MB, free: 28.77 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003544/0.003544, allocations: 224.4 kB / 397.9 MB, free: 6.16 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.6289/0.6289, allocations: 76.09 MB / 0.5014 GB, free: 0.8242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006499/0.00065, allocations: 12 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1058, allocations: 48.71 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.04239/0.1483, allocations: 30.19 MB / 0.6362 GB, free: 13.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02094/0.1693, allocations: 7.257 MB / 0.6433 GB, free: 5.984 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005585/0.1749, allocations: 139.6 kB / 0.6434 GB, free: 5.848 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004998/0.18, allocations: 1.415 MB / 0.6448 GB, free: 4.426 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2935/0.4735, allocations: 5.153 MB / 0.6499 GB, free: 12.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003202/0.4768, allocations: 0.5911 MB / 0.6504 GB, free: 12.76 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.03072/0.5076, allocations: 15.18 MB / 0.6653 GB, free: 11.28 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005813/0.5134, allocations: 2.978 MB / 0.6682 GB, free: 10.35 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002633/0.5161, allocations: 1.104 MB / 0.6692 GB, free: 10.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003706/0.5199, allocations: 1.787 MB / 0.671 GB, free: 9.789 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009452/0.5209, allocations: 123.7 kB / 0.6711 GB, free: 9.789 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003308/0.5242, allocations: 1.005 MB / 0.6721 GB, free: 9.551 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002545/0.5268, allocations: 1.492 MB / 0.6735 GB, free: 9.172 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001423/0.5283, allocations: 0.714 MB / 0.6742 GB, free: 9.141 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006736/0.535, allocations: 4.701 MB / 0.6788 GB, free: 5.262 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.076e-06/0.5351, allocations: 3.094 kB / 0.6788 GB, free: 5.262 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.5351, allocations: 1.859 kB / 0.6788 GB, free: 5.262 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001621/0.5353, allocations: 0 / 0.6788 GB, free: 5.262 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1314 * Number of variables: 1314 Notification: Performance of Generate backend data structure: time 0.01079/0.5461, allocations: 3.614 MB / 0.6824 GB, free: 1.883 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.5462, allocations: 8.031 kB / 0.6824 GB, free: 1.875 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0317/0.5779, allocations: 2.865 MB / 0.6852 GB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008399/0.5863, allocations: 2.403 MB / 0.6875 GB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002249/0.5866, allocations: 195.3 kB / 0.6877 GB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001485/0.5881, allocations: 268.9 kB / 0.688 GB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02344/0.6116, allocations: 8.669 MB / 0.6964 GB, free: 6.109 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001756/0.6118, allocations: 42.72 kB / 0.6965 GB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008155/0.6126, allocations: 122.6 kB / 0.6966 GB, free: 6.031 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004563/0.6172, allocations: 1.678 MB / 0.6982 GB, free: 4.637 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02308/0.6403, allocations: 7.344 MB / 0.7054 GB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08013/0.7205, allocations: 34.08 MB / 0.7387 GB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02412/0.7447, allocations: 3.516 MB / 0.7421 GB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006671/0.7514, allocations: 1.709 MB / 0.7438 GB, free: 8.438 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02972/0.7812, allocations: 7.432 MB / 0.751 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.644e-05/0.7813, allocations: 49.2 kB / 0.7511 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of pre-optimization done (n=150): time 7.374e-06/0.7814, allocations: 4 kB / 0.7511 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of matching and sorting (n=185): time 0.1297/0.911, allocations: 21.27 MB / 0.7719 GB, free: 11.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.9112, allocations: 197.2 kB / 0.772 GB, free: 11.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008628/0.9198, allocations: 3.706 MB / 0.7757 GB, free: 7.438 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004797/0.9204, allocations: 53.69 kB / 0.7757 GB, free: 7.379 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003208/0.9236, allocations: 2.79 MB / 0.7784 GB, free: 4.609 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001306/0.925, allocations: 0.7045 MB / 0.7791 GB, free: 3.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007273/0.9257, allocations: 116 kB / 0.7792 GB, free: 3.797 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000552/0.9263, allocations: 0.5665 MB / 0.7798 GB, free: 3.227 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006431/0.9327, allocations: 2.206 MB / 0.7819 GB, free: 1.016 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009897/0.9427, allocations: 5.75 MB / 0.7876 GB, free: 9.512 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009032/0.9518, allocations: 3.476 MB / 0.791 GB, free: 6.043 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001127/0.9519, allocations: 36 kB / 0.791 GB, free: 6.008 MB / 426.7 MB Notification: Performance of matching and sorting (n=776) (initialization): time 0.03557/0.9875, allocations: 9.728 MB / 0.8005 GB, free: 12.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.9877, allocations: 63.89 kB / 0.8006 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002052/0.9879, allocations: 124 kB / 0.8007 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01135/0.9993, allocations: 1.78 MB / 0.8024 GB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008326/1.008, allocations: 1.314 MB / 0.8037 GB, free: 9.004 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3285/1.336, allocations: 10.55 MB / 0.814 GB, free: 150.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0062/1.342, allocations: 318.9 kB / 0.8143 GB, free: 150.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001248/1.344, allocations: 372.4 kB / 0.8147 GB, free: 150.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 567 * Number of states: 0 () * Number of discrete variables: 33 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (709): * Single equations (assignments): 705 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004842/1.349, allocations: 1.883 MB / 0.8165 GB, free: 150.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008237/1.349, allocations: 327 kB / 0.8168 GB, free: 150.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01864/1.368, allocations: 4.436 MB / 0.8211 GB, free: 149.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.134e-05/1.368, allocations: 13.58 kB / 0.8212 GB, free: 149.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/1.368, allocations: 1.031 kB / 0.8212 GB, free: 149.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002228/1.37, allocations: 0.6231 MB / 0.8218 GB, free: 149.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009932/1.372, allocations: 28.86 kB / 0.8218 GB, free: 149.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002673/1.374, allocations: 96.03 kB / 0.8219 GB, free: 149 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005237/1.375, allocations: 141.7 kB / 0.822 GB, free: 149 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02156/1.396, allocations: 4.568 MB / 0.8265 GB, free: 147.6 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01698/1.413, allocations: 5.345 MB / 0.8317 GB, free: 145.4 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004197/1.418, allocations: 1.42 MB / 0.8331 GB, free: 144.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00667/1.424, allocations: 2.294 MB / 0.8353 GB, free: 144.2 MB / 442.7 MB Notification: Performance of Backend: time 1.392e-06/1.424, allocations: 0 / 0.8353 GB, free: 144.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01744/1.442, allocations: 4.362 MB / 0.8396 GB, free: 142.7 MB / 442.7 MB Notification: Performance of SimCode: time 0.02683/1.469, allocations: 9.869 MB / 0.8492 GB, free: 136.2 MB / 442.7 MB Notification: Performance of Templates: time 0.1262/1.595, allocations: 44.99 MB / 0.8932 GB, free: 91.88 MB / 442.7 MB