Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 113.9 kB / 18.46 MB, free: 4.617 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.001913/0.001913, allocations: 186.1 kB / 19.39 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2036/0.2036, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 68.12 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3607, allocations: 60.81 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01625/0.377, allocations: 15.72 MB / 0.5349 GB, free: 8.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.3881, allocations: 5.091 MB / 0.5399 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00284/0.391, allocations: 107.8 kB / 0.54 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009284/0.4003, allocations: 5.032 MB / 0.5449 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007528/0.4079, allocations: 2.679 MB / 0.5475 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003628/0.4115, allocations: 1.244 MB / 0.5488 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01235/0.4239, allocations: 7.911 MB / 0.5565 GB, free: 6.184 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009014/0.4329, allocations: 6.016 MB / 0.5624 GB, free: 80 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004902/0.4379, allocations: 2.558 MB / 0.5649 GB, free: 13.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005465/0.4434, allocations: 3.497 MB / 0.5683 GB, free: 10 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001865/0.4453, allocations: 0.5469 MB / 0.5688 GB, free: 9.457 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003863/0.4491, allocations: 1.572 MB / 0.5703 GB, free: 7.883 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004263/0.4534, allocations: 3.262 MB / 0.5735 GB, free: 4.613 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006117/0.4596, allocations: 3.577 MB / 0.577 GB, free: 1.016 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01242/0.472, allocations: 11.16 MB / 0.5879 GB, free: 5.816 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.472, allocations: 0 / 0.5879 GB, free: 5.816 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.472, allocations: 0 / 0.5879 GB, free: 5.816 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002791/0.4723, allocations: 0 / 0.5879 GB, free: 5.816 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.01726/0.4896, allocations: 7.667 MB / 0.5954 GB, free: 14.06 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.4897, allocations: 8.031 kB / 0.5954 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01556/0.5052, allocations: 3.112 MB / 0.5985 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01148/0.5168, allocations: 4.95 MB / 0.6033 GB, free: 5.895 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002929/0.5171, allocations: 369.9 kB / 0.6036 GB, free: 5.531 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001468/0.5186, allocations: 0.5073 MB / 0.6041 GB, free: 5.023 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02669/0.5453, allocations: 14.81 MB / 0.6186 GB, free: 5.195 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002255/0.5455, allocations: 79.36 kB / 0.6187 GB, free: 5.117 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008474/0.5464, allocations: 231.8 kB / 0.6189 GB, free: 4.891 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00472/0.5511, allocations: 2.719 MB / 0.6215 GB, free: 2.168 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02735/0.5785, allocations: 12.24 MB / 0.6335 GB, free: 5.906 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06898/0.6475, allocations: 56.93 MB / 0.6891 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01209/0.6596, allocations: 4.7 MB / 0.6937 GB, free: 6.617 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003636/0.6633, allocations: 2.956 MB / 0.6966 GB, free: 3.645 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.6634, allocations: 40.67 kB / 0.6966 GB, free: 3.605 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.6635, allocations: 55.56 kB / 0.6967 GB, free: 3.543 MB / 0.545 GB Notification: Performance of pre-optimization done (n=190): time 4.348e-06/0.6635, allocations: 0 / 0.6967 GB, free: 3.543 MB / 0.545 GB Notification: Performance of matching and sorting (n=208): time 0.3472/1.011, allocations: 23.41 MB / 0.7195 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.629e-05/1.011, allocations: 259.2 kB / 0.7198 GB, free: 167 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01133/1.022, allocations: 6.78 MB / 0.7264 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005256/1.023, allocations: 56.86 kB / 0.7264 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002783/1.026, allocations: 4.586 MB / 0.7309 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001006/1.027, allocations: 0.8385 MB / 0.7317 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002267/1.029, allocations: 1.689 MB / 0.7334 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.262e-05/1.029, allocations: 304.2 kB / 0.7337 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004175/1.033, allocations: 2.897 MB / 0.7365 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00523/1.038, allocations: 7.862 MB / 0.7442 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009187/1.047, allocations: 11.52 MB / 0.7554 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001046/1.048, allocations: 50.41 kB / 0.7555 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1066) (initialization): time 0.02028/1.068, allocations: 11.97 MB / 0.7672 GB, free: 132 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001379/1.068, allocations: 81 kB / 0.7672 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002075/1.068, allocations: 176 kB / 0.7674 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004259/1.073, allocations: 1.775 MB / 0.7691 GB, free: 130 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006415/1.079, allocations: 1.922 MB / 0.771 GB, free: 128.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/1.091, allocations: 12.41 MB / 0.7831 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007133/1.098, allocations: 451.1 kB / 0.7836 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001179/1.099, allocations: 496 kB / 0.784 GB, free: 114.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 795 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.arrowLine.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce1.arrow.arrowLine.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.color[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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.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 (1003): * Single equations (assignments): 997 * 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,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005096/1.104, allocations: 3.05 MB / 0.787 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001492/1.106, allocations: 0.5437 MB / 0.7876 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008377/1.114, allocations: 4.842 MB / 0.7923 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/1.114, allocations: 11.97 kB / 0.7923 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/1.114, allocations: 0 / 0.7923 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001919/1.116, allocations: 0.6227 MB / 0.7929 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009369/1.117, allocations: 32 kB / 0.7929 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002197/1.119, allocations: 139.8 kB / 0.7931 GB, free: 105 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000356/1.12, allocations: 145.2 kB / 0.7932 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00905/1.129, allocations: 5.372 MB / 0.7985 GB, free: 99.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006962/1.136, allocations: 6.554 MB / 0.8049 GB, free: 92.96 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001659/1.138, allocations: 1.664 MB / 0.8065 GB, free: 91.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005957/1.144, allocations: 4.325 MB / 0.8107 GB, free: 86.99 MB / 0.5606 GB Notification: Performance of Backend: time 8.11e-07/1.144, allocations: 3.938 kB / 0.8107 GB, free: 86.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01081/1.154, allocations: 5.867 MB / 0.8164 GB, free: 81.16 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01936/1.174, allocations: 14.09 MB / 0.8302 GB, free: 67.04 MB / 0.5606 GB Notification: Performance of Templates: time 0.101/1.275, allocations: 66.74 MB / 0.8954 GB, free: 0.6562 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1)