Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001149/0.001149, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001224/0.001224, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3347/0.3347, allocations: 40 MB / 310.4 MB, free: 9.664 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.2. 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.0005478/0.0005479, allocations: 20 kB / 378.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1258, allocations: 57.96 MB / 436.8 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.321/0.4469, allocations: 97.07 MB / 0.5213 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0564/0.5033, allocations: 21.46 MB / 0.5423 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02728/0.5307, allocations: 484.3 kB / 0.5427 GB, free: 6.703 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02174/0.5525, allocations: 4.9 MB / 0.5475 GB, free: 5.105 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05403/0.6065, allocations: 13.78 MB / 0.561 GB, free: 8.246 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008479/0.615, allocations: 1.065 MB / 0.562 GB, free: 7.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.05873/0.6738, allocations: 39.95 MB / 0.601 GB, free: 15.19 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01259/0.6865, allocations: 8.062 MB / 0.6089 GB, free: 7.102 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004466/0.691, allocations: 1.884 MB / 0.6108 GB, free: 5.211 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004819/0.6958, allocations: 2.632 MB / 0.6133 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0013/0.6972, allocations: 272 kB / 0.6136 GB, free: 2.305 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00271/0.6999, allocations: 1.014 MB / 0.6146 GB, free: 1.289 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0034/0.7033, allocations: 3.059 MB / 0.6176 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002252/0.7056, allocations: 1.544 MB / 0.6191 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01149/0.7171, allocations: 10.42 MB / 0.6292 GB, free: 2.227 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.7171, allocations: 0 / 0.6292 GB, free: 2.227 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.7171, allocations: 0 / 0.6292 GB, free: 2.227 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0004193/0.7175, allocations: 0 / 0.6292 GB, free: 2.227 MB / 494.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.362/1.08, allocations: 7.834 MB / 0.6369 GB, free: 148.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/1.08, allocations: 16.73 kB / 0.6369 GB, free: 148.7 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06069/1.14, allocations: 11.31 MB / 0.648 GB, free: 148.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01334/1.154, allocations: 5.895 MB / 0.6537 GB, free: 145.9 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003963/1.154, allocations: 444.3 kB / 0.6541 GB, free: 145.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002697/1.157, allocations: 0.5795 MB / 0.6547 GB, free: 145.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03782/1.195, allocations: 17.74 MB / 0.672 GB, free: 137.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003014/1.195, allocations: 86.03 kB / 0.6721 GB, free: 137.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009599/1.196, allocations: 282.4 kB / 0.6724 GB, free: 137.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005951/1.202, allocations: 3.424 MB / 0.6757 GB, free: 136.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03137/1.233, allocations: 14.68 MB / 0.6901 GB, free: 123.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08564/1.319, allocations: 68.59 MB / 0.757 GB, free: 53.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01597/1.335, allocations: 7.284 MB / 0.7642 GB, free: 46.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003462/1.335, allocations: 65.02 kB / 0.7642 GB, free: 46.42 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.848e-05/1.335, allocations: 68.62 kB / 0.7643 GB, free: 46.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=307): time 6.653e-06/1.336, allocations: 0 / 0.7643 GB, free: 46.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=340): time 0.08288/1.418, allocations: 33.23 MB / 0.7967 GB, free: 12.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/1.419, allocations: 291.5 kB / 0.797 GB, free: 12.42 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01271/1.431, allocations: 7.826 MB / 0.8047 GB, free: 4.621 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001053/1.432, allocations: 81.7 kB / 0.8047 GB, free: 4.535 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003737/1.436, allocations: 5.352 MB / 0.81 GB, free: 15.18 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002193/1.438, allocations: 1.28 MB / 0.8112 GB, free: 13.91 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001327/1.44, allocations: 192 kB / 0.8114 GB, free: 13.72 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0009053/1.441, allocations: 0.7107 MB / 0.8121 GB, free: 13.01 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006911/1.448, allocations: 3.794 MB / 0.8158 GB, free: 9.207 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2405/1.688, allocations: 9.358 MB / 0.8249 GB, free: 138.1 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009477/1.698, allocations: 5.825 MB / 0.8306 GB, free: 137.9 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001564/1.698, allocations: 54.84 kB / 0.8307 GB, free: 137.9 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1244) (initialization): time 0.02552/1.723, allocations: 14.21 MB / 0.8445 GB, free: 133.7 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001492/1.723, allocations: 93.92 kB / 0.8446 GB, free: 133.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002622/1.724, allocations: 194.6 kB / 0.8448 GB, free: 133.7 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003551/1.727, allocations: 1.589 MB / 0.8464 GB, free: 133.4 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008712/1.736, allocations: 2.274 MB / 0.8486 GB, free: 133.1 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01466/1.751, allocations: 12.65 MB / 0.861 GB, free: 125.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00938/1.76, allocations: 0.542 MB / 0.8615 GB, free: 125.7 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002372/1.763, allocations: 0.5654 MB / 0.862 GB, free: 125.6 MB / 0.4982 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 (1169): * Single equations (assignments): 1163 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008806/1.771, allocations: 3.597 MB / 0.8655 GB, free: 124 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00206/1.773, allocations: 0.6431 MB / 0.8662 GB, free: 124 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01522/1.789, allocations: 7.007 MB / 0.873 GB, free: 121.4 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.529e-05/1.789, allocations: 35.75 kB / 0.8731 GB, free: 121.4 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.04e-05/1.789, allocations: 9.531 kB / 0.8731 GB, free: 121.4 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.692e-05/1.789, allocations: 18.64 kB / 0.8731 GB, free: 121.4 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03774/1.827, allocations: 16.07 MB / 0.8888 GB, free: 115.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.039e-05/1.827, allocations: 0 / 0.8888 GB, free: 115.5 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00342/1.83, allocations: 0.6342 MB / 0.8894 GB, free: 115.5 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003422/1.834, allocations: 1.244 MB / 0.8906 GB, free: 115.2 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006897/1.834, allocations: 65.62 kB / 0.8907 GB, free: 115.1 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01234/1.847, allocations: 11.65 MB / 0.902 GB, free: 105.5 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.847, allocations: 3.75 kB / 0.9021 GB, free: 105.5 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01775/1.865, allocations: 11.76 MB / 0.9135 GB, free: 94.58 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004095/1.869, allocations: 1.263 MB / 0.9148 GB, free: 93.29 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002108/1.871, allocations: 59.95 kB / 0.9148 GB, free: 93.23 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004148/1.875, allocations: 207.7 kB / 0.915 GB, free: 93.03 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007812/1.876, allocations: 198.3 kB / 0.9152 GB, free: 92.84 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004622/1.876, allocations: 87.98 kB / 0.9153 GB, free: 92.75 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.00841/1.885, allocations: 5.04 MB / 0.9202 GB, free: 87.74 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2.41e-07/1.885, allocations: 0 / 0.9202 GB, free: 87.74 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01044/1.895, allocations: 1.84 MB / 0.922 GB, free: 85.91 MB / 0.4982 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001001/1.896, allocations: 223.3 kB / 0.9222 GB, free: 85.69 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01317/1.909, allocations: 9.479 MB / 0.9315 GB, free: 76.22 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/1.909, allocations: 4 kB / 0.9315 GB, free: 76.21 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.005072/1.914, allocations: 3.663 MB / 0.9351 GB, free: 72.52 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004708/1.919, allocations: 0.8366 MB / 0.9359 GB, free: 71.7 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02944/1.949, allocations: 20.23 MB / 0.9556 GB, free: 51.44 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007787/1.956, allocations: 5.62 MB / 0.9611 GB, free: 45.79 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01042/1.967, allocations: 3.173 MB / 0.9642 GB, free: 42.61 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00234/1.969, allocations: 455.3 kB / 0.9647 GB, free: 42.16 MB / 0.4982 GB Notification: Performance of SimCode: time 1.082e-06/1.969, allocations: 0 / 0.9647 GB, free: 42.16 MB / 0.4982 GB Notification: Performance of Templates: time 0.3223/2.292, allocations: 69.07 MB / 1.032 GB, free: 143.3 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) Environment - environmentSimulation: