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.001334/0.001335, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.01068/0.01068, allocations: 171.9 kB / 16.26 MB, free: 6.613 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.765/1.765, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.4108/0.4108, allocations: 40 MB / 310.7 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.0008621/0.0008624, allocations: 16 kB / 379.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1808, allocations: 57.96 MB / 437.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.3667/0.5476, allocations: 72.86 MB / 0.4983 GB, free: 6.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04687/0.5945, allocations: 14.93 MB / 0.5129 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0276/0.6222, allocations: 325.1 kB / 0.5132 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004184/0.6264, allocations: 0.5766 MB / 0.5138 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0119/0.6383, allocations: 2.283 MB / 0.516 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004281/0.6426, allocations: 0.9931 MB / 0.517 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01998/0.6626, allocations: 9.557 MB / 0.5263 GB, free: 7.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01634/0.679, allocations: 7.115 MB / 0.5332 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005664/0.6848, allocations: 1.705 MB / 0.5349 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006018/0.6908, allocations: 2.952 MB / 0.5378 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001714/0.6926, allocations: 208 kB / 0.538 GB, free: 468 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003957/0.6965, allocations: 1.143 MB / 0.5391 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003955/0.7005, allocations: 2.532 MB / 0.5416 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005377/0.7059, allocations: 2.878 MB / 0.5444 GB, free: 9.871 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01544/0.7214, allocations: 9.467 MB / 0.5536 GB, free: 380 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.7215, allocations: 0 / 0.5536 GB, free: 380 kB / 414.1 MB Notification: Performance of FrontEnd: time 7.694e-06/0.7215, allocations: 0 / 0.5536 GB, free: 380 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005962/0.7221, allocations: 3.938 kB / 0.5536 GB, free: 376 kB / 414.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.01745/0.7396, allocations: 5.797 MB / 0.5593 GB, free: 10.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.7397, allocations: 11.97 kB / 0.5593 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02833/0.768, allocations: 3.449 MB / 0.5627 GB, free: 7.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01236/0.7804, allocations: 4.56 MB / 0.5671 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003681/0.7808, allocations: 333 kB / 0.5675 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001858/0.7827, allocations: 475.4 kB / 0.5679 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03048/0.8132, allocations: 13.58 MB / 0.5812 GB, free: 3.121 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003105/0.8136, allocations: 71.36 kB / 0.5812 GB, free: 3.051 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001099/0.8147, allocations: 219.8 kB / 0.5814 GB, free: 2.836 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004905/0.8196, allocations: 2.648 MB / 0.584 GB, free: 192 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02855/0.8481, allocations: 11.85 MB / 0.5956 GB, free: 4.32 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4211/1.269, allocations: 54.36 MB / 0.6487 GB, free: 108.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01271/1.282, allocations: 5.778 MB / 0.6543 GB, free: 107.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004053/1.286, allocations: 3.554 MB / 0.6578 GB, free: 107.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005883/1.287, allocations: 0.6909 MB / 0.6585 GB, free: 107.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.715e-05/1.287, allocations: 59.11 kB / 0.6585 GB, free: 107.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=254): time 6.813e-06/1.287, allocations: 0 / 0.6585 GB, free: 107.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=324): time 0.1153/1.402, allocations: 37.28 MB / 0.6949 GB, free: 94.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/1.402, allocations: 267.6 kB / 0.6952 GB, free: 94.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00948/1.412, allocations: 5.33 MB / 0.7004 GB, free: 92.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001025/1.413, allocations: 72.33 kB / 0.7005 GB, free: 92.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002819/1.416, allocations: 3.99 MB / 0.7044 GB, free: 89.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001926/1.418, allocations: 1.209 MB / 0.7055 GB, free: 88.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000918/1.419, allocations: 0.6845 MB / 0.7062 GB, free: 88.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.894e-05/1.419, allocations: 304.7 kB / 0.7065 GB, free: 87.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004958/1.424, allocations: 3.694 MB / 0.7101 GB, free: 86.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007152/1.431, allocations: 7.978 MB / 0.7179 GB, free: 78.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01422/1.445, allocations: 12.5 MB / 0.7301 GB, free: 64.42 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001757/1.445, allocations: 44 kB / 0.7301 GB, free: 64.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.02665/1.472, allocations: 13.97 MB / 0.7438 GB, free: 50.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003335/1.472, allocations: 68.66 kB / 0.7438 GB, free: 50.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003729/1.473, allocations: 148.1 kB / 0.744 GB, free: 50.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007325/1.48, allocations: 2.762 MB / 0.7467 GB, free: 47.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006932/1.487, allocations: 1.829 MB / 0.7485 GB, free: 45.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02128/1.508, allocations: 16.62 MB / 0.7647 GB, free: 28.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01061/1.519, allocations: 492 kB / 0.7652 GB, free: 28.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00306/1.522, allocations: 464.2 kB / 0.7656 GB, free: 27.74 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.00938/1.532, allocations: 2.828 MB / 0.7684 GB, free: 24.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00238/1.534, allocations: 497.6 kB / 0.7689 GB, free: 24.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01733/1.551, allocations: 8.177 MB / 0.7768 GB, free: 16.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.872e-05/1.552, allocations: 40 kB / 0.7769 GB, free: 16.12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-05/1.552, allocations: 8 kB / 0.7769 GB, free: 16.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.852e-05/1.552, allocations: 19.94 kB / 0.7769 GB, free: 16.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03811/1.59, allocations: 17.4 MB / 0.7939 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.77e-05/1.59, allocations: 12.06 kB / 0.7939 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002682/1.593, allocations: 0.5105 MB / 0.7944 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00681/1.599, allocations: 2.487 MB / 0.7968 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004535/1.6, allocations: 63.98 kB / 0.7969 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02068/1.621, allocations: 14.77 MB / 0.8113 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/1.621, allocations: 7.938 kB / 0.8113 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3428/1.963, allocations: 12.75 MB / 0.8238 GB, free: 156.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003838/1.967, allocations: 1.122 MB / 0.8249 GB, free: 156.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001135/1.968, allocations: 62.66 kB / 0.8249 GB, free: 156.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002968/1.971, allocations: 240.8 kB / 0.8252 GB, free: 156.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006589/1.972, allocations: 202.6 kB / 0.8254 GB, free: 156.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002375/1.972, allocations: 94.48 kB / 0.8254 GB, free: 156.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005214/1.978, allocations: 3.365 MB / 0.8287 GB, free: 156.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.41e-07/1.978, allocations: 0 / 0.8287 GB, free: 156.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009296/1.987, allocations: 1.584 MB / 0.8303 GB, free: 156.5 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.0007553/1.988, allocations: 208.5 kB / 0.8305 GB, free: 156.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0162/2.004, allocations: 9.107 MB / 0.8394 GB, free: 155.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/2.004, allocations: 0 / 0.8394 GB, free: 155.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004694/2.009, allocations: 3.569 MB / 0.8429 GB, free: 153.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008527/2.017, allocations: 0.6389 MB / 0.8435 GB, free: 153.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02969/2.047, allocations: 18.15 MB / 0.8612 GB, free: 144.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006421/2.053, allocations: 4.415 MB / 0.8655 GB, free: 142.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.009008/2.062, allocations: 2.512 MB / 0.868 GB, free: 142.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001884/2.064, allocations: 356.6 kB / 0.8683 GB, free: 142.2 MB / 0.5137 GB Notification: Performance of SimCode: time 1.152e-06/2.064, allocations: 2.953 kB / 0.8683 GB, free: 142.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.114/2.178, allocations: 66.14 MB / 0.9329 GB, free: 94.29 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: