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.001257/0.001257, 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.001251/0.001251, allocations: 186.1 kB / 19.39 MB, free: 3.691 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.371/1.371, allocations: 222.9 MB / 243.1 MB, free: 15.13 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.2083/0.2083, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3525, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01585/0.3684, allocations: 15.72 MB / 0.5349 GB, free: 8.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01122/0.3796, allocations: 5.089 MB / 0.5399 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002854/0.3825, allocations: 108.9 kB / 0.54 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009303/0.3918, allocations: 5.028 MB / 0.5449 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007027/0.3989, allocations: 2.682 MB / 0.5475 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003442/0.4024, allocations: 1.248 MB / 0.5488 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0119/0.4143, allocations: 7.913 MB / 0.5565 GB, free: 6.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008125/0.4224, allocations: 6.007 MB / 0.5624 GB, free: 84 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004463/0.4269, allocations: 2.562 MB / 0.5649 GB, free: 13.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00536/0.4323, allocations: 3.497 MB / 0.5683 GB, free: 10 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001782/0.4341, allocations: 0.543 MB / 0.5688 GB, free: 9.461 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003978/0.4381, allocations: 1.576 MB / 0.5703 GB, free: 7.883 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004141/0.4423, allocations: 3.254 MB / 0.5735 GB, free: 4.621 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006231/0.4485, allocations: 3.585 MB / 0.577 GB, free: 1.016 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01493/0.4634, allocations: 11.2 MB / 0.588 GB, free: 5.773 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.4635, allocations: 0 / 0.588 GB, free: 5.773 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4635, allocations: 4 kB / 0.588 GB, free: 5.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004812/0.464, allocations: 4 kB / 0.588 GB, free: 5.766 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.02055/0.4845, allocations: 7.874 MB / 0.5957 GB, free: 13.79 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.4846, allocations: 12.03 kB / 0.5957 GB, free: 13.78 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01597/0.5006, allocations: 3.148 MB / 0.5987 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01271/0.5133, allocations: 4.98 MB / 0.6036 GB, free: 5.562 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003877/0.5138, allocations: 365.9 kB / 0.604 GB, free: 5.203 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002425/0.5162, allocations: 0.492 MB / 0.6044 GB, free: 4.711 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0306/0.5468, allocations: 14.82 MB / 0.6189 GB, free: 4.875 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003572/0.5472, allocations: 79.34 kB / 0.619 GB, free: 4.797 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001715/0.5489, allocations: 231.8 kB / 0.6192 GB, free: 4.57 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004961/0.5539, allocations: 2.723 MB / 0.6219 GB, free: 1.844 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0259/0.5798, allocations: 12.25 MB / 0.6338 GB, free: 5.574 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07324/0.6531, allocations: 57.03 MB / 0.6895 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01233/0.6655, allocations: 4.696 MB / 0.6941 GB, free: 6.195 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003814/0.6693, allocations: 2.948 MB / 0.697 GB, free: 3.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/0.6695, allocations: 44.67 kB / 0.697 GB, free: 3.188 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/0.6696, allocations: 55.55 kB / 0.6971 GB, free: 3.125 MB / 0.545 GB Notification: Performance of pre-optimization done (n=190): time 4.699e-06/0.6696, allocations: 4 kB / 0.6971 GB, free: 3.121 MB / 0.545 GB Notification: Performance of matching and sorting (n=208): time 0.3524/1.022, allocations: 23.84 MB / 0.7204 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.324e-05/1.022, allocations: 259.5 kB / 0.7206 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01059/1.033, allocations: 6.796 MB / 0.7272 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004879/1.033, allocations: 52.3 kB / 0.7273 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002946/1.036, allocations: 4.769 MB / 0.7319 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001006/1.037, allocations: 0.8686 MB / 0.7328 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002177/1.039, allocations: 1.701 MB / 0.7345 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.964e-05/1.039, allocations: 302.1 kB / 0.7347 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004074/1.043, allocations: 2.901 MB / 0.7376 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005317/1.049, allocations: 7.862 MB / 0.7453 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009339/1.058, allocations: 11.51 MB / 0.7565 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.59e-05/1.058, allocations: 54.75 kB / 0.7565 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1066) (initialization): time 0.01729/1.076, allocations: 12 MB / 0.7683 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.624e-05/1.076, allocations: 80 kB / 0.7683 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000116/1.076, allocations: 176 kB / 0.7685 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003806/1.08, allocations: 1.773 MB / 0.7702 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005295/1.085, allocations: 1.927 MB / 0.7721 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/1.096, allocations: 12.41 MB / 0.7842 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006628/1.103, allocations: 456.2 kB / 0.7847 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009046/1.104, allocations: 492 kB / 0.7851 GB, free: 113.7 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.005044/1.109, allocations: 3.052 MB / 0.7881 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001644/1.111, allocations: 0.5743 MB / 0.7887 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008902/1.119, allocations: 4.848 MB / 0.7934 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.39e-05/1.119, allocations: 15.97 kB / 0.7934 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/1.119, allocations: 0 / 0.7934 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002547/1.122, allocations: 0.6458 MB / 0.7941 GB, free: 104.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001969/1.124, allocations: 35.98 kB / 0.7941 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003247/1.127, allocations: 138.9 kB / 0.7942 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004578/1.128, allocations: 141.2 kB / 0.7944 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009286/1.137, allocations: 5.379 MB / 0.7996 GB, free: 99 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007546/1.145, allocations: 6.585 MB / 0.8061 GB, free: 92.39 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001668/1.146, allocations: 1.662 MB / 0.8077 GB, free: 90.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007551/1.154, allocations: 4.314 MB / 0.8119 GB, free: 86.43 MB / 0.5606 GB Notification: Performance of Backend: time 6.81e-07/1.154, allocations: 3.938 kB / 0.8119 GB, free: 86.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01347/1.167, allocations: 5.883 MB / 0.8176 GB, free: 80.59 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02811/1.196, allocations: 14.31 MB / 0.8316 GB, free: 66.21 MB / 0.5606 GB Notification: Performance of Templates: time 0.1182/1.314, allocations: 66.74 MB / 0.8968 GB, free: 15.83 MB / 0.5762 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)