Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.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.Joints.FreeMotion2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001133, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001412/0.001412, allocations: 195 kB / 16.14 MB, free: 6.711 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.624/1.624, allocations: 205.1 MB / 222 MB, free: 4.738 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.4639/0.4639, allocations: 39.93 MB / 309.3 MB, free: 9.355 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.001535/0.001535, allocations: 64.48 kB / 376.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1632, allocations: 56.89 MB / 433.8 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.39/0.5533, allocations: 74.66 MB / 0.4966 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04956/0.6029, allocations: 15 MB / 0.5112 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03071/0.6337, allocations: 329.4 kB / 0.5115 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01223/0.6461, allocations: 4.158 MB / 0.5156 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01148/0.6576, allocations: 2.278 MB / 0.5178 GB, free: 9.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004584/0.6623, allocations: 1.007 MB / 0.5188 GB, free: 9.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02124/0.6835, allocations: 9.55 MB / 0.5281 GB, free: 6.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01103/0.6946, allocations: 5.055 MB / 0.533 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006886/0.7016, allocations: 2.036 MB / 0.535 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008269/0.7099, allocations: 3.361 MB / 0.5383 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002536/0.7125, allocations: 348 kB / 0.5386 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005541/0.7181, allocations: 1.287 MB / 0.5399 GB, free: 12.42 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005476/0.7236, allocations: 2.723 MB / 0.5426 GB, free: 9.688 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007498/0.7311, allocations: 3.103 MB / 0.5456 GB, free: 6.566 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01286/0.744, allocations: 9.754 MB / 0.5551 GB, free: 12.78 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.744, allocations: 0 / 0.5551 GB, free: 12.78 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.744, allocations: 0 / 0.5551 GB, free: 12.78 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004022/0.7445, allocations: 0 / 0.5551 GB, free: 12.78 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: 2030 * Number of variables: 2030 Notification: Performance of Generate backend data structure: time 0.02303/0.7675, allocations: 7.052 MB / 0.562 GB, free: 5.648 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/0.7676, allocations: 8.031 kB / 0.562 GB, free: 5.641 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02503/0.7926, allocations: 3.366 MB / 0.5653 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0132/0.8059, allocations: 4.56 MB / 0.5698 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003637/0.8063, allocations: 341.2 kB / 0.5701 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002522/0.8088, allocations: 459.5 kB / 0.5705 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02695/0.8358, allocations: 13.58 MB / 0.5838 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002316/0.836, allocations: 63.42 kB / 0.5838 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006635/0.8367, allocations: 211.8 kB / 0.584 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004777/0.8415, allocations: 2.652 MB / 0.5866 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02609/0.8676, allocations: 11.83 MB / 0.5982 GB, free: 15.6 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.418/1.286, allocations: 54.32 MB / 0.6512 GB, free: 112.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01339/1.299, allocations: 5.777 MB / 0.6569 GB, free: 111.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004619/1.304, allocations: 3.545 MB / 0.6603 GB, free: 109.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006847/1.304, allocations: 0.6865 MB / 0.661 GB, free: 109 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.302e-05/1.305, allocations: 69.31 kB / 0.6611 GB, free: 108.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=254): time 7.124e-06/1.305, allocations: 0 / 0.6611 GB, free: 108.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=324): time 0.1164/1.421, allocations: 37.23 MB / 0.6974 GB, free: 96.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/1.421, allocations: 261.8 kB / 0.6977 GB, free: 96.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01025/1.431, allocations: 5.318 MB / 0.7029 GB, free: 94.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001416/1.433, allocations: 79.92 kB / 0.7029 GB, free: 94.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003004/1.436, allocations: 3.995 MB / 0.7068 GB, free: 91.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002848/1.439, allocations: 1.21 MB / 0.708 GB, free: 90.12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003097/1.442, allocations: 1.627 MB / 0.7096 GB, free: 89.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.014e-05/1.442, allocations: 305.1 kB / 0.7099 GB, free: 89.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005195/1.447, allocations: 3.692 MB / 0.7135 GB, free: 87.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007919/1.455, allocations: 7.986 MB / 0.7213 GB, free: 78.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01479/1.47, allocations: 12.49 MB / 0.7335 GB, free: 63.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001607/1.47, allocations: 40 kB / 0.7336 GB, free: 63.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.02684/1.497, allocations: 13.98 MB / 0.7472 GB, free: 49.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/1.497, allocations: 68.19 kB / 0.7473 GB, free: 49.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001749/1.497, allocations: 153.6 kB / 0.7474 GB, free: 49.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006139/1.504, allocations: 2.761 MB / 0.7501 GB, free: 46.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006227/1.51, allocations: 1.825 MB / 0.7519 GB, free: 44.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0189/1.529, allocations: 16.61 MB / 0.7681 GB, free: 27.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009098/1.538, allocations: 487 kB / 0.7686 GB, free: 27.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001729/1.54, allocations: 459.9 kB / 0.769 GB, free: 27.06 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * Number of states: 0 () * Number of discrete variables: 42 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (973): * Single equations (assignments): 968 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,24,100.0%), (4,23,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006094/1.546, allocations: 2.836 MB / 0.7718 GB, free: 24.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001782/1.548, allocations: 497.6 kB / 0.7723 GB, free: 23.72 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01336/1.561, allocations: 8.173 MB / 0.7802 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.447e-05/1.561, allocations: 32 kB / 0.7803 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.068e-05/1.561, allocations: 12 kB / 0.7803 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.116e-05/1.561, allocations: 20.53 kB / 0.7803 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0302/1.591, allocations: 17.4 MB / 0.7973 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-05/1.591, allocations: 8 kB / 0.7973 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00255/1.594, allocations: 0.511 MB / 0.7978 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006669/1.601, allocations: 2.491 MB / 0.8002 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005886/1.601, allocations: 63.98 kB / 0.8003 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0203/1.622, allocations: 14.77 MB / 0.8147 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/1.622, allocations: 8.594 kB / 0.8147 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3484/1.97, allocations: 12.76 MB / 0.8272 GB, free: 160.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004229/1.974, allocations: 1.106 MB / 0.8283 GB, free: 160.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001305/1.976, allocations: 60.22 kB / 0.8283 GB, free: 160.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002853/1.979, allocations: 236.3 kB / 0.8285 GB, free: 160.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007149/1.979, allocations: 209.4 kB / 0.8287 GB, free: 160.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002485/1.98, allocations: 89.31 kB / 0.8288 GB, free: 160.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005535/1.985, allocations: 3.368 MB / 0.8321 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/1.985, allocations: 3.281 kB / 0.8321 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008906/1.994, allocations: 1.581 MB / 0.8337 GB, free: 159.9 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * 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 (263): * Single equations (assignments): 258 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,21,100.0%), (3,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007977/1.995, allocations: 207.7 kB / 0.8339 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01585/2.011, allocations: 9.111 MB / 0.8428 GB, free: 156.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-05/2.011, allocations: 6.781 kB / 0.8428 GB, free: 156.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005202/2.016, allocations: 3.568 MB / 0.8463 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00511/2.021, allocations: 0.6385 MB / 0.8469 GB, free: 155.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03622/2.057, allocations: 17.94 MB / 0.8644 GB, free: 145.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01088/2.068, allocations: 4.412 MB / 0.8687 GB, free: 144.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.009435/2.078, allocations: 2.508 MB / 0.8712 GB, free: 144 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001989/2.08, allocations: 362.9 kB / 0.8715 GB, free: 144 MB / 0.5137 GB Notification: Performance of SimCode: time 1.984e-06/2.08, allocations: 5.188 kB / 0.8715 GB, free: 144 MB / 0.5137 GB Notification: Performance of Templates: time 0.1246/2.204, allocations: 67.61 MB / 0.9375 GB, free: 94.08 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1)