Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,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.FrameTorques2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002664/0.002669, allocations: 366.6 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.838/3.838, 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.003501/0.003501, 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.4838/0.4838, allocations: 80.02 MB / 0.5627 GB, free: 19.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006571/0.0006572, allocations: 8 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1239, allocations: 54.88 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.4464/0.5704, allocations: 109.4 MB / 0.787 GB, free: 12.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.07698/0.6474, allocations: 21.68 MB / 0.8081 GB, free: 6.348 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0267/0.6742, allocations: 0.4988 MB / 0.8086 GB, free: 5.848 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01966/0.6939, allocations: 5.397 MB / 0.8139 GB, free: 436 kB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.07801/0.7719, allocations: 18.23 MB / 0.8317 GB, free: 14.12 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01297/0.785, allocations: 1.233 MB / 0.8329 GB, free: 12.89 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.1365/0.9215, allocations: 54.73 MB / 0.8863 GB, free: 6.078 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02075/0.9423, allocations: 10.05 MB / 0.8961 GB, free: 11.96 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005917/0.9483, allocations: 2.611 MB / 0.8987 GB, free: 9.344 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009299/0.9576, allocations: 4.315 MB / 0.9029 GB, free: 5.016 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001836/0.9595, allocations: 312 kB / 0.9032 GB, free: 4.711 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005397/0.9649, allocations: 1.229 MB / 0.9044 GB, free: 3.48 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.7881/1.753, allocations: 3.722 MB / 0.908 GB, free: 61.85 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.003904/1.757, allocations: 1.708 MB / 0.9097 GB, free: 61.82 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01775/1.775, allocations: 11.63 MB / 0.9211 GB, free: 61.11 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/1.775, allocations: 0 / 0.9211 GB, free: 61.11 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.955e-06/1.775, allocations: 2.781 kB / 0.9211 GB, free: 61.11 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0005583/1.775, allocations: 1.219 kB / 0.9211 GB, free: 61.11 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2948 * Number of variables: 2948 Notification: Performance of Generate backend data structure: time 0.0345/1.81, allocations: 8.688 MB / 0.9295 GB, free: 57.62 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/1.81, allocations: 8.688 kB / 0.9296 GB, free: 57.62 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03988/1.85, allocations: 4.466 MB / 0.9339 GB, free: 57.04 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02199/1.872, allocations: 6.469 MB / 0.9402 GB, free: 56.13 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006847/1.873, allocations: 498.1 kB / 0.9407 GB, free: 56.12 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004365/1.877, allocations: 0.6645 MB / 0.9414 GB, free: 56.11 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06214/1.939, allocations: 20.24 MB / 0.9611 GB, free: 51.5 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005456/1.94, allocations: 89.47 kB / 0.9612 GB, free: 51.48 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003277/1.943, allocations: 312.7 kB / 0.9615 GB, free: 51.48 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008089/1.951, allocations: 3.373 MB / 0.9648 GB, free: 50.83 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05486/2.006, allocations: 16.95 MB / 0.9813 GB, free: 41.39 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1411/2.147, allocations: 73.04 MB / 1.053 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03871/2.186, allocations: 8.523 MB / 1.061 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0113/2.197, allocations: 4.539 MB / 1.065 GB, free: 15.61 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/2.199, allocations: 0.6688 MB / 1.066 GB, free: 14.86 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.58e-05/2.199, allocations: 67.78 kB / 1.066 GB, free: 14.78 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=311): time 7.894e-06/2.199, allocations: 3.75 kB / 1.066 GB, free: 14.78 MB / 0.5262 GB Notification: Performance of matching and sorting (n=335): time 0.1784/2.377, allocations: 35.79 MB / 1.101 GB, free: 10.83 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002506/2.378, allocations: 291.7 kB / 1.101 GB, free: 10.48 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02031/2.398, allocations: 7.742 MB / 1.109 GB, free: 2.785 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001165/2.399, allocations: 77.7 kB / 1.109 GB, free: 2.703 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.3298/2.729, allocations: 5.719 MB / 1.115 GB, free: 232.2 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.002635/2.732, allocations: 1.276 MB / 1.116 GB, free: 231.5 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001706/2.733, allocations: 201.6 kB / 1.116 GB, free: 231.5 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.001055/2.734, allocations: 0.7419 MB / 1.117 GB, free: 231.1 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01268/2.747, allocations: 4.08 MB / 1.121 GB, free: 231.1 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01694/2.764, allocations: 9.779 MB / 1.13 GB, free: 222.6 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01627/2.78, allocations: 6.143 MB / 1.136 GB, free: 220.3 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003382/2.781, allocations: 56.41 kB / 1.136 GB, free: 220.3 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1327) (initialization): time 0.0481/2.829, allocations: 15.72 MB / 1.152 GB, free: 214.6 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001815/2.829, allocations: 89.38 kB / 1.152 GB, free: 214.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003765/2.83, allocations: 201 kB / 1.152 GB, free: 214.6 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01103/2.841, allocations: 2.352 MB / 1.154 GB, free: 214.2 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01563/2.856, allocations: 2.351 MB / 1.157 GB, free: 213.9 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02718/2.884, allocations: 15.59 MB / 1.172 GB, free: 199.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01303/2.897, allocations: 0.5793 MB / 1.172 GB, free: 199.3 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002718/2.899, allocations: 0.5856 MB / 1.173 GB, free: 198.8 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 904 * Number of states: 0 () * Number of discrete variables: 63 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1247): * Single equations (assignments): 1240 * 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 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01227/2.912, allocations: 3.874 MB / 1.177 GB, free: 195.4 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002324/2.914, allocations: 0.6646 MB / 1.177 GB, free: 194.7 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02624/2.94, allocations: 7.974 MB / 1.185 GB, free: 188.4 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001093/2.94, allocations: 17.88 kB / 1.185 GB, free: 188.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/2.941, allocations: 0 / 1.185 GB, free: 188.4 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005275/2.946, allocations: 1.289 MB / 1.186 GB, free: 187.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003523/2.949, allocations: 62 kB / 1.186 GB, free: 187.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007433/2.957, allocations: 247.6 kB / 1.187 GB, free: 187 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001429/2.958, allocations: 229.8 kB / 1.187 GB, free: 186.8 MB / 0.5574 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02926/2.988, allocations: 8.187 MB / 1.195 GB, free: 178.8 MB / 0.5574 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02412/3.012, allocations: 10.48 MB / 1.205 GB, free: 168.3 MB / 0.5574 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00637/3.018, allocations: 2.816 MB / 1.208 GB, free: 165.5 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.01233/3.031, allocations: 4.928 MB / 1.213 GB, free: 160.6 MB / 0.5574 GB Notification: Performance of Backend: time 1.212e-06/3.031, allocations: 0 / 1.213 GB, free: 160.6 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0315/3.062, allocations: 7.799 MB / 1.22 GB, free: 152.8 MB / 0.5574 GB Notification: Performance of SimCode: time 0.04893/3.111, allocations: 21.43 MB / 1.241 GB, free: 131.3 MB / 0.5574 GB Notification: Performance of Templates: time 0.2403/3.352, allocations: 88.42 MB / 1.328 GB, free: 43.12 MB / 0.5574 GB