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.001022/0.001023, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009908/0.009908, allocations: 169.5 kB / 16.27 MB, free: 6.648 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.754/1.754, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.3818/0.3818, allocations: 40 MB / 310.7 MB, free: 9.559 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.0005815/0.0005815, allocations: 16 kB / 379.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1314, allocations: 57.96 MB / 437.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.3267/0.4582, allocations: 98.58 MB / 0.5234 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05934/0.5176, allocations: 19.19 MB / 0.5422 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03015/0.5478, allocations: 428.2 kB / 0.5426 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003211/0.5511, allocations: 0.6451 MB / 0.5432 GB, free: 5.961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009578/0.5607, allocations: 2.616 MB / 0.5458 GB, free: 4.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003667/0.5644, allocations: 1.039 MB / 0.5468 GB, free: 4.301 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01678/0.5812, allocations: 11.21 MB / 0.5577 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01303/0.5942, allocations: 8.238 MB / 0.5658 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005166/0.5994, allocations: 1.957 MB / 0.5677 GB, free: 1.895 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007308/0.6068, allocations: 3.473 MB / 0.5711 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001891/0.6087, allocations: 244 kB / 0.5713 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004321/0.6131, allocations: 1.318 MB / 0.5726 GB, free: 12.85 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004612/0.6177, allocations: 3.042 MB / 0.5756 GB, free: 9.801 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006139/0.6239, allocations: 3.34 MB / 0.5788 GB, free: 6.434 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01424/0.6381, allocations: 11.06 MB / 0.5896 GB, free: 11.34 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.6382, allocations: 0 / 0.5896 GB, free: 11.34 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.6382, allocations: 0 / 0.5896 GB, free: 11.34 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005136/0.6387, allocations: 0 / 0.5896 GB, free: 11.34 MB / 462.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.02362/0.6624, allocations: 6.609 MB / 0.5961 GB, free: 4.648 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.6624, allocations: 12.03 kB / 0.5961 GB, free: 4.637 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02585/0.6883, allocations: 3.248 MB / 0.5993 GB, free: 1.375 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01764/0.706, allocations: 5.148 MB / 0.6043 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005998/0.7066, allocations: 394.3 kB / 0.6047 GB, free: 11.76 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002673/0.7093, allocations: 0.5195 MB / 0.6052 GB, free: 11.24 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03569/0.7451, allocations: 15.81 MB / 0.6206 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003546/0.7454, allocations: 71.36 kB / 0.6207 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001556/0.747, allocations: 251.8 kB / 0.6209 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005225/0.7523, allocations: 2.93 MB / 0.6238 GB, free: 7.125 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4441/1.196, allocations: 13.19 MB / 0.6366 GB, free: 138.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08378/1.28, allocations: 60.42 MB / 0.6957 GB, free: 97.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01456/1.295, allocations: 6.097 MB / 0.7016 GB, free: 95.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004809/1.3, allocations: 3.374 MB / 0.7049 GB, free: 94.28 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002681/1.3, allocations: 57.53 kB / 0.705 GB, free: 94.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.718e-05/1.3, allocations: 60.94 kB / 0.705 GB, free: 94.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 8.426e-06/1.3, allocations: 3.984 kB / 0.705 GB, free: 94.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=260): time 0.06795/1.368, allocations: 25.84 MB / 0.7303 GB, free: 76.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/1.368, allocations: 269.1 kB / 0.7305 GB, free: 76.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01045/1.379, allocations: 6.973 MB / 0.7373 GB, free: 69.63 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006225/1.379, allocations: 61.7 kB / 0.7374 GB, free: 69.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002543/1.382, allocations: 4.795 MB / 0.7421 GB, free: 64.78 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001283/1.383, allocations: 1.015 MB / 0.7431 GB, free: 63.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001385/1.385, allocations: 0.7558 MB / 0.7438 GB, free: 63 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.162e-05/1.385, allocations: 305.1 kB / 0.7441 GB, free: 62.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005386/1.39, allocations: 3.324 MB / 0.7473 GB, free: 59.37 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00755/1.398, allocations: 8.486 MB / 0.7556 GB, free: 48.33 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01269/1.41, allocations: 12.64 MB / 0.768 GB, free: 33.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001649/1.411, allocations: 52 kB / 0.768 GB, free: 33.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.02357/1.434, allocations: 13.09 MB / 0.7808 GB, free: 19.99 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002076/1.434, allocations: 86.97 kB / 0.7809 GB, free: 19.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002563/1.435, allocations: 182.3 kB / 0.781 GB, free: 19.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00479/1.439, allocations: 1.79 MB / 0.7828 GB, free: 17.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007142/1.447, allocations: 2.105 MB / 0.7849 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/1.459, allocations: 11.56 MB / 0.7961 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008763/1.468, allocations: 0.4913 MB / 0.7966 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002842/1.471, allocations: 0.5117 MB / 0.7971 GB, free: 2.891 MB / 494.1 MB 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 (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,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009528/1.481, allocations: 3.217 MB / 0.8003 GB, free: 15.66 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001968/1.483, allocations: 0.5785 MB / 0.8008 GB, free: 15.07 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/1.496, allocations: 5.804 MB / 0.8065 GB, free: 9.242 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.32e-05/1.496, allocations: 28 kB / 0.8065 GB, free: 9.215 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.785e-05/1.496, allocations: 8 kB / 0.8065 GB, free: 9.207 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.989e-05/1.496, allocations: 20.61 kB / 0.8065 GB, free: 9.188 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.306/1.802, allocations: 12.92 MB / 0.8192 GB, free: 141.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.619e-05/1.802, allocations: 3.094 kB / 0.8192 GB, free: 141.8 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002634/1.805, allocations: 0.5086 MB / 0.8197 GB, free: 141.8 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003971/1.809, allocations: 1.474 MB / 0.8211 GB, free: 141.8 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003661/1.809, allocations: 51.03 kB / 0.8212 GB, free: 141.8 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01201/1.821, allocations: 10.62 MB / 0.8315 GB, free: 137.4 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.821, allocations: 4.812 kB / 0.8315 GB, free: 137.4 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01555/1.837, allocations: 9.439 MB / 0.8408 GB, free: 134.1 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004306/1.841, allocations: 1.066 MB / 0.8418 GB, free: 133.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002139/1.843, allocations: 40.94 kB / 0.8418 GB, free: 133.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003428/1.847, allocations: 181.9 kB / 0.842 GB, free: 133.7 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005368/1.847, allocations: 151.5 kB / 0.8422 GB, free: 133.7 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001858/1.847, allocations: 64.12 kB / 0.8422 GB, free: 133.7 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.007998/1.855, allocations: 4.453 MB / 0.8466 GB, free: 132.2 MB / 0.4982 GB Notification: Performance of sort global known variables: time 7.11e-07/1.855, allocations: 0 / 0.8466 GB, free: 132.2 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.009945/1.865, allocations: 1.626 MB / 0.8482 GB, free: 132.1 MB / 0.4982 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 (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 {(1,10,100.0%), (1,10,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.0007628/1.866, allocations: 185.8 kB / 0.8483 GB, free: 131.9 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01405/1.88, allocations: 8.097 MB / 0.8562 GB, free: 129 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/1.88, allocations: 1.25 kB / 0.8562 GB, free: 129 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.005008/1.885, allocations: 2.739 MB / 0.8589 GB, free: 127.8 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007906/1.893, allocations: 0.7433 MB / 0.8596 GB, free: 127.4 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03758/1.931, allocations: 18.48 MB / 0.8777 GB, free: 118 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009861/1.941, allocations: 4.904 MB / 0.8825 GB, free: 116.3 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.008156/1.949, allocations: 2.737 MB / 0.8851 GB, free: 115.1 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002055/1.951, allocations: 393 kB / 0.8855 GB, free: 114.7 MB / 0.4982 GB Notification: Performance of SimCode: time 2.245e-06/1.951, allocations: 0 / 0.8855 GB, free: 114.7 MB / 0.4982 GB Notification: Performance of Templates: time 0.1087/2.06, allocations: 60.6 MB / 0.9447 GB, free: 55.26 MB / 0.4982 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: