Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004543/0.004542, allocations: 372 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.801/3.801, allocations: 388.9 MB / 405.6 MB, free: 10.33 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.005134/0.005134, allocations: 228.2 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5556/0.5556, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006228/0.000623, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09231/0.09296, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.3847/0.4777, allocations: 55.61 MB / 0.7344 GB, free: 11.8 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03322/0.511, allocations: 12.03 MB / 0.7461 GB, free: 10.11 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01276/0.5238, allocations: 265.8 kB / 0.7464 GB, free: 10.07 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01022/0.5341, allocations: 2.683 MB / 0.749 GB, free: 9.527 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03182/0.566, allocations: 9.335 MB / 0.7581 GB, free: 4.641 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005747/0.5718, allocations: 1.005 MB / 0.7591 GB, free: 4.051 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.06118/0.633, allocations: 28.77 MB / 0.7872 GB, free: 11.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01341/0.6465, allocations: 5.57 MB / 0.7926 GB, free: 6.234 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004786/0.6513, allocations: 1.794 MB / 0.7944 GB, free: 4.434 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00692/0.6583, allocations: 2.839 MB / 0.7972 GB, free: 1.586 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001604/0.66, allocations: 204 kB / 0.7974 GB, free: 1.387 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004768/0.6647, allocations: 1.201 MB / 0.7985 GB, free: 188 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00469/0.6695, allocations: 2.392 MB / 0.8009 GB, free: 13.79 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00258/0.6721, allocations: 1.088 MB / 0.8019 GB, free: 12.69 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01275/0.6849, allocations: 7.24 MB / 0.809 GB, free: 5.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.685, allocations: 0 / 0.809 GB, free: 5.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.685, allocations: 0 / 0.809 GB, free: 5.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003252/0.6853, allocations: 0 / 0.809 GB, free: 5.43 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1937 * Number of variables: 1937 Notification: Performance of Generate backend data structure: time 0.02493/0.7103, allocations: 5.922 MB / 0.8148 GB, free: 15.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.7104, allocations: 8.031 kB / 0.8148 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05339/0.7638, allocations: 3.823 MB / 0.8185 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01525/0.7791, allocations: 4.133 MB / 0.8226 GB, free: 7.395 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004589/0.7796, allocations: 311.9 kB / 0.8229 GB, free: 7.086 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002327/0.7819, allocations: 427.6 kB / 0.8233 GB, free: 6.668 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04383/0.8258, allocations: 14.09 MB / 0.837 GB, free: 7.711 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002745/0.8261, allocations: 63.45 kB / 0.8371 GB, free: 7.648 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001543/0.8277, allocations: 203.8 kB / 0.8373 GB, free: 7.449 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006351/0.8341, allocations: 2.406 MB / 0.8396 GB, free: 5.043 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.057/0.8911, allocations: 12.02 MB / 0.8514 GB, free: 9.012 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1164/1.008, allocations: 53.66 MB / 0.9038 GB, free: 1.848 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3577/1.365, allocations: 5.933 MB / 0.9096 GB, free: 171.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007873/1.373, allocations: 3.587 MB / 0.9131 GB, free: 170.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03823/1.412, allocations: 15.45 MB / 0.9282 GB, free: 162.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.395e-05/1.412, allocations: 58.22 kB / 0.9282 GB, free: 162.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=229): time 6.763e-06/1.412, allocations: 3.562 kB / 0.9282 GB, free: 162.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=266): time 0.1568/1.569, allocations: 28.88 MB / 0.9564 GB, free: 143.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.363e-05/1.569, allocations: 257.3 kB / 0.9567 GB, free: 143.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01062/1.579, allocations: 5.026 MB / 0.9616 GB, free: 138.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006661/1.58, allocations: 65.7 kB / 0.9616 GB, free: 138 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003245/1.583, allocations: 3.871 MB / 0.9654 GB, free: 134.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001556/1.585, allocations: 1 MB / 0.9664 GB, free: 133.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/1.586, allocations: 160.4 kB / 0.9665 GB, free: 133 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006715/1.587, allocations: 0.6245 MB / 0.9672 GB, free: 132.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00739/1.594, allocations: 2.974 MB / 0.9701 GB, free: 129.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01001/1.604, allocations: 7.299 MB / 0.9772 GB, free: 120.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/1.615, allocations: 4.524 MB / 0.9816 GB, free: 115.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001309/1.615, allocations: 40 kB / 0.9816 GB, free: 115.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.03086/1.646, allocations: 11.11 MB / 0.9925 GB, free: 104.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/1.646, allocations: 72.06 kB / 0.9926 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002051/1.646, allocations: 151 kB / 0.9927 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005306/1.651, allocations: 1.245 MB / 0.9939 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01159/1.663, allocations: 1.821 MB / 0.9957 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01343/1.676, allocations: 7.768 MB / 1.003 GB, free: 93.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008234/1.685, allocations: 431.3 kB / 1.004 GB, free: 92.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001569/1.686, allocations: 445.7 kB / 1.004 GB, free: 92.24 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 684 * Number of states: 0 () * Number of discrete variables: 54 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (950): * Single equations (assignments): 945 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006533/1.693, allocations: 2.623 MB / 1.007 GB, free: 89.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001367/1.694, allocations: 462 kB / 1.007 GB, free: 89.15 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01518/1.709, allocations: 5.236 MB / 1.012 GB, free: 83.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-05/1.71, allocations: 11.95 kB / 1.012 GB, free: 83.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/1.71, allocations: 0 / 1.012 GB, free: 83.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002929/1.713, allocations: 0.8893 MB / 1.013 GB, free: 82.97 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001654/1.714, allocations: 45.33 kB / 1.013 GB, free: 82.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004535/1.719, allocations: 175.8 kB / 1.013 GB, free: 82.76 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008597/1.72, allocations: 161.7 kB / 1.013 GB, free: 82.6 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0182/1.738, allocations: 5.74 MB / 1.019 GB, free: 76.89 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01697/1.755, allocations: 7.764 MB / 1.027 GB, free: 69.06 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004296/1.759, allocations: 2.099 MB / 1.029 GB, free: 66.96 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007003/1.766, allocations: 3.134 MB / 1.032 GB, free: 63.84 MB / 490.7 MB Notification: Performance of Backend: time 9.22e-07/1.766, allocations: 4 kB / 1.032 GB, free: 63.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01641/1.783, allocations: 5.647 MB / 1.037 GB, free: 58.21 MB / 490.7 MB Notification: Performance of SimCode: time 0.03015/1.813, allocations: 14.14 MB / 1.051 GB, free: 44.03 MB / 490.7 MB Notification: Performance of Templates: time 0.5157/2.329, allocations: 61.27 MB / 1.111 GB, free: 150 MB / 490.7 MB