Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.WorldForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001104/0.001105, allocations: 177.3 kB / 15.94 MB, free: 228 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.532/1.532, allocations: 205.4 MB / 222.1 MB, free: 5.77 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.3292/0.3292, allocations: 40.01 MB / 310.4 MB, free: 9.621 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.0005906/0.0005907, allocations: 12 kB / 378.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1176, allocations: 57.96 MB / 436.8 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForceAndTorque): time 0.3106/0.4282, allocations: 117.7 MB / 0.5415 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05613/0.4844, allocations: 25.71 MB / 0.5666 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0282/0.5126, allocations: 0.5651 MB / 0.5671 GB, free: 420 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02126/0.5339, allocations: 5.962 MB / 0.5729 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05474/0.5887, allocations: 16.6 MB / 0.5892 GB, free: 11.33 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009182/0.5979, allocations: 1.199 MB / 0.5903 GB, free: 10.13 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.05922/0.6571, allocations: 40.56 MB / 0.6299 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2761/0.9333, allocations: 10.11 MB / 0.6398 GB, free: 42.01 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004638/0.938, allocations: 2.164 MB / 0.6419 GB, free: 42.01 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005643/0.9437, allocations: 3.042 MB / 0.6449 GB, free: 42 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002393/0.9461, allocations: 331.7 kB / 0.6452 GB, free: 42 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004466/0.9506, allocations: 1.16 MB / 0.6463 GB, free: 42 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005649/0.9562, allocations: 3.565 MB / 0.6498 GB, free: 41.99 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004863/0.9611, allocations: 1.823 MB / 0.6516 GB, free: 41.96 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01751/0.9787, allocations: 12.36 MB / 0.6637 GB, free: 39.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.9787, allocations: 0 / 0.6637 GB, free: 39.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.9787, allocations: 0.6562 kB / 0.6637 GB, free: 39.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006389/0.9793, allocations: 0 / 0.6637 GB, free: 39.62 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: 3271 * Number of variables: 3271 Notification: Performance of Generate backend data structure: time 0.02897/1.008, allocations: 9.262 MB / 0.6727 GB, free: 34.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/1.008, allocations: 12.7 kB / 0.6727 GB, free: 34.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06471/1.073, allocations: 11.55 MB / 0.684 GB, free: 29.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01737/1.091, allocations: 6.481 MB / 0.6903 GB, free: 27.9 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004134/1.091, allocations: 0.5315 MB / 0.6909 GB, free: 27.61 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003775/1.095, allocations: 0.7078 MB / 0.6915 GB, free: 27.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03885/1.134, allocations: 22.11 MB / 0.7131 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002845/1.134, allocations: 86.3 kB / 0.7132 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001342/1.135, allocations: 333.6 kB / 0.7135 GB, free: 9.961 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006434/1.142, allocations: 4.204 MB / 0.7176 GB, free: 6.484 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03707/1.179, allocations: 18.82 MB / 0.736 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1146/1.293, allocations: 80.7 MB / 0.8148 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02384/1.317, allocations: 9.241 MB / 0.8239 GB, free: 48 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006505/1.318, allocations: 82.84 kB / 0.8239 GB, free: 4 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001272/1.318, allocations: 83.28 kB / 0.824 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=412): time 1.136e-05/1.318, allocations: 4 kB / 0.824 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of matching and sorting (n=475): time 0.3475/1.666, allocations: 47.64 MB / 0.8705 GB, free: 214.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/1.666, allocations: 284.9 kB / 0.8708 GB, free: 214.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01892/1.685, allocations: 8.72 MB / 0.8793 GB, free: 211.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001478/1.686, allocations: 97.48 kB / 0.8794 GB, free: 211.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.005524/1.692, allocations: 6.098 MB / 0.8854 GB, free: 206.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00284/1.695, allocations: 1.747 MB / 0.8871 GB, free: 205.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001274/1.696, allocations: 223.9 kB / 0.8873 GB, free: 205.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000657/1.697, allocations: 0.7759 MB / 0.8881 GB, free: 204.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008058/1.705, allocations: 5.163 MB / 0.8931 GB, free: 202.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01154/1.716, allocations: 11.18 MB / 0.904 GB, free: 193 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0113/1.728, allocations: 7.449 MB / 0.9113 GB, free: 190.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001573/1.728, allocations: 65.3 kB / 0.9114 GB, free: 190.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1455) (initialization): time 0.03967/1.768, allocations: 18.57 MB / 0.9295 GB, free: 179.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003915/1.768, allocations: 96 kB / 0.9296 GB, free: 179 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005711/1.769, allocations: 212 kB / 0.9298 GB, free: 178.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009538/1.778, allocations: 2.614 MB / 0.9323 GB, free: 176.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01471/1.793, allocations: 2.72 MB / 0.935 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02489/1.818, allocations: 18.56 MB / 0.9531 GB, free: 158 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01045/1.828, allocations: 0.6713 MB / 0.9538 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002246/1.831, allocations: 0.6402 MB / 0.9544 GB, free: 156.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * Number of states: 0 () * Number of discrete variables: 75 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.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],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],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 (1359): * Single equations (assignments): 1353 * 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%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01028/1.841, allocations: 4.19 MB / 0.9585 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002987/1.844, allocations: 0.7598 MB / 0.9592 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02111/1.865, allocations: 11.1 MB / 0.9701 GB, free: 141.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.483e-05/1.865, allocations: 48 kB / 0.9701 GB, free: 141 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.623e-05/1.865, allocations: 12 kB / 0.9701 GB, free: 141 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.645e-05/1.865, allocations: 19.92 kB / 0.9701 GB, free: 141 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04001/1.905, allocations: 23.56 MB / 0.9932 GB, free: 117.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.131e-05/1.905, allocations: 4 kB / 0.9932 GB, free: 117.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004729/1.91, allocations: 0.9208 MB / 0.9941 GB, free: 116.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005198/1.915, allocations: 2.29 MB / 0.9963 GB, free: 114.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008689/1.916, allocations: 95.98 kB / 0.9964 GB, free: 114.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01775/1.934, allocations: 17.46 MB / 1.013 GB, free: 96.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.934, allocations: 5.719 kB / 1.013 GB, free: 96.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02308/1.957, allocations: 18.33 MB / 1.031 GB, free: 77.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005237/1.962, allocations: 1.655 MB / 1.033 GB, free: 76.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002221/1.965, allocations: 80 kB / 1.033 GB, free: 75.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005278/1.97, allocations: 353.1 kB / 1.033 GB, free: 75.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009438/1.971, allocations: 293.4 kB / 1.034 GB, free: 75.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004089/1.971, allocations: 124 kB / 1.034 GB, free: 75.24 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.008818/1.98, allocations: 5.615 MB / 1.039 GB, free: 69.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.22e-07/1.98, allocations: 0 / 1.039 GB, free: 69.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01267/1.993, allocations: 2.323 MB / 1.042 GB, free: 67.32 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (406): * Single equations (assignments): 400 * 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,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001177/1.994, allocations: 255.7 kB / 1.042 GB, free: 67.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01739/2.011, allocations: 12.77 MB / 1.054 GB, free: 54.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/2.011, allocations: 4.047 kB / 1.054 GB, free: 54.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.008284/2.02, allocations: 5.605 MB / 1.06 GB, free: 48.65 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005824/2.026, allocations: 0.9356 MB / 1.061 GB, free: 47.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03486/2.06, allocations: 25.55 MB / 1.086 GB, free: 22.11 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.197/2.257, allocations: 6.588 MB / 1.092 GB, free: 210.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.01018/2.268, allocations: 3.787 MB / 1.096 GB, free: 210.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002646/2.27, allocations: 0.5326 MB / 1.096 GB, free: 210.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.583e-06/2.27, allocations: 0 / 1.096 GB, free: 210.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.1425/2.413, allocations: 90.95 MB / 1.185 GB, free: 159.6 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) Environment - environmentSimulation: