Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008437/0.008437, allocations: 165.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.092/1.092, allocations: 170.8 MB / 186.6 MB, free: 1.133 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001571/0.001571, allocations: 122.5 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.301/0.301, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003782, allocations: 16 kB / 362.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1427, allocations: 48.7 MB / 411.6 MB, free: 4.809 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3313/0.474, allocations: 95.81 MB / 0.4955 GB, free: 8.266 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.4743, allocations: 80.58 kB / 0.4956 GB, free: 8.223 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5666/1.041, allocations: 151.6 MB / 0.6436 GB, free: 70.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.535e-06/1.041, allocations: 0 / 0.6436 GB, free: 70.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004661/1.041, allocations: 147.9 kB / 0.6438 GB, free: 70.3 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2698 * Number of variables: 2698 Notification: Performance of Generate backend data structure: time 0.03237/1.074, allocations: 8.013 MB / 0.6516 GB, free: 67.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/1.074, allocations: 10.91 kB / 0.6516 GB, free: 67.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03766/1.112, allocations: 9.624 MB / 0.661 GB, free: 66.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02535/1.137, allocations: 9.159 MB / 0.67 GB, free: 63.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006989/1.138, allocations: 0.5791 MB / 0.6705 GB, free: 63.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005269/1.143, allocations: 0.7607 MB / 0.6713 GB, free: 63.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0489/1.192, allocations: 18.15 MB / 0.689 GB, free: 52.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006176/1.193, allocations: 104.7 kB / 0.6891 GB, free: 52.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003142/1.196, allocations: 376.1 kB / 0.6895 GB, free: 52.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002341/1.198, allocations: 1.698 MB / 0.6911 GB, free: 51.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0296/1.228, allocations: 14.61 MB / 0.7054 GB, free: 37.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4431/1.671, allocations: 80.76 MB / 0.7842 GB, free: 41.56 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01732/1.688, allocations: 7.214 MB / 0.7913 GB, free: 40.84 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003634/1.689, allocations: 62.28 kB / 0.7913 GB, free: 40.84 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.738e-05/1.689, allocations: 71.22 kB / 0.7914 GB, free: 40.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=307): time 6.963e-06/1.689, allocations: 0 / 0.7914 GB, free: 40.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=340): time 0.08999/1.779, allocations: 31.75 MB / 0.8224 GB, free: 33.29 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/1.779, allocations: 295.9 kB / 0.8227 GB, free: 32.97 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01272/1.792, allocations: 6.59 MB / 0.8291 GB, free: 32.47 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001191/1.793, allocations: 80.39 kB / 0.8292 GB, free: 32.44 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004871/1.798, allocations: 5.355 MB / 0.8344 GB, free: 29.66 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002728/1.801, allocations: 1.281 MB / 0.8357 GB, free: 28.92 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007804/1.801, allocations: 195 kB / 0.8359 GB, free: 28.81 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000551/1.802, allocations: 0.7054 MB / 0.8366 GB, free: 28.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005481/1.807, allocations: 3.688 MB / 0.8402 GB, free: 27.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009029/1.816, allocations: 9.277 MB / 0.8492 GB, free: 18.38 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/1.827, allocations: 5.732 MB / 0.8548 GB, free: 16.42 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002541/1.827, allocations: 57.5 kB / 0.8549 GB, free: 16.42 MB / 458.7 MB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.03381/1.861, allocations: 13.91 MB / 0.8685 GB, free: 11.87 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006481/1.861, allocations: 89.06 kB / 0.8686 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007721/1.862, allocations: 196.8 kB / 0.8687 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004685/1.867, allocations: 1.385 MB / 0.8701 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009459/1.876, allocations: 2.238 MB / 0.8723 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01625/1.893, allocations: 11.5 MB / 0.8835 GB, free: 4.277 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0127/1.906, allocations: 0.5391 MB / 0.884 GB, free: 4.098 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003432/1.909, allocations: 0.5646 MB / 0.8846 GB, free: 4.02 MB / 458.7 MB 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.01367/1.923, allocations: 3.585 MB / 0.8881 GB, free: 2.355 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003779/1.927, allocations: 0.6495 MB / 0.8887 GB, free: 1.949 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02429/1.951, allocations: 7.024 MB / 0.8956 GB, free: 13.36 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.725e-05/1.951, allocations: 40 kB / 0.8956 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.374e-05/1.951, allocations: 12 kB / 0.8956 GB, free: 13.31 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001082/1.951, allocations: 17.16 kB / 0.8957 GB, free: 13.31 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05249/2.004, allocations: 15.47 MB / 0.9108 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.968e-05/2.004, allocations: 0 / 0.9108 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003907/2.008, allocations: 0.583 MB / 0.9113 GB, free: 308 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004278/2.012, allocations: 1.126 MB / 0.9124 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001089/2.013, allocations: 59.7 kB / 0.9125 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01448/2.028, allocations: 10.51 MB / 0.9227 GB, free: 5.957 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/2.028, allocations: 4 kB / 0.9228 GB, free: 5.953 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02274/2.05, allocations: 11.28 MB / 0.9338 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005433/2.056, allocations: 1.208 MB / 0.9349 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003372/2.059, allocations: 59.94 kB / 0.935 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005021/2.064, allocations: 200.9 kB / 0.9352 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001089/2.066, allocations: 193.6 kB / 0.9354 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006529/2.066, allocations: 87.75 kB / 0.9355 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0139/2.08, allocations: 4.7 MB / 0.9401 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.71e-07/2.08, allocations: 0 / 0.9401 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0166/2.097, allocations: 1.795 MB / 0.9418 GB, free: 4.945 MB / 0.4948 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.00158/2.098, allocations: 205.2 kB / 0.942 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.292/2.39, allocations: 9.257 MB / 0.951 GB, free: 134.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/2.39, allocations: 0 / 0.951 GB, free: 134.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007991/2.398, allocations: 3.542 MB / 0.9545 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006776/2.405, allocations: 0.8148 MB / 0.9553 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0424/2.448, allocations: 20.06 MB / 0.9749 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01163/2.459, allocations: 5.613 MB / 0.9804 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01429/2.474, allocations: 3.166 MB / 0.9835 GB, free: 125.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003139/2.477, allocations: 438.2 kB / 0.9839 GB, free: 125.2 MB / 0.4948 GB Notification: Performance of SimCode: time 2.574e-06/2.477, allocations: 0 / 0.9839 GB, free: 125.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.1451/2.622, allocations: 66.33 MB / 1.049 GB, free: 106.7 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1)