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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.009092/0.009092, allocations: 174.6 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.386/1.386, allocations: 194.5 MB / 210.3 MB, free: 8.598 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00163/0.00163, allocations: 124.6 kB / 255.6 MB, free: 11.2 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1766/0.1766, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.000395, allocations: 12.06 kB / 406.1 MB, free: 52.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1198, allocations: 54.87 MB / 461 MB, free: 3.441 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4595/0.5794, allocations: 102.6 MB / 0.5504 GB, free: 21.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/0.5798, allocations: 81.52 kB / 0.5505 GB, free: 21.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4603/1.04, allocations: 151.8 MB / 0.6988 GB, free: 7.152 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.338e-06/1.04, allocations: 0 / 0.6988 GB, free: 7.152 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005654/1.041, allocations: 152 kB / 0.6989 GB, free: 7.004 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2702 * Number of variables: 2702 Notification: Performance of Generate backend data structure: time 0.03477/1.076, allocations: 8.014 MB / 0.7067 GB, free: 14.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.695e-05/1.076, allocations: 8.031 kB / 0.7067 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0403/1.116, allocations: 9.623 MB / 0.7161 GB, free: 5.246 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3784/1.494, allocations: 9.16 MB / 0.7251 GB, free: 77.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008892/1.495, allocations: 0.5753 MB / 0.7257 GB, free: 77.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004869/1.5, allocations: 0.7716 MB / 0.7264 GB, free: 77.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05273/1.553, allocations: 18.17 MB / 0.7442 GB, free: 72.99 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005645/1.554, allocations: 106.1 kB / 0.7443 GB, free: 72.99 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003091/1.557, allocations: 368.1 kB / 0.7446 GB, free: 72.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002389/1.559, allocations: 1.699 MB / 0.7463 GB, free: 72.97 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03077/1.59, allocations: 14.61 MB / 0.7605 GB, free: 72.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09624/1.686, allocations: 80.81 MB / 0.8395 GB, free: 36.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0164/1.703, allocations: 7.23 MB / 0.8465 GB, free: 33.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002975/1.703, allocations: 57.42 kB / 0.8466 GB, free: 33.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.842e-05/1.703, allocations: 69.89 kB / 0.8466 GB, free: 33.49 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=307): time 7.344e-06/1.703, allocations: 7.375 kB / 0.8466 GB, free: 33.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=340): time 0.07766/1.781, allocations: 31.75 MB / 0.8776 GB, free: 16.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/1.781, allocations: 294 kB / 0.8779 GB, free: 16.03 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0104/1.791, allocations: 6.582 MB / 0.8844 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009654/1.792, allocations: 77.7 kB / 0.8844 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00335/1.796, allocations: 5.36 MB / 0.8897 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002244/1.798, allocations: 1.284 MB / 0.8909 GB, free: 4.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006082/1.799, allocations: 192 kB / 0.8911 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006057/1.799, allocations: 0.7065 MB / 0.8918 GB, free: 3.734 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006106/1.805, allocations: 3.687 MB / 0.8954 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02481/1.83, allocations: 10.28 MB / 0.9054 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01022/1.84, allocations: 5.727 MB / 0.911 GB, free: 2.922 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001428/1.84, allocations: 56 kB / 0.9111 GB, free: 2.867 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.4155/2.256, allocations: 13.96 MB / 0.9247 GB, free: 95.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002052/2.256, allocations: 89.47 kB / 0.9248 GB, free: 95.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005318/2.257, allocations: 199 kB / 0.925 GB, free: 95.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004796/2.262, allocations: 1.381 MB / 0.9263 GB, free: 95.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01019/2.272, allocations: 2.241 MB / 0.9285 GB, free: 95.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/2.285, allocations: 11.5 MB / 0.9397 GB, free: 91.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0111/2.296, allocations: 0.534 MB / 0.9403 GB, free: 91.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003365/2.299, allocations: 0.5679 MB / 0.9408 GB, free: 91.17 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 899 * Number of states: 0 () * Number of discrete variables: 60 (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.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 (1172): * Single equations (assignments): 1166 * 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.01237/2.312, allocations: 3.579 MB / 0.9443 GB, free: 90.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003733/2.315, allocations: 0.6491 MB / 0.9449 GB, free: 90.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01569/2.331, allocations: 6.676 MB / 0.9515 GB, free: 90.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.972e-05/2.331, allocations: 35.17 kB / 0.9515 GB, free: 90.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-05/2.331, allocations: 11.5 kB / 0.9515 GB, free: 90.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.343e-05/2.331, allocations: 18.89 kB / 0.9515 GB, free: 90.61 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03802/2.369, allocations: 15.47 MB / 0.9666 GB, free: 89.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-05/2.369, allocations: 8.219 kB / 0.9666 GB, free: 89.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003039/2.372, allocations: 0.5815 MB / 0.9672 GB, free: 89.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002855/2.375, allocations: 1.057 MB / 0.9682 GB, free: 89.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005718/2.376, allocations: 59.17 kB / 0.9683 GB, free: 89.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01336/2.389, allocations: 10.52 MB / 0.9786 GB, free: 85.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/2.389, allocations: 3.906 kB / 0.9786 GB, free: 85.67 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02019/2.41, allocations: 11.26 MB / 0.9896 GB, free: 81.15 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005808/2.415, allocations: 1.206 MB / 0.9908 GB, free: 80.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00239/2.418, allocations: 55.59 kB / 0.9908 GB, free: 80.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00463/2.423, allocations: 205.8 kB / 0.991 GB, free: 80.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000767/2.423, allocations: 198.1 kB / 0.9912 GB, free: 80.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003991/2.424, allocations: 87.03 kB / 0.9913 GB, free: 80.34 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01312/2.437, allocations: 4.691 MB / 0.9959 GB, free: 78.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.61e-07/2.437, allocations: 0 / 0.9959 GB, free: 78.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01498/2.452, allocations: 1.788 MB / 0.9976 GB, free: 78.61 MB / 0.5105 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.001685/2.454, allocations: 210.8 kB / 0.9978 GB, free: 78.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01893/2.473, allocations: 9.259 MB / 1.007 GB, free: 75.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/2.473, allocations: 0 / 1.007 GB, free: 75.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006772/2.479, allocations: 3.535 MB / 1.01 GB, free: 73.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007466/2.487, allocations: 0.8151 MB / 1.011 GB, free: 73.18 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04915/2.536, allocations: 20.08 MB / 1.031 GB, free: 60.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0108/2.547, allocations: 5.606 MB / 1.036 GB, free: 56.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01047/2.558, allocations: 3.166 MB / 1.039 GB, free: 54.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00258/2.56, allocations: 445 kB / 1.04 GB, free: 54.24 MB / 0.5105 GB Notification: Performance of SimCode: time 1.924e-06/2.56, allocations: 4 kB / 1.04 GB, free: 54.23 MB / 0.5105 GB Notification: Performance of Templates: time 0.4535/3.014, allocations: 66.32 MB / 1.104 GB, free: 89.95 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.makefile (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)