Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00541/0.00541, allocations: 100.1 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 198.7 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3793/0.3793, allocations: 38 MB / 307.9 MB, free: 10.1 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002602/0.002603, allocations: 71.91 kB / 433 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3178, allocations: 56.46 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.01826/0.3361, allocations: 18.83 MB / 0.4964 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01482/0.351, allocations: 5.624 MB / 0.5019 GB, free: 2.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005398/0.3564, allocations: 122.2 kB / 0.502 GB, free: 2.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01194/0.3684, allocations: 5.618 MB / 0.5075 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01272/0.3812, allocations: 3.004 MB / 0.5105 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004315/0.3856, allocations: 1.184 MB / 0.5116 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0159/0.4015, allocations: 8.302 MB / 0.5197 GB, free: 7.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009933/0.4115, allocations: 7.226 MB / 0.5268 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006453/0.418, allocations: 2.952 MB / 0.5297 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00733/0.4254, allocations: 4.128 MB / 0.5337 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003059/0.4285, allocations: 0.6562 MB / 0.5343 GB, free: 9.688 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006242/0.4348, allocations: 1.518 MB / 0.5358 GB, free: 8.168 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006808/0.4416, allocations: 3.772 MB / 0.5395 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01094/0.4526, allocations: 4.249 MB / 0.5436 GB, free: 116 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02267/0.4753, allocations: 13.23 MB / 0.5566 GB, free: 2.836 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/0.4754, allocations: 4 kB / 0.5566 GB, free: 2.832 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4754, allocations: 0 / 0.5566 GB, free: 2.832 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005834/0.476, allocations: 0 / 0.5566 GB, free: 2.832 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2705 * Number of variables: 2705 Notification: Performance of Generate backend data structure: time 0.02787/0.5039, allocations: 8.923 MB / 0.5653 GB, free: 9.812 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.249e-05/0.504, allocations: 19.83 kB / 0.5653 GB, free: 9.793 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01815/0.5221, allocations: 3.293 MB / 0.5685 GB, free: 6.484 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01461/0.5368, allocations: 5.541 MB / 0.5739 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004985/0.5373, allocations: 447.4 kB / 0.5744 GB, free: 436 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003483/0.5408, allocations: 0.5777 MB / 0.5749 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03527/0.5761, allocations: 17.78 MB / 0.5923 GB, free: 12.9 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002869/0.5764, allocations: 79.3 kB / 0.5924 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001255/0.5777, allocations: 279.7 kB / 0.5926 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006125/0.5838, allocations: 3.428 MB / 0.596 GB, free: 9.113 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0306/0.6145, allocations: 14.89 MB / 0.6105 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.535/1.15, allocations: 68.68 MB / 0.6776 GB, free: 75.84 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01918/1.169, allocations: 7.383 MB / 0.6848 GB, free: 73.23 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006613/1.175, allocations: 4.432 MB / 0.6891 GB, free: 71.38 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002981/1.176, allocations: 69.78 kB / 0.6892 GB, free: 71.36 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.89e-05/1.176, allocations: 67.72 kB / 0.6893 GB, free: 71.3 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=307): time 7.233e-06/1.176, allocations: 0 / 0.6893 GB, free: 71.3 MB / 0.4982 GB Notification: Performance of matching and sorting (n=340): time 0.0864/1.262, allocations: 35.33 MB / 0.7238 GB, free: 51.61 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/1.262, allocations: 291.5 kB / 0.724 GB, free: 51.26 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01148/1.274, allocations: 7.475 MB / 0.7313 GB, free: 43.8 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001171/1.275, allocations: 73.7 kB / 0.7314 GB, free: 43.72 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003295/1.278, allocations: 5.281 MB / 0.7366 GB, free: 38.45 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002039/1.28, allocations: 1.287 MB / 0.7378 GB, free: 37.17 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00329/1.284, allocations: 2.046 MB / 0.7398 GB, free: 35.12 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 5.794e-05/1.284, allocations: 305.1 kB / 0.7401 GB, free: 34.82 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005538/1.289, allocations: 4.158 MB / 0.7442 GB, free: 30.65 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008969/1.298, allocations: 9.79 MB / 0.7537 GB, free: 18.11 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01569/1.314, allocations: 14.94 MB / 0.7683 GB, free: 412 kB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002464/1.314, allocations: 60 kB / 0.7684 GB, free: 352 kB / 0.4982 GB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.03636/1.351, allocations: 15.77 MB / 0.7838 GB, free: 0.5625 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/1.351, allocations: 95.94 kB / 0.7839 GB, free: 480 kB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002583/1.351, allocations: 196 kB / 0.784 GB, free: 284 kB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006694/1.358, allocations: 2.315 MB / 0.7863 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009512/1.368, allocations: 2.363 MB / 0.7886 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02061/1.388, allocations: 15.57 MB / 0.8038 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01222/1.4, allocations: 0.5697 MB / 0.8044 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002952/1.403, allocations: 0.5742 MB / 0.8049 GB, free: 10.47 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 896 * Number of states: 0 () * Number of discrete variables: 63 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.color[3],worldForce.color[2],worldForce.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.groundColor[3],world.groundColor[2],world.groundColor[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 (1226): * Single equations (assignments): 1220 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,23,100.0%), (1,14,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009366/1.413, allocations: 3.597 MB / 0.8084 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00196/1.415, allocations: 0.6325 MB / 0.8091 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01627/1.431, allocations: 8.133 MB / 0.817 GB, free: 14.05 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.622e-05/1.431, allocations: 36 kB / 0.817 GB, free: 14.01 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.889e-05/1.431, allocations: 8 kB / 0.8171 GB, free: 14 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.825e-05/1.431, allocations: 23.94 kB / 0.8171 GB, free: 13.98 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03525/1.467, allocations: 17.03 MB / 0.8337 GB, free: 12.96 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.891e-05/1.467, allocations: 0 / 0.8337 GB, free: 12.96 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003635/1.47, allocations: 0.6357 MB / 0.8343 GB, free: 12.32 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005709/1.476, allocations: 2.004 MB / 0.8363 GB, free: 10.3 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000795/1.477, allocations: 63.98 kB / 0.8363 GB, free: 10.24 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01905/1.496, allocations: 14.64 MB / 0.8506 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.496, allocations: 4 kB / 0.8506 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.26/1.756, allocations: 12.95 MB / 0.8633 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005967/1.762, allocations: 1.273 MB / 0.8645 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002379/1.764, allocations: 53.31 kB / 0.8646 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003767/1.768, allocations: 231.5 kB / 0.8648 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006947/1.769, allocations: 200.2 kB / 0.865 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002719/1.769, allocations: 89.61 kB / 0.8651 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008668/1.778, allocations: 4.755 MB / 0.8697 GB, free: 194.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4e-07/1.778, allocations: 1.125 kB / 0.8697 GB, free: 194.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01052/1.788, allocations: 1.907 MB / 0.8716 GB, free: 194.3 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 280 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(4,18,75.0%), (1,11,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008784/1.789, allocations: 203.4 kB / 0.8718 GB, free: 194.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01866/1.808, allocations: 10.19 MB / 0.8817 GB, free: 190.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.808, allocations: 0 / 0.8817 GB, free: 190.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006792/1.815, allocations: 3.889 MB / 0.8855 GB, free: 188.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005862/1.821, allocations: 0.8756 MB / 0.8864 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03585/1.857, allocations: 17.7 MB / 0.9037 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008791/1.865, allocations: 5.453 MB / 0.909 GB, free: 179.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007335/1.873, allocations: 3.171 MB / 0.9121 GB, free: 179.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001747/1.875, allocations: 446.9 kB / 0.9125 GB, free: 179.1 MB / 0.5919 GB Notification: Performance of SimCode: time 9.22e-07/1.875, allocations: 0 / 0.9125 GB, free: 179.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.1155/1.99, allocations: 70.9 MB / 0.9818 GB, free: 110.8 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1)