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.001161/0.001162, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001597/0.001597, allocations: 193 kB / 16.13 MB, free: 6.652 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.608/1.608, 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.1+maint.om/package.mo): time 0.3864/0.3864, allocations: 37.98 MB / 307.3 MB, free: 10.14 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.001705/0.001705, allocations: 64.14 kB / 374.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1823, allocations: 56.46 MB / 431 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.4273/0.6096, allocations: 74.68 MB / 0.4938 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04744/0.6571, allocations: 15 MB / 0.5085 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02462/0.6818, allocations: 331.8 kB / 0.5088 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01055/0.6925, allocations: 4.159 MB / 0.5129 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.7039, allocations: 2.285 MB / 0.5151 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005157/0.7091, allocations: 0.9989 MB / 0.5161 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02271/0.7318, allocations: 9.547 MB / 0.5254 GB, free: 8.379 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01098/0.7429, allocations: 5.052 MB / 0.5303 GB, free: 6.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008019/0.751, allocations: 2.034 MB / 0.5323 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008205/0.7592, allocations: 3.369 MB / 0.5356 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002337/0.7616, allocations: 348 kB / 0.5359 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00455/0.7662, allocations: 1.283 MB / 0.5372 GB, free: 472 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004352/0.7706, allocations: 2.719 MB / 0.5398 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007049/0.7776, allocations: 3.103 MB / 0.5429 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01676/0.7944, allocations: 9.758 MB / 0.5524 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.658e-05/0.7945, allocations: 0 / 0.5524 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.108e-06/0.7946, allocations: 3.938 kB / 0.5524 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005759/0.7951, allocations: 0 / 0.5524 GB, free: 0.8203 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.02697/0.8221, allocations: 7.043 MB / 0.5593 GB, free: 9.695 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.8222, allocations: 8.031 kB / 0.5593 GB, free: 9.688 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02598/0.8482, allocations: 3.359 MB / 0.5626 GB, free: 6.316 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01335/0.8616, allocations: 4.572 MB / 0.567 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004151/0.8621, allocations: 337.2 kB / 0.5673 GB, free: 1.328 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002887/0.865, allocations: 459.6 kB / 0.5678 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03357/0.8986, allocations: 13.58 MB / 0.581 GB, free: 2.422 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004873/0.8992, allocations: 71.27 kB / 0.5811 GB, free: 2.352 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002311/0.9015, allocations: 211.8 kB / 0.5813 GB, free: 2.145 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005951/0.9075, allocations: 2.656 MB / 0.5839 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02918/0.9367, allocations: 11.83 MB / 0.5955 GB, free: 3.645 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.47/1.407, allocations: 54.33 MB / 0.6485 GB, free: 113.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01339/1.42, allocations: 5.77 MB / 0.6542 GB, free: 112.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004533/1.425, allocations: 3.549 MB / 0.6576 GB, free: 111.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007022/1.426, allocations: 0.6906 MB / 0.6583 GB, free: 110.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.828e-05/1.426, allocations: 59.44 kB / 0.6583 GB, free: 110.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=254): time 5.41e-06/1.426, allocations: 0 / 0.6583 GB, free: 110.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=324): time 0.1404/1.566, allocations: 37.22 MB / 0.6947 GB, free: 98.22 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002134/1.566, allocations: 262.6 kB / 0.6949 GB, free: 97.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01469/1.581, allocations: 5.321 MB / 0.7001 GB, free: 96.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001434/1.582, allocations: 77.91 kB / 0.7002 GB, free: 95.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003915/1.586, allocations: 3.997 MB / 0.7041 GB, free: 92.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002549/1.589, allocations: 1.208 MB / 0.7053 GB, free: 92.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007472/1.597, allocations: 1.627 MB / 0.7069 GB, free: 91.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/1.597, allocations: 308.9 kB / 0.7072 GB, free: 90.97 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007745/1.604, allocations: 3.693 MB / 0.7108 GB, free: 89.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01091/1.615, allocations: 7.971 MB / 0.7186 GB, free: 81.85 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0175/1.633, allocations: 12.5 MB / 0.7308 GB, free: 67.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002138/1.633, allocations: 40 kB / 0.7308 GB, free: 67.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.0322/1.665, allocations: 13.96 MB / 0.7445 GB, free: 53.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002583/1.666, allocations: 72.03 kB / 0.7445 GB, free: 53.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003048/1.666, allocations: 151.9 kB / 0.7447 GB, free: 53.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007485/1.674, allocations: 2.769 MB / 0.7474 GB, free: 50.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007383/1.681, allocations: 1.831 MB / 0.7492 GB, free: 48.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02034/1.701, allocations: 16.61 MB / 0.7654 GB, free: 31.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01007/1.712, allocations: 479.2 kB / 0.7658 GB, free: 31.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002825/1.714, allocations: 467.7 kB / 0.7663 GB, free: 30.76 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.008317/1.723, allocations: 2.831 MB / 0.7691 GB, free: 27.92 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002223/1.725, allocations: 497.6 kB / 0.7695 GB, free: 27.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0171/1.742, allocations: 8.178 MB / 0.7775 GB, free: 19.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.562e-05/1.742, allocations: 36 kB / 0.7775 GB, free: 19.15 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.532e-05/1.742, allocations: 8 kB / 0.7776 GB, free: 19.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-05/1.742, allocations: 23.88 kB / 0.7776 GB, free: 19.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04219/1.785, allocations: 17.4 MB / 0.7946 GB, free: 1.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.724e-05/1.785, allocations: 8 kB / 0.7946 GB, free: 1.652 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003109/1.788, allocations: 0.511 MB / 0.7951 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006938/1.795, allocations: 2.487 MB / 0.7975 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008873/1.796, allocations: 63.98 kB / 0.7976 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02201/1.818, allocations: 14.76 MB / 0.812 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.476e-05/1.818, allocations: 15.97 kB / 0.812 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02801/1.846, allocations: 12.76 MB / 0.8245 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004661/1.851, allocations: 1.108 MB / 0.8255 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00294/1.854, allocations: 63.98 kB / 0.8256 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005008/1.859, allocations: 233.3 kB / 0.8258 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001427/1.86, allocations: 220.8 kB / 0.826 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008439/1.861, allocations: 88 kB / 0.8261 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.3561/2.217, allocations: 3.366 MB / 0.8294 GB, free: 162.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.41e-07/2.217, allocations: 0 / 0.8294 GB, free: 162.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0112/2.228, allocations: 1.579 MB / 0.8309 GB, free: 162.3 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.001409/2.23, allocations: 212.5 kB / 0.8311 GB, free: 162.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01648/2.246, allocations: 9.109 MB / 0.84 GB, free: 160.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.73e-05/2.246, allocations: 0 / 0.84 GB, free: 160.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005316/2.252, allocations: 3.57 MB / 0.8435 GB, free: 159 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005589/2.257, allocations: 0.6394 MB / 0.8442 GB, free: 158.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03409/2.291, allocations: 17.96 MB / 0.8617 GB, free: 149.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007477/2.299, allocations: 4.416 MB / 0.866 GB, free: 147.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.008282/2.307, allocations: 2.508 MB / 0.8684 GB, free: 147.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00189/2.309, allocations: 355.7 kB / 0.8688 GB, free: 147.7 MB / 0.5137 GB Notification: Performance of SimCode: time 1.724e-06/2.309, allocations: 0 / 0.8688 GB, free: 147.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.1141/2.423, allocations: 67.6 MB / 0.9348 GB, free: 99.39 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)