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.001083/0.001083, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001342/0.001342, allocations: 172.7 kB / 15.95 MB, free: 208 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.818/1.818, allocations: 205.4 MB / 222.1 MB, free: 5.898 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.3977/0.3977, allocations: 40 MB / 310.4 MB, free: 9.875 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.0005664/0.0005669, allocations: 12 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1401, allocations: 57.95 MB / 436.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.3557/0.4959, allocations: 102.9 MB / 0.527 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05708/0.553, allocations: 20.43 MB / 0.547 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02885/0.5819, allocations: 480.1 kB / 0.5474 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02325/0.6052, allocations: 5.436 MB / 0.5528 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05381/0.659, allocations: 15.7 MB / 0.5681 GB, free: 1.473 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007606/0.6667, allocations: 1.083 MB / 0.5691 GB, free: 400 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.06864/0.7354, allocations: 51.91 MB / 0.6198 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01358/0.749, allocations: 8.121 MB / 0.6278 GB, free: 4.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006592/0.7556, allocations: 2.331 MB / 0.63 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3406/1.096, allocations: 3.786 MB / 0.6337 GB, free: 53.15 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002797/1.099, allocations: 274.8 kB / 0.634 GB, free: 53.15 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005463/1.105, allocations: 1.032 MB / 0.635 GB, free: 53.15 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006058/1.111, allocations: 3.284 MB / 0.6382 GB, free: 53.15 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00365/1.114, allocations: 1.533 MB / 0.6397 GB, free: 53.12 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01566/1.13, allocations: 10.21 MB / 0.6497 GB, free: 52.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/1.13, allocations: 2 kB / 0.6497 GB, free: 52.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.685e-06/1.13, allocations: 0 / 0.6497 GB, free: 52.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006561/1.131, allocations: 0 / 0.6497 GB, free: 52.48 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.02447/1.155, allocations: 7.399 MB / 0.6569 GB, free: 49.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/1.155, allocations: 9.406 kB / 0.6569 GB, free: 49.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0191/1.174, allocations: 3.364 MB / 0.6602 GB, free: 48.8 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01675/1.191, allocations: 5.354 MB / 0.6654 GB, free: 47.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009471/1.192, allocations: 442.4 kB / 0.6659 GB, free: 47.96 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003545/1.196, allocations: 0.5832 MB / 0.6664 GB, free: 47.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04385/1.24, allocations: 17.77 MB / 0.6838 GB, free: 42.58 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006932/1.24, allocations: 79.5 kB / 0.6839 GB, free: 42.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00343/1.244, allocations: 280.2 kB / 0.6841 GB, free: 42.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005931/1.25, allocations: 3.429 MB / 0.6875 GB, free: 41.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03197/1.282, allocations: 14.85 MB / 0.702 GB, free: 34.61 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0994/1.381, allocations: 69.01 MB / 0.7694 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01768/1.399, allocations: 7.369 MB / 0.7766 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006939/1.406, allocations: 4.431 MB / 0.7809 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004133/1.406, allocations: 58.39 kB / 0.7809 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.117e-05/1.407, allocations: 67.28 kB / 0.781 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=307): time 9.849e-06/1.407, allocations: 0 / 0.781 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of matching and sorting (n=340): time 0.1074/1.514, allocations: 35.25 MB / 0.8154 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002158/1.514, allocations: 298.3 kB / 0.8157 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01755/1.532, allocations: 7.42 MB / 0.823 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001234/1.533, allocations: 77.7 kB / 0.823 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.005889/1.539, allocations: 5.279 MB / 0.8282 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002765/1.542, allocations: 1.291 MB / 0.8295 GB, free: 272 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001996/1.544, allocations: 200 kB / 0.8296 GB, free: 72 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00138/1.545, allocations: 0.7276 MB / 0.8304 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008887/1.554, allocations: 4.115 MB / 0.8344 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3251/1.879, allocations: 9.763 MB / 0.8439 GB, free: 222.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01168/1.891, allocations: 6.176 MB / 0.8499 GB, free: 222.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000149/1.891, allocations: 58.47 kB / 0.85 GB, free: 222.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.03246/1.924, allocations: 15.68 MB / 0.8653 GB, free: 218.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004001/1.924, allocations: 90.39 kB / 0.8654 GB, free: 218.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005744/1.925, allocations: 200.3 kB / 0.8656 GB, free: 218.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008075/1.933, allocations: 2.34 MB / 0.8679 GB, free: 218.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01026/1.943, allocations: 2.363 MB / 0.8702 GB, free: 217.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02127/1.964, allocations: 14.5 MB / 0.8843 GB, free: 210 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01125/1.976, allocations: 0.582 MB / 0.8849 GB, free: 209.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002762/1.978, allocations: 0.5739 MB / 0.8855 GB, free: 209.7 MB / 0.5762 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 (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 {(2,100.0%) 23,(1,100.0%) 14,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009857/1.988, allocations: 3.598 MB / 0.889 GB, free: 208.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002229/1.991, allocations: 0.6355 MB / 0.8896 GB, free: 208.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01585/2.006, allocations: 8.106 MB / 0.8975 GB, free: 205.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.957e-05/2.007, allocations: 36.25 kB / 0.8976 GB, free: 205.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.161e-05/2.007, allocations: 14.66 kB / 0.8976 GB, free: 205.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.999e-05/2.007, allocations: 20 kB / 0.8976 GB, free: 205.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03536/2.042, allocations: 17.12 MB / 0.9143 GB, free: 194.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.673e-05/2.042, allocations: 0 / 0.9143 GB, free: 194.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003199/2.045, allocations: 0.6238 MB / 0.9149 GB, free: 194.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00516/2.05, allocations: 2.002 MB / 0.9169 GB, free: 192.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006603/2.051, allocations: 64 kB / 0.9169 GB, free: 192.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01474/2.066, allocations: 13.55 MB / 0.9302 GB, free: 179 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/2.066, allocations: 0 / 0.9302 GB, free: 179 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01897/2.085, allocations: 12.92 MB / 0.9428 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003889/2.089, allocations: 1.281 MB / 0.944 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002451/2.091, allocations: 59.05 kB / 0.9441 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004121/2.095, allocations: 241.6 kB / 0.9443 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006853/2.096, allocations: 194.9 kB / 0.9445 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003649/2.097, allocations: 89.55 kB / 0.9446 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.009298/2.106, allocations: 4.708 MB / 0.9492 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/2.106, allocations: 0 / 0.9492 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01188/2.118, allocations: 1.906 MB / 0.951 GB, free: 157.6 MB / 0.5762 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.0009513/2.119, allocations: 203.3 kB / 0.9512 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01703/2.136, allocations: 10.11 MB / 0.9611 GB, free: 147.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/2.136, allocations: 0 / 0.9611 GB, free: 147.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006223/2.142, allocations: 3.882 MB / 0.9649 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008709/2.151, allocations: 0.8265 MB / 0.9657 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03894/2.19, allocations: 20.71 MB / 0.9859 GB, free: 121.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009458/2.199, allocations: 5.449 MB / 0.9913 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.009978/2.209, allocations: 3.173 MB / 0.9944 GB, free: 113.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002261/2.212, allocations: 443.4 kB / 0.9948 GB, free: 112.8 MB / 0.5762 GB Notification: Performance of SimCode: time 2.575e-06/2.212, allocations: 4 kB / 0.9948 GB, free: 112.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.1232/2.335, allocations: 70.9 MB / 1.064 GB, free: 41.91 MB / 0.5762 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: