Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Joints.FreeMotion2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001268/0.001268, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001379/0.001379, allocations: 191.2 kB / 16.25 MB, free: 6.145 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.638/1.638, allocations: 205.1 MB / 222.1 MB, free: 4.672 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.4322/0.4322, allocations: 37.98 MB / 307.4 MB, free: 10.05 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.001458/0.001459, allocations: 70.62 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1624, allocations: 56.47 MB / 431.2 MB, free: 6.945 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.3953/0.5578, allocations: 74.66 MB / 0.494 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04849/0.6063, allocations: 14.89 MB / 0.5086 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02332/0.6297, allocations: 326.9 kB / 0.5089 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009205/0.6391, allocations: 4.023 MB / 0.5128 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01034/0.6495, allocations: 2.253 MB / 0.515 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004815/0.6543, allocations: 1.026 MB / 0.516 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0161/0.6705, allocations: 7.062 MB / 0.5229 GB, free: 8.809 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01177/0.6823, allocations: 5.489 MB / 0.5283 GB, free: 6.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006669/0.689, allocations: 2.354 MB / 0.5306 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007233/0.6963, allocations: 3.498 MB / 0.534 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002964/0.6993, allocations: 0.5054 MB / 0.5345 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00564/0.7049, allocations: 1.393 MB / 0.5358 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00558/0.7106, allocations: 2.895 MB / 0.5387 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008091/0.7187, allocations: 3.286 MB / 0.5419 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0166/0.7353, allocations: 9.942 MB / 0.5516 GB, free: 1.746 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.7354, allocations: 0 / 0.5516 GB, free: 1.746 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.7354, allocations: 0 / 0.5516 GB, free: 1.746 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004689/0.7359, allocations: 0 / 0.5516 GB, free: 1.746 MB / 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.02145/0.7573, allocations: 7.047 MB / 0.5585 GB, free: 10.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.7574, allocations: 15.89 kB / 0.5585 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02706/0.7845, allocations: 3.366 MB / 0.5618 GB, free: 7.223 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01147/0.796, allocations: 4.564 MB / 0.5662 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003159/0.7963, allocations: 341.2 kB / 0.5665 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002109/0.7984, allocations: 463.6 kB / 0.567 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02627/0.8247, allocations: 13.57 MB / 0.5802 GB, free: 3.336 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002479/0.825, allocations: 71.33 kB / 0.5803 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000761/0.8258, allocations: 207.8 kB / 0.5805 GB, free: 3.062 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004572/0.8304, allocations: 2.652 MB / 0.5831 GB, free: 420 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02771/0.8581, allocations: 11.84 MB / 0.5946 GB, free: 4.555 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3731/1.231, allocations: 54.32 MB / 0.6477 GB, free: 113.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01289/1.244, allocations: 5.775 MB / 0.6533 GB, free: 112.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003929/1.248, allocations: 3.552 MB / 0.6568 GB, free: 111.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000615/1.249, allocations: 0.6842 MB / 0.6575 GB, free: 110.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/1.249, allocations: 59.88 kB / 0.6575 GB, free: 110.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=254): time 5.239e-06/1.249, allocations: 3.719 kB / 0.6575 GB, free: 110.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=324): time 0.104/1.353, allocations: 37.23 MB / 0.6939 GB, free: 98.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/1.353, allocations: 263.7 kB / 0.6941 GB, free: 98.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008386/1.361, allocations: 5.328 MB / 0.6994 GB, free: 96.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001198/1.363, allocations: 77.08 kB / 0.6994 GB, free: 96.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002725/1.365, allocations: 3.99 MB / 0.7033 GB, free: 93.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001669/1.367, allocations: 1.2 MB / 0.7045 GB, free: 92.17 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002203/1.369, allocations: 1.636 MB / 0.7061 GB, free: 91.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.761e-05/1.369, allocations: 305.1 kB / 0.7064 GB, free: 91.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004823/1.374, allocations: 3.689 MB / 0.71 GB, free: 89.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008095/1.382, allocations: 7.971 MB / 0.7178 GB, free: 82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01369/1.396, allocations: 12.5 MB / 0.73 GB, free: 67.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001727/1.396, allocations: 40 kB / 0.73 GB, free: 67.56 MB / 494.1 MB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.02362/1.42, allocations: 13.98 MB / 0.7437 GB, free: 53.53 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.113e-05/1.42, allocations: 71.98 kB / 0.7437 GB, free: 53.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00012/1.42, allocations: 148 kB / 0.7439 GB, free: 53.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006001/1.426, allocations: 2.769 MB / 0.7466 GB, free: 50.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00621/1.432, allocations: 1.833 MB / 0.7484 GB, free: 48.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01797/1.45, allocations: 17.82 MB / 0.7658 GB, free: 30.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007734/1.458, allocations: 491.1 kB / 0.7662 GB, free: 30.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001666/1.46, allocations: 463.9 kB / 0.7667 GB, free: 29.69 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.005438/1.465, allocations: 2.828 MB / 0.7694 GB, free: 26.85 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001353/1.467, allocations: 497.6 kB / 0.7699 GB, free: 26.36 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/1.479, allocations: 8.164 MB / 0.7779 GB, free: 18.13 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.578e-05/1.479, allocations: 39.59 kB / 0.7779 GB, free: 18.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-05/1.479, allocations: 14.5 kB / 0.7779 GB, free: 18.08 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.846e-05/1.479, allocations: 15.95 kB / 0.778 GB, free: 18.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02791/1.507, allocations: 17.41 MB / 0.795 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.88e-05/1.507, allocations: 8.094 kB / 0.795 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002502/1.509, allocations: 0.5187 MB / 0.7955 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006799/1.516, allocations: 2.488 MB / 0.7979 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008333/1.517, allocations: 67.83 kB / 0.798 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02094/1.538, allocations: 15.83 MB / 0.8134 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/1.538, allocations: 11.94 kB / 0.8134 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02413/1.562, allocations: 12.77 MB / 0.8259 GB, free: 436 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2969/1.859, allocations: 1.109 MB / 0.827 GB, free: 163 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001884/1.861, allocations: 62.02 kB / 0.827 GB, free: 163 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003702/1.865, allocations: 232.9 kB / 0.8273 GB, free: 163 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007754/1.866, allocations: 206.3 kB / 0.8275 GB, free: 163 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002645/1.866, allocations: 89.31 kB / 0.8276 GB, free: 163 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.008258/1.874, allocations: 3.364 MB / 0.8308 GB, free: 162.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.002e-06/1.874, allocations: 0 / 0.8308 GB, free: 162.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01134/1.886, allocations: 1.584 MB / 0.8324 GB, free: 162.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.001074/1.887, allocations: 211.9 kB / 0.8326 GB, free: 162.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.02266/1.909, allocations: 12.88 MB / 0.8452 GB, free: 160.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-05/1.909, allocations: 0 / 0.8452 GB, free: 160.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006238/1.916, allocations: 3.566 MB / 0.8486 GB, free: 158.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00576/1.921, allocations: 0.6871 MB / 0.8493 GB, free: 158.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03533/1.957, allocations: 17.95 MB / 0.8668 GB, free: 149.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01184/1.969, allocations: 4.424 MB / 0.8712 GB, free: 147.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.01182/1.981, allocations: 2.506 MB / 0.8736 GB, free: 147.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003089/1.984, allocations: 359.6 kB / 0.8739 GB, free: 147.6 MB / 0.5137 GB Notification: Performance of SimCode: time 3.156e-06/1.984, allocations: 0 / 0.8739 GB, free: 147.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.1274/2.111, allocations: 70.21 MB / 0.9425 GB, free: 91.21 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1)