Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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 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.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0008646/0.0008646, allocations: 91.77 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.0009933/0.0009933, 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.748/1.748, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.3684/0.3684, allocations: 39.99 MB / 310.4 MB, free: 9.992 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.0005506/0.0005507, allocations: 20 kB / 378.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1283, allocations: 57.95 MB / 436.8 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.3268/0.4552, allocations: 91.63 MB / 0.516 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05887/0.5141, allocations: 18.43 MB / 0.534 GB, free: 13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03898/0.5532, allocations: 438.3 kB / 0.5345 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03048/0.5837, allocations: 4.839 MB / 0.5392 GB, free: 11.22 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0659/0.6497, allocations: 14.04 MB / 0.5529 GB, free: 1.039 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007397/0.6571, allocations: 1.02 MB / 0.5539 GB, free: 20 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.1138/0.7709, allocations: 51.2 MB / 0.6039 GB, free: 12.76 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02074/0.7917, allocations: 7.412 MB / 0.6111 GB, free: 5.309 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007431/0.7992, allocations: 2.129 MB / 0.6132 GB, free: 3.172 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009877/0.8091, allocations: 3.454 MB / 0.6166 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00203/0.8112, allocations: 244 kB / 0.6168 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005626/0.8168, allocations: 1.127 MB / 0.6179 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006574/0.8234, allocations: 2.98 MB / 0.6208 GB, free: 11.35 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004135/0.8276, allocations: 1.368 MB / 0.6222 GB, free: 9.973 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01927/0.8469, allocations: 9.188 MB / 0.6311 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.377e-06/0.847, allocations: 4 kB / 0.6311 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.847, allocations: 0 / 0.6311 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0004705/0.8475, allocations: 0 / 0.6311 GB, free: 0.7578 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.3478/1.195, allocations: 6.687 MB / 0.6377 GB, free: 69.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/1.195, allocations: 10.44 kB / 0.6377 GB, free: 69.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0149/1.21, allocations: 3.24 MB / 0.6408 GB, free: 69.47 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01121/1.222, allocations: 5.062 MB / 0.6458 GB, free: 68.69 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003309/1.222, allocations: 392 kB / 0.6462 GB, free: 68.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001668/1.224, allocations: 0.5152 MB / 0.6467 GB, free: 68.67 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03589/1.26, allocations: 15.77 MB / 0.6621 GB, free: 65.78 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003797/1.26, allocations: 73.86 kB / 0.6621 GB, free: 65.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001158/1.261, allocations: 249.5 kB / 0.6624 GB, free: 65.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005693/1.267, allocations: 2.931 MB / 0.6652 GB, free: 65.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02872/1.296, allocations: 13.13 MB / 0.6781 GB, free: 62.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07172/1.367, allocations: 60.38 MB / 0.737 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01187/1.379, allocations: 6.092 MB / 0.743 GB, free: 7.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004014/1.383, allocations: 3.368 MB / 0.7463 GB, free: 5.488 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/1.383, allocations: 48.61 kB / 0.7463 GB, free: 5.457 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/1.384, allocations: 60.84 kB / 0.7464 GB, free: 5.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 4.328e-06/1.384, allocations: 0 / 0.7464 GB, free: 5.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=260): time 0.06307/1.447, allocations: 25.82 MB / 0.7716 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/1.447, allocations: 264.6 kB / 0.7718 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01086/1.458, allocations: 6.935 MB / 0.7786 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007309/1.458, allocations: 65.7 kB / 0.7787 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004187/1.463, allocations: 4.799 MB / 0.7834 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001668/1.464, allocations: 1.009 MB / 0.7843 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005574/1.465, allocations: 176 kB / 0.7845 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0005728/1.465, allocations: 0.678 MB / 0.7852 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005764/1.471, allocations: 3.281 MB / 0.7884 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01171/1.483, allocations: 8.455 MB / 0.7966 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009708/1.493, allocations: 5.131 MB / 0.8016 GB, free: 12.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001762/1.493, allocations: 56.94 kB / 0.8017 GB, free: 12.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.02972/1.523, allocations: 13.01 MB / 0.8144 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000148/1.523, allocations: 85 kB / 0.8145 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003026/1.523, allocations: 184 kB / 0.8147 GB, free: 464 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004751/1.528, allocations: 1.809 MB / 0.8164 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008007/1.536, allocations: 2.114 MB / 0.8185 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01521/1.551, allocations: 11.54 MB / 0.8298 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008107/1.559, allocations: 0.4891 MB / 0.8302 GB, free: 400 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002024/1.561, allocations: 0.5156 MB / 0.8307 GB, free: 15.87 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 57 (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 (1087): * Single equations (assignments): 1081 * 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%) 12,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008373/1.57, allocations: 3.212 MB / 0.8339 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001586/1.571, allocations: 0.5785 MB / 0.8344 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/1.583, allocations: 5.805 MB / 0.8401 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-05/1.583, allocations: 28 kB / 0.8401 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-05/1.583, allocations: 8 kB / 0.8401 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.528e-05/1.583, allocations: 11.95 kB / 0.8402 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3015/1.885, allocations: 12.9 MB / 0.8528 GB, free: 219.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/1.885, allocations: 2.438 kB / 0.8528 GB, free: 219.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002277/1.887, allocations: 0.512 MB / 0.8533 GB, free: 219.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003715/1.891, allocations: 1.474 MB / 0.8547 GB, free: 219.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000311/1.891, allocations: 47.12 kB / 0.8547 GB, free: 219.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01063/1.902, allocations: 10.61 MB / 0.8651 GB, free: 214 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.902, allocations: 0 / 0.8651 GB, free: 214 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01811/1.92, allocations: 9.425 MB / 0.8743 GB, free: 210.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005194/1.925, allocations: 1.06 MB / 0.8753 GB, free: 210.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002405/1.927, allocations: 43.38 kB / 0.8754 GB, free: 210.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005924/1.933, allocations: 177.1 kB / 0.8756 GB, free: 210.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008463/1.934, allocations: 155.4 kB / 0.8757 GB, free: 210.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003287/1.935, allocations: 68.36 kB / 0.8758 GB, free: 210.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.01449/1.949, allocations: 4.41 MB / 0.8801 GB, free: 208.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.72e-07/1.949, allocations: 0 / 0.8801 GB, free: 208.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01649/1.966, allocations: 1.629 MB / 0.8817 GB, free: 208.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (215): * Single equations (assignments): 209 * 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%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001343/1.967, allocations: 181.3 kB / 0.8818 GB, free: 208.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02552/1.993, allocations: 8.047 MB / 0.8897 GB, free: 205.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/1.993, allocations: 6.531 kB / 0.8897 GB, free: 205.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.009231/2.002, allocations: 2.724 MB / 0.8924 GB, free: 204.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008876/2.011, allocations: 0.756 MB / 0.8931 GB, free: 204 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03423/2.045, allocations: 17.69 MB / 0.9104 GB, free: 195.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008917/2.054, allocations: 4.897 MB / 0.9152 GB, free: 193.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00848/2.063, allocations: 2.751 MB / 0.9178 GB, free: 192.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001556/2.064, allocations: 386.7 kB / 0.9182 GB, free: 192.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.513e-06/2.064, allocations: 0 / 0.9182 GB, free: 192.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.09575/2.16, allocations: 59.33 MB / 0.9762 GB, free: 134.9 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) Environment - environmentSimulation: