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.006919/0.006919, allocations: 99.64 kB / 15.73 MB, free: 6.035 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.001316/0.001316, allocations: 189.6 kB / 16.67 MB, free: 5.969 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.57/1.57, allocations: 205.1 MB / 222.6 MB, free: 4.395 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.3469/0.3469, allocations: 39.94 MB / 309.8 MB, free: 9.617 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.001901/0.001901, allocations: 68.47 kB / 435.8 MB, free: 2.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4388/0.4407, allocations: 56.88 MB / 492.7 MB, free: 19.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.02001/0.4608, allocations: 15.23 MB / 0.496 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01834/0.4792, allocations: 5.081 MB / 0.501 GB, free: 5.105 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005784/0.4851, allocations: 101.1 kB / 0.5011 GB, free: 5.086 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008943/0.4941, allocations: 4.178 MB / 0.5051 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01055/0.5047, allocations: 2.42 MB / 0.5075 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0039/0.5086, allocations: 1.096 MB / 0.5086 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01467/0.5233, allocations: 6.85 MB / 0.5153 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008967/0.5323, allocations: 5.23 MB / 0.5204 GB, free: 8.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005966/0.5383, allocations: 2.321 MB / 0.5226 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00628/0.5446, allocations: 3.162 MB / 0.5257 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001537/0.5462, allocations: 0.5078 MB / 0.5262 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004053/0.5503, allocations: 1.381 MB / 0.5276 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003625/0.5539, allocations: 2.872 MB / 0.5304 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004732/0.5587, allocations: 3.247 MB / 0.5335 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01492/0.5736, allocations: 10.18 MB / 0.5435 GB, free: 308 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.5737, allocations: 0 / 0.5435 GB, free: 308 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5737, allocations: 4 kB / 0.5435 GB, free: 304 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004241/0.5741, allocations: 0 / 0.5435 GB, free: 304 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.03522/0.6094, allocations: 7.047 MB / 0.5504 GB, free: 9.168 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.764e-05/0.6095, allocations: 15.89 kB / 0.5504 GB, free: 9.152 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04135/0.6508, allocations: 3.366 MB / 0.5537 GB, free: 5.773 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02101/0.6719, allocations: 4.658 MB / 0.5582 GB, free: 1.031 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008379/0.6728, allocations: 340.9 kB / 0.5585 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003872/0.6767, allocations: 455.6 kB / 0.559 GB, free: 256 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03671/0.7135, allocations: 13.57 MB / 0.5722 GB, free: 1.797 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003969/0.714, allocations: 71.27 kB / 0.5723 GB, free: 1.727 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001262/0.7153, allocations: 219.8 kB / 0.5725 GB, free: 1.512 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005526/0.7208, allocations: 2.648 MB / 0.5751 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02828/0.7491, allocations: 11.82 MB / 0.5866 GB, free: 3.02 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5434/1.293, allocations: 54.05 MB / 0.6394 GB, free: 91.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01889/1.312, allocations: 5.771 MB / 0.6451 GB, free: 90.81 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007888/1.32, allocations: 3.552 MB / 0.6485 GB, free: 90.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008513/1.32, allocations: 0.6864 MB / 0.6492 GB, free: 90.04 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.809e-05/1.32, allocations: 63.98 kB / 0.6493 GB, free: 89.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=254): time 6.993e-06/1.321, allocations: 0.6875 kB / 0.6493 GB, free: 89.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=324): time 0.1205/1.441, allocations: 37.25 MB / 0.6856 GB, free: 75.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001789/1.441, allocations: 264.1 kB / 0.6859 GB, free: 74.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01031/1.452, allocations: 5.322 MB / 0.6911 GB, free: 70.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001351/1.453, allocations: 73.61 kB / 0.6912 GB, free: 70.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003971/1.457, allocations: 3.992 MB / 0.695 GB, free: 66.35 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.003119/1.46, allocations: 1.206 MB / 0.6962 GB, free: 65.15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003956/1.464, allocations: 1.635 MB / 0.6978 GB, free: 63.51 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.464, allocations: 305.1 kB / 0.6981 GB, free: 63.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00527/1.47, allocations: 3.693 MB / 0.7017 GB, free: 59.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007194/1.477, allocations: 7.982 MB / 0.7095 GB, free: 49.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01362/1.49, allocations: 12.49 MB / 0.7217 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001744/1.491, allocations: 44 kB / 0.7218 GB, free: 35.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.02871/1.519, allocations: 13.97 MB / 0.7354 GB, free: 21.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003576/1.52, allocations: 71.94 kB / 0.7355 GB, free: 21.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004095/1.52, allocations: 144 kB / 0.7356 GB, free: 20.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007752/1.528, allocations: 2.758 MB / 0.7383 GB, free: 18.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008099/1.536, allocations: 1.829 MB / 0.7401 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02311/1.559, allocations: 17.82 MB / 0.7575 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009356/1.569, allocations: 475.2 kB / 0.7579 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00295/1.572, allocations: 472.1 kB / 0.7584 GB, free: 13.28 MB / 0.5137 GB 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.009015/1.581, allocations: 2.83 MB / 0.7612 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002749/1.584, allocations: 493.6 kB / 0.7616 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02048/1.604, allocations: 8.172 MB / 0.7696 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.408e-05/1.604, allocations: 32 kB / 0.7696 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-05/1.604, allocations: 12 kB / 0.7697 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.873e-05/1.604, allocations: 19.92 kB / 0.7697 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04943/1.654, allocations: 17.15 MB / 0.7864 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.456e-05/1.654, allocations: 11.94 kB / 0.7864 GB, free: 420 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003319/1.657, allocations: 0.511 MB / 0.7869 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007503/1.665, allocations: 2.491 MB / 0.7894 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001055/1.666, allocations: 60.94 kB / 0.7894 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02617/1.692, allocations: 15.92 MB / 0.805 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-05/1.692, allocations: 7.938 kB / 0.805 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02779/1.72, allocations: 12.78 MB / 0.8175 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005604/1.726, allocations: 1.108 MB / 0.8185 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002449/1.728, allocations: 67.98 kB / 0.8186 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004567/1.733, allocations: 231.7 kB / 0.8188 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001237/1.734, allocations: 213.5 kB / 0.819 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006222/1.735, allocations: 91.44 kB / 0.8191 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00949/1.744, allocations: 3.369 MB / 0.8224 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.7e-07/1.744, allocations: 0 / 0.8224 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01238/1.757, allocations: 1.581 MB / 0.824 GB, free: 9.5 MB / 0.5762 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.001632/1.758, allocations: 207.9 kB / 0.8242 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02011/1.778, allocations: 9.149 MB / 0.8331 GB, free: 148 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.922e-05/1.778, allocations: 8.125 kB / 0.8331 GB, free: 140 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007585/1.786, allocations: 3.576 MB / 0.8366 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0102/1.796, allocations: 0.6838 MB / 0.8373 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04157/1.838, allocations: 14.96 MB / 0.8519 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01081/1.849, allocations: 4.409 MB / 0.8562 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.007732/1.857, allocations: 2.512 MB / 0.8586 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/1.858, allocations: 351.4 kB / 0.859 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of SimCode: time 2.244e-06/1.858, allocations: 0 / 0.859 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of Templates: time 0.5027/2.361, allocations: 66.68 MB / 0.9241 GB, free: 186.1 MB / 0.6075 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)