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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01027/0.01027, allocations: 109.7 kB / 15.74 MB, free: 5.984 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.001921/0.001921, allocations: 193.3 kB / 16.67 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.1 MB / 222.6 MB, free: 4.395 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.3073/0.3073, allocations: 38 MB / 307.9 MB, free: 10.36 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.0017/0.0017, allocations: 63.91 kB / 433 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2917, allocations: 56.46 MB / 489.5 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.01596/0.3077, allocations: 18.83 MB / 0.4964 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01282/0.3206, allocations: 5.629 MB / 0.5019 GB, free: 2.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005045/0.3257, allocations: 125.2 kB / 0.502 GB, free: 2.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01074/0.3365, allocations: 5.618 MB / 0.5075 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.3466, allocations: 2.999 MB / 0.5105 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003306/0.3499, allocations: 1.189 MB / 0.5116 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01412/0.3641, allocations: 8.305 MB / 0.5197 GB, free: 7.789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009299/0.3734, allocations: 7.222 MB / 0.5268 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006004/0.3794, allocations: 2.959 MB / 0.5297 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006827/0.3863, allocations: 4.136 MB / 0.5337 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002295/0.3886, allocations: 0.6602 MB / 0.5344 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004972/0.3936, allocations: 1.518 MB / 0.5358 GB, free: 8.117 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006175/0.3998, allocations: 3.811 MB / 0.5396 GB, free: 4.297 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00773/0.4076, allocations: 4.238 MB / 0.5437 GB, free: 36 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01657/0.4242, allocations: 13.22 MB / 0.5566 GB, free: 2.766 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.4242, allocations: 0 / 0.5566 GB, free: 2.766 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4242, allocations: 0 / 0.5566 GB, free: 2.766 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004478/0.4247, allocations: 0 / 0.5566 GB, free: 2.766 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2705 * Number of variables: 2705 Notification: Performance of Generate backend data structure: time 0.01915/0.4438, allocations: 8.939 MB / 0.5653 GB, free: 9.734 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.4439, allocations: 11.89 kB / 0.5653 GB, free: 9.723 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01593/0.4598, allocations: 3.301 MB / 0.5686 GB, free: 6.406 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01301/0.4729, allocations: 5.533 MB / 0.574 GB, free: 0.793 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003621/0.4733, allocations: 447.4 kB / 0.5744 GB, free: 364 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001904/0.4752, allocations: 0.5816 MB / 0.575 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0316/0.5068, allocations: 17.78 MB / 0.5923 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002323/0.5071, allocations: 79.31 kB / 0.5924 GB, free: 12.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000874/0.5079, allocations: 275.8 kB / 0.5927 GB, free: 12.48 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005976/0.5139, allocations: 3.428 MB / 0.596 GB, free: 9.047 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02913/0.5431, allocations: 14.9 MB / 0.6106 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5842/1.127, allocations: 68.67 MB / 0.6776 GB, free: 75.87 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01838/1.146, allocations: 7.375 MB / 0.6848 GB, free: 73.26 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007435/1.153, allocations: 4.431 MB / 0.6892 GB, free: 71.41 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003411/1.154, allocations: 71.42 kB / 0.6892 GB, free: 71.39 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.032e-05/1.154, allocations: 65.03 kB / 0.6893 GB, free: 71.33 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=307): time 7.054e-06/1.154, allocations: 0 / 0.6893 GB, free: 71.33 MB / 0.4982 GB Notification: Performance of matching and sorting (n=340): time 0.0849/1.239, allocations: 35.32 MB / 0.7238 GB, free: 51.52 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/1.239, allocations: 295.5 kB / 0.7241 GB, free: 51.17 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00925/1.248, allocations: 7.471 MB / 0.7314 GB, free: 43.72 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001098/1.249, allocations: 77.7 kB / 0.7314 GB, free: 43.64 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002974/1.252, allocations: 5.278 MB / 0.7366 GB, free: 38.36 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001793/1.254, allocations: 1.288 MB / 0.7379 GB, free: 37.09 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002552/1.256, allocations: 2.038 MB / 0.7398 GB, free: 35.04 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 5.161e-05/1.257, allocations: 309.1 kB / 0.7401 GB, free: 34.73 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004877/1.261, allocations: 4.158 MB / 0.7442 GB, free: 30.57 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007443/1.269, allocations: 9.798 MB / 0.7538 GB, free: 18.02 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01453/1.283, allocations: 14.95 MB / 0.7684 GB, free: 320 kB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001506/1.284, allocations: 56 kB / 0.7684 GB, free: 264 kB / 0.4982 GB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.03399/1.318, allocations: 15.77 MB / 0.7838 GB, free: 472 kB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003087/1.318, allocations: 88 kB / 0.7839 GB, free: 384 kB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004151/1.318, allocations: 196 kB / 0.7841 GB, free: 188 kB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006718/1.325, allocations: 2.315 MB / 0.7863 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009288/1.334, allocations: 2.367 MB / 0.7887 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02124/1.356, allocations: 15.57 MB / 0.8039 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01134/1.367, allocations: 0.5697 MB / 0.8044 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002418/1.37, allocations: 0.5742 MB / 0.805 GB, free: 10.38 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 896 * Number of states: 0 () * Number of discrete variables: 63 (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.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 (1226): * Single equations (assignments): 1220 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,23,100.0%), (1,14,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009502/1.379, allocations: 3.597 MB / 0.8085 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002345/1.381, allocations: 0.6324 MB / 0.8091 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01752/1.399, allocations: 8.131 MB / 0.817 GB, free: 13.96 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.301e-05/1.399, allocations: 39.94 kB / 0.8171 GB, free: 13.92 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.957e-05/1.399, allocations: 12 kB / 0.8171 GB, free: 13.91 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-05/1.399, allocations: 19.94 kB / 0.8171 GB, free: 13.89 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04122/1.441, allocations: 17.03 MB / 0.8337 GB, free: 12.86 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-05/1.441, allocations: 4 kB / 0.8338 GB, free: 12.86 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003584/1.444, allocations: 0.6318 MB / 0.8344 GB, free: 12.22 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005906/1.45, allocations: 2.004 MB / 0.8363 GB, free: 10.21 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008245/1.451, allocations: 59.98 kB / 0.8364 GB, free: 10.15 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0196/1.471, allocations: 14.64 MB / 0.8507 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.471, allocations: 0 / 0.8507 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3131/1.784, allocations: 12.96 MB / 0.8633 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005477/1.789, allocations: 1.269 MB / 0.8646 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002527/1.792, allocations: 54.27 kB / 0.8646 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004899/1.797, allocations: 234 kB / 0.8649 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001087/1.798, allocations: 194.7 kB / 0.865 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003716/1.798, allocations: 93.48 kB / 0.8651 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01383/1.812, allocations: 4.753 MB / 0.8698 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.42e-07/1.812, allocations: 0 / 0.8698 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01469/1.827, allocations: 1.903 MB / 0.8716 GB, free: 195.1 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(4,18,75.0%), (1,11,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001197/1.828, allocations: 212 kB / 0.8718 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02029/1.848, allocations: 10.18 MB / 0.8818 GB, free: 191.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/1.848, allocations: 0 / 0.8818 GB, free: 191.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00723/1.856, allocations: 3.894 MB / 0.8856 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00716/1.863, allocations: 0.863 MB / 0.8864 GB, free: 189.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04028/1.903, allocations: 17.71 MB / 0.9037 GB, free: 182 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01113/1.914, allocations: 5.46 MB / 0.909 GB, free: 180.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009454/1.924, allocations: 3.166 MB / 0.9121 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00256/1.926, allocations: 446.9 kB / 0.9126 GB, free: 179.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.373e-06/1.926, allocations: 0 / 0.9126 GB, free: 179.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.13/2.057, allocations: 71.13 MB / 0.982 GB, free: 110.7 MB / 0.5919 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)