Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.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.Worldtorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque") translateModel(ModelicaTest.MultiBody.Forces.Worldtorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008717/0.0008716, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0009025/0.0009026, allocations: 168.7 kB / 15.95 MB, free: 204 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.579/1.579, allocations: 205.4 MB / 222.1 MB, free: 5.617 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.3749/0.3749, allocations: 40 MB / 310.4 MB, free: 9.676 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.0005051/0.0005052, allocations: 12 kB / 378.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1238, allocations: 57.96 MB / 436.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Worldtorque): time 0.3018/0.4257, allocations: 92.26 MB / 0.5167 GB, free: 8.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04987/0.4756, allocations: 18.5 MB / 0.5347 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02299/0.4987, allocations: 436.3 kB / 0.5351 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02014/0.5188, allocations: 4.862 MB / 0.5399 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04649/0.5654, allocations: 14.11 MB / 0.5537 GB, free: 52 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007622/0.573, allocations: 1.02 MB / 0.5547 GB, free: 15.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.06947/0.6426, allocations: 51.4 MB / 0.6049 GB, free: 11.57 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0125/0.6551, allocations: 7.498 MB / 0.6122 GB, free: 4.043 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005254/0.6604, allocations: 2.187 MB / 0.6143 GB, free: 1.848 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006285/0.6667, allocations: 3.56 MB / 0.6178 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001776/0.6686, allocations: 252 kB / 0.618 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003867/0.6724, allocations: 1.139 MB / 0.6191 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004663/0.6771, allocations: 3.066 MB / 0.6221 GB, free: 9.816 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003366/0.6805, allocations: 1.415 MB / 0.6235 GB, free: 8.391 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3313/1.012, allocations: 9.532 MB / 0.6328 GB, free: 59.81 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/1.012, allocations: 0 / 0.6328 GB, free: 59.81 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.318e-06/1.012, allocations: 2.812 kB / 0.6328 GB, free: 59.81 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0005484/1.012, allocations: 0 / 0.6328 GB, free: 59.81 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: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.02168/1.034, allocations: 6.903 MB / 0.6396 GB, free: 56.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/1.034, allocations: 8.094 kB / 0.6396 GB, free: 56.91 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01589/1.05, allocations: 3.277 MB / 0.6428 GB, free: 56.42 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01479/1.065, allocations: 5.131 MB / 0.6478 GB, free: 55.63 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00046/1.065, allocations: 410.1 kB / 0.6482 GB, free: 55.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002728/1.068, allocations: 0.5285 MB / 0.6487 GB, free: 55.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04108/1.109, allocations: 16.38 MB / 0.6647 GB, free: 52.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006405/1.11, allocations: 78.73 kB / 0.6648 GB, free: 52.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002368/1.112, allocations: 259.5 kB / 0.665 GB, free: 52.63 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006593/1.119, allocations: 3.073 MB / 0.668 GB, free: 52.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03309/1.152, allocations: 13.63 MB / 0.6813 GB, free: 52.53 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08611/1.238, allocations: 62.42 MB / 0.7423 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01457/1.253, allocations: 6.106 MB / 0.7483 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006734/1.26, allocations: 3.414 MB / 0.7516 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005014/1.26, allocations: 51.64 kB / 0.7516 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001149/1.26, allocations: 64.11 kB / 0.7517 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=249): time 1.158e-05/1.26, allocations: 0 / 0.7517 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=267): time 0.0861/1.347, allocations: 26.28 MB / 0.7774 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002016/1.347, allocations: 260.3 kB / 0.7776 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01923/1.366, allocations: 7.003 MB / 0.7844 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001259/1.367, allocations: 69.7 kB / 0.7845 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00722/1.375, allocations: 4.963 MB / 0.7894 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002631/1.377, allocations: 1.033 MB / 0.7904 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001642/1.379, allocations: 180 kB / 0.7905 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.001082/1.38, allocations: 0.6863 MB / 0.7912 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007279/1.387, allocations: 3.387 MB / 0.7945 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01111/1.399, allocations: 8.682 MB / 0.803 GB, free: 8.203 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009761/1.408, allocations: 5.276 MB / 0.8081 GB, free: 3.102 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001607/1.409, allocations: 56 kB / 0.8082 GB, free: 3.047 MB / 0.545 GB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.03483/1.443, allocations: 13.34 MB / 0.8212 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003671/1.444, allocations: 84 kB / 0.8213 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005653/1.444, allocations: 184 kB / 0.8215 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00562/1.45, allocations: 1.823 MB / 0.8233 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008243/1.458, allocations: 2.091 MB / 0.8253 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0163/1.475, allocations: 11.77 MB / 0.8368 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009025/1.484, allocations: 0.5033 MB / 0.8373 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002335/1.486, allocations: 0.5325 MB / 0.8378 GB, free: 5.734 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 846 * Number of states: 0 () * Number of discrete variables: 57 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.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],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],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],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 (1110): * Single equations (assignments): 1104 * 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%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009537/1.496, allocations: 3.324 MB / 0.8411 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002421/1.498, allocations: 0.5784 MB / 0.8416 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3286/1.827, allocations: 5.998 MB / 0.8475 GB, free: 223 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.612e-05/1.827, allocations: 29.78 kB / 0.8475 GB, free: 223 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.974e-05/1.827, allocations: 10.03 kB / 0.8475 GB, free: 223 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.082e-05/1.827, allocations: 13.09 kB / 0.8475 GB, free: 223 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02601/1.853, allocations: 13.36 MB / 0.8606 GB, free: 220.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-05/1.853, allocations: 7.094 kB / 0.8606 GB, free: 220.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002196/1.855, allocations: 456.5 kB / 0.861 GB, free: 220.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003592/1.859, allocations: 1.498 MB / 0.8625 GB, free: 219.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002861/1.859, allocations: 49.97 kB / 0.8625 GB, free: 219.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01194/1.871, allocations: 10.81 MB / 0.8731 GB, free: 213.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.871, allocations: 1.281 kB / 0.8731 GB, free: 213.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0178/1.889, allocations: 9.734 MB / 0.8826 GB, free: 209.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005287/1.894, allocations: 1.079 MB / 0.8836 GB, free: 209.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002084/1.897, allocations: 45.8 kB / 0.8837 GB, free: 209.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003165/1.9, allocations: 196.6 kB / 0.8839 GB, free: 209.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004775/1.9, allocations: 154.5 kB / 0.884 GB, free: 209.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002157/1.9, allocations: 80.33 kB / 0.8841 GB, free: 209.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.01037/1.911, allocations: 4.436 MB / 0.8884 GB, free: 208 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.863e-06/1.911, allocations: 0 / 0.8884 GB, free: 208 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01201/1.923, allocations: 1.672 MB / 0.8901 GB, free: 207.8 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,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 (219): * Single equations (assignments): 213 * 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%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008875/1.924, allocations: 192.8 kB / 0.8902 GB, free: 207.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01364/1.937, allocations: 8.303 MB / 0.8984 GB, free: 204.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/1.937, allocations: 3.75 kB / 0.8984 GB, free: 204.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004203/1.942, allocations: 2.842 MB / 0.9011 GB, free: 203.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00593/1.948, allocations: 0.7572 MB / 0.9019 GB, free: 203.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03141/1.979, allocations: 18.29 MB / 0.9197 GB, free: 190.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007659/1.987, allocations: 5.074 MB / 0.9247 GB, free: 186.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.007595/1.994, allocations: 2.789 MB / 0.9274 GB, free: 183.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001655/1.996, allocations: 395.4 kB / 0.9278 GB, free: 183.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.553e-06/1.996, allocations: 0 / 0.9278 GB, free: 183.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.1023/2.098, allocations: 60.15 MB / 0.9865 GB, free: 123.1 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.pipe 2>&1) Environment - environmentSimulation: