Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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 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.1_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.000931/0.0009312, allocations: 91.84 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.0009178/0.0009178, 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.488/1.488, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3501/0.3501, allocations: 38.03 MB / 308.4 MB, free: 10.25 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.1. 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.0005321/0.0005322, allocations: 24 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1253, allocations: 57.52 MB / 434 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.2898/0.4151, allocations: 91.62 MB / 0.5133 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04652/0.4617, allocations: 18.44 MB / 0.5313 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02035/0.4821, allocations: 434.5 kB / 0.5317 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01918/0.5013, allocations: 4.839 MB / 0.5364 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04231/0.5437, allocations: 14.05 MB / 0.5501 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007085/0.5508, allocations: 1.016 MB / 0.5511 GB, free: 4.324 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.06346/0.6143, allocations: 51.2 MB / 0.6011 GB, free: 1.066 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01154/0.6259, allocations: 7.413 MB / 0.6083 GB, free: 9.605 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006075/0.632, allocations: 2.129 MB / 0.6104 GB, free: 7.469 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005309/0.6373, allocations: 3.451 MB / 0.6138 GB, free: 4.008 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009483/0.6383, allocations: 244 kB / 0.614 GB, free: 3.77 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002667/0.641, allocations: 1.124 MB / 0.6151 GB, free: 2.645 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003042/0.644, allocations: 2.996 MB / 0.6181 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001895/0.646, allocations: 1.365 MB / 0.6194 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009491/0.6555, allocations: 9.188 MB / 0.6284 GB, free: 5.055 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.6555, allocations: 0 / 0.6284 GB, free: 5.055 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6555, allocations: 3.938 kB / 0.6284 GB, free: 5.051 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000382/0.6559, allocations: 0 / 0.6284 GB, free: 5.051 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.2245/0.8804, allocations: 6.695 MB / 0.6349 GB, free: 151.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.8805, allocations: 10.16 kB / 0.6349 GB, free: 151.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01375/0.8942, allocations: 3.244 MB / 0.6381 GB, free: 150.8 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/0.9049, allocations: 5.049 MB / 0.643 GB, free: 149.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003207/0.9053, allocations: 392 kB / 0.6434 GB, free: 149.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001329/0.9066, allocations: 0.5186 MB / 0.6439 GB, free: 149.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02315/0.9298, allocations: 15.78 MB / 0.6593 GB, free: 142.6 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001918/0.93, allocations: 76.91 kB / 0.6594 GB, free: 142.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000573/0.9306, allocations: 248.8 kB / 0.6596 GB, free: 142.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004285/0.9349, allocations: 2.927 MB / 0.6625 GB, free: 141.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02758/0.9625, allocations: 13.12 MB / 0.6753 GB, free: 137.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06589/1.028, allocations: 60.39 MB / 0.7343 GB, free: 81.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01215/1.041, allocations: 6.079 MB / 0.7402 GB, free: 75.28 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003675/1.044, allocations: 3.372 MB / 0.7435 GB, free: 71.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/1.045, allocations: 44.86 kB / 0.7435 GB, free: 71.87 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/1.045, allocations: 64.12 kB / 0.7436 GB, free: 71.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 5.651e-06/1.045, allocations: 0.8438 kB / 0.7436 GB, free: 71.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=260): time 0.05399/1.099, allocations: 25.82 MB / 0.7688 GB, free: 45.76 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.818e-05/1.099, allocations: 261.2 kB / 0.7691 GB, free: 45.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008868/1.108, allocations: 6.942 MB / 0.7758 GB, free: 38.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009063/1.109, allocations: 66.88 kB / 0.7759 GB, free: 38.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002857/1.111, allocations: 4.796 MB / 0.7806 GB, free: 33.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001454/1.113, allocations: 1.008 MB / 0.7816 GB, free: 32.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004013/1.113, allocations: 179.3 kB / 0.7817 GB, free: 32.49 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003467/1.114, allocations: 0.678 MB / 0.7824 GB, free: 31.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00407/1.118, allocations: 3.281 MB / 0.7856 GB, free: 28.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005859/1.124, allocations: 8.455 MB / 0.7939 GB, free: 17.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006383/1.13, allocations: 5.136 MB / 0.7989 GB, free: 12.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001037/1.13, allocations: 52 kB / 0.7989 GB, free: 12.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.02338/1.154, allocations: 13.02 MB / 0.8116 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002563/1.154, allocations: 84 kB / 0.8117 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003405/1.154, allocations: 185.2 kB / 0.8119 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004724/1.159, allocations: 1.804 MB / 0.8136 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007143/1.166, allocations: 2.113 MB / 0.8157 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.241/1.407, allocations: 11.53 MB / 0.827 GB, free: 138.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008019/1.415, allocations: 0.4967 MB / 0.8275 GB, free: 138.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001511/1.417, allocations: 0.5151 MB / 0.828 GB, free: 138.6 MB / 0.4981 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.005839/1.423, allocations: 3.213 MB / 0.8311 GB, free: 138.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/1.424, allocations: 0.5717 MB / 0.8317 GB, free: 138.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0091/1.433, allocations: 5.802 MB / 0.8373 GB, free: 138.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.558e-05/1.433, allocations: 25.72 kB / 0.8373 GB, free: 138.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.721e-05/1.433, allocations: 8.781 kB / 0.8374 GB, free: 138.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.702e-05/1.433, allocations: 12.66 kB / 0.8374 GB, free: 138.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0199/1.453, allocations: 12.92 MB / 0.85 GB, free: 133.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/1.453, allocations: 0 / 0.85 GB, free: 133.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002134/1.455, allocations: 0.5055 MB / 0.8505 GB, free: 133.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00321/1.458, allocations: 1.478 MB / 0.8519 GB, free: 133.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002288/1.459, allocations: 47.53 kB / 0.852 GB, free: 133.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01028/1.469, allocations: 10.61 MB / 0.8623 GB, free: 127.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/1.469, allocations: 1.375 kB / 0.8623 GB, free: 127.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01396/1.483, allocations: 9.427 MB / 0.8715 GB, free: 123.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002843/1.486, allocations: 1.066 MB / 0.8726 GB, free: 123.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009338/1.487, allocations: 42.91 kB / 0.8726 GB, free: 123.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002104/1.489, allocations: 180.1 kB / 0.8728 GB, free: 123.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003696/1.489, allocations: 152.6 kB / 0.8729 GB, free: 123.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001756/1.489, allocations: 71.25 kB / 0.873 GB, free: 123.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.007235/1.497, allocations: 4.409 MB / 0.8773 GB, free: 121.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.497, allocations: 0 / 0.8773 GB, free: 121.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008599/1.505, allocations: 1.624 MB / 0.8789 GB, free: 121.6 MB / 0.4981 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.0004955/1.506, allocations: 185 kB / 0.8791 GB, free: 121.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01117/1.517, allocations: 8.052 MB / 0.8869 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/1.517, allocations: 3.562 kB / 0.8869 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003567/1.52, allocations: 2.728 MB / 0.8896 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004164/1.525, allocations: 0.7467 MB / 0.8903 GB, free: 117 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0214/1.546, allocations: 17.7 MB / 0.9076 GB, free: 104.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004524/1.551, allocations: 4.9 MB / 0.9124 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00581/1.556, allocations: 2.746 MB / 0.9151 GB, free: 98.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009794/1.557, allocations: 387.4 kB / 0.9154 GB, free: 98.18 MB / 0.4981 GB Notification: Performance of SimCode: time 8.12e-07/1.557, allocations: 4 kB / 0.9155 GB, free: 98.17 MB / 0.4981 GB Notification: Performance of Templates: time 0.08979/1.647, allocations: 59.32 MB / 0.9734 GB, free: 38.92 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) Environment - environmentSimulation: