Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003721/0.003728, allocations: 369.2 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 4.107/4.107, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.0035/0.0035, allocations: 233.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.5235/0.5235, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004567/0.0004569, allocations: 19.78 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09412/0.0946, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.4557/0.5503, allocations: 108.5 MB / 0.7861 GB, free: 12.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.08067/0.6311, allocations: 21.56 MB / 0.8071 GB, free: 7.324 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0249/0.656, allocations: 0.4988 MB / 0.8076 GB, free: 6.824 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02003/0.6761, allocations: 5.378 MB / 0.8129 GB, free: 1.422 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06579/0.742, allocations: 18.14 MB / 0.8306 GB, free: 15.21 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01027/0.7523, allocations: 1.241 MB / 0.8318 GB, free: 13.97 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.1195/0.8719, allocations: 54.45 MB / 0.885 GB, free: 7.438 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02203/0.894, allocations: 9.645 MB / 0.8944 GB, free: 13.72 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006736/0.9008, allocations: 2.541 MB / 0.8969 GB, free: 11.17 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00975/0.9106, allocations: 4.183 MB / 0.901 GB, free: 6.977 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002307/0.913, allocations: 296 kB / 0.9012 GB, free: 6.688 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005624/0.9186, allocations: 1.233 MB / 0.9024 GB, free: 5.453 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006677/0.9254, allocations: 3.616 MB / 0.906 GB, free: 1.828 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.3836/1.309, allocations: 1.638 MB / 0.9076 GB, free: 62.28 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01833/1.327, allocations: 11.18 MB / 0.9185 GB, free: 61.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/1.328, allocations: 3.75 kB / 0.9185 GB, free: 61.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.056e-06/1.328, allocations: 1.438 kB / 0.9185 GB, free: 61.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006166/1.328, allocations: 0 / 0.9185 GB, free: 61.6 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2806 * Number of variables: 2806 Notification: Performance of Generate backend data structure: time 0.03676/1.365, allocations: 8.435 MB / 0.9267 GB, free: 58.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/1.365, allocations: 12.34 kB / 0.9268 GB, free: 58.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04035/1.405, allocations: 4.412 MB / 0.9311 GB, free: 57.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02527/1.431, allocations: 6.379 MB / 0.9373 GB, free: 56.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006669/1.431, allocations: 486.9 kB / 0.9378 GB, free: 56.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004367/1.436, allocations: 0.6402 MB / 0.9384 GB, free: 56.76 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08269/1.519, allocations: 19.45 MB / 0.9574 GB, free: 52.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005819/1.519, allocations: 93.95 kB / 0.9575 GB, free: 52.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003567/1.523, allocations: 296.4 kB / 0.9577 GB, free: 52.92 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007923/1.531, allocations: 3.182 MB / 0.9609 GB, free: 52.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05431/1.585, allocations: 16.38 MB / 0.9768 GB, free: 44.88 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1305/1.716, allocations: 70.5 MB / 1.046 GB, free: 2.879 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03856/1.754, allocations: 8.478 MB / 1.054 GB, free: 11 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01209/1.766, allocations: 4.514 MB / 1.058 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/1.768, allocations: 0.6655 MB / 1.059 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/1.768, allocations: 72.14 kB / 1.059 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=307): time 8.005e-06/1.768, allocations: 0 / 1.059 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of matching and sorting (n=331): time 0.1779/1.946, allocations: 34.98 MB / 1.093 GB, free: 2.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001923/1.946, allocations: 295.7 kB / 1.094 GB, free: 2.152 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02136/1.968, allocations: 7.564 MB / 1.101 GB, free: 10.62 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001151/1.969, allocations: 81.7 kB / 1.101 GB, free: 10.54 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.007145/1.976, allocations: 5.484 MB / 1.106 GB, free: 5.086 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.002735/1.979, allocations: 1.253 MB / 1.108 GB, free: 3.844 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001871/1.981, allocations: 200 kB / 1.108 GB, free: 3.648 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.00115/1.982, allocations: 0.7236 MB / 1.108 GB, free: 2.918 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.6417/2.623, allocations: 4.003 MB / 1.112 GB, free: 232.6 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0166/2.64, allocations: 9.525 MB / 1.122 GB, free: 225.5 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01626/2.656, allocations: 6.012 MB / 1.128 GB, free: 223.5 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000312/2.657, allocations: 54.81 kB / 1.128 GB, free: 223.5 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1293) (initialization): time 0.04902/2.706, allocations: 15.37 MB / 1.143 GB, free: 218.3 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002047/2.706, allocations: 87.22 kB / 1.143 GB, free: 218.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003325/2.706, allocations: 189.7 kB / 1.143 GB, free: 218.3 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01062/2.717, allocations: 2.334 MB / 1.145 GB, free: 217.9 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01579/2.733, allocations: 2.336 MB / 1.147 GB, free: 217.6 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02707/2.76, allocations: 15.31 MB / 1.162 GB, free: 207.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01281/2.773, allocations: 0.5754 MB / 1.163 GB, free: 206.7 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002625/2.776, allocations: 0.5623 MB / 1.164 GB, free: 206.1 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 874 * Number of states: 0 () * Number of discrete variables: 63 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1217): * Single equations (assignments): 1210 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(2,100.0%) 12,(2,100.0%) 12,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01201/2.788, allocations: 3.732 MB / 1.167 GB, free: 202.9 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002012/2.79, allocations: 0.6479 MB / 1.168 GB, free: 202.6 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02604/2.816, allocations: 7.856 MB / 1.175 GB, free: 196.4 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001049/2.816, allocations: 19.19 kB / 1.175 GB, free: 196.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/2.816, allocations: 4.562 kB / 1.175 GB, free: 196.4 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005127/2.821, allocations: 1.274 MB / 1.177 GB, free: 195.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003251/2.824, allocations: 52.62 kB / 1.177 GB, free: 195.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007162/2.832, allocations: 263.9 kB / 1.177 GB, free: 195.3 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00149/2.833, allocations: 214.4 kB / 1.177 GB, free: 195.2 MB / 0.5574 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02827/2.861, allocations: 8.172 MB / 1.185 GB, free: 188.3 MB / 0.5574 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02491/2.886, allocations: 10.39 MB / 1.195 GB, free: 177.9 MB / 0.5574 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006399/2.893, allocations: 2.798 MB / 1.198 GB, free: 175.1 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.01263/2.905, allocations: 4.819 MB / 1.203 GB, free: 170.3 MB / 0.5574 GB Notification: Performance of Backend: time 5.91e-07/2.905, allocations: 0 / 1.203 GB, free: 170.3 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.02581/2.931, allocations: 7.62 MB / 1.21 GB, free: 162.7 MB / 0.5574 GB Notification: Performance of SimCode: time 0.04846/2.98, allocations: 20.64 MB / 1.23 GB, free: 142 MB / 0.5574 GB Notification: Performance of Templates: time 0.2369/3.217, allocations: 87.15 MB / 1.316 GB, free: 55.03 MB / 0.5574 GB