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.008945/0.008945, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001805/0.001805, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.642/1.642, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.4028/0.4028, allocations: 38 MB / 307.9 MB, free: 10.12 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.001593/0.001593, allocations: 75.84 kB / 433 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4443/0.4459, allocations: 56.46 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.0184/0.4644, allocations: 15.23 MB / 0.4929 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01756/0.482, allocations: 5.084 MB / 0.4978 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008777/0.4908, allocations: 101.3 kB / 0.4979 GB, free: 5.672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0122/0.5031, allocations: 4.177 MB / 0.502 GB, free: 3.703 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01219/0.5154, allocations: 2.428 MB / 0.5044 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004454/0.5198, allocations: 1.088 MB / 0.5054 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01534/0.5352, allocations: 6.851 MB / 0.5121 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009575/0.5448, allocations: 5.231 MB / 0.5172 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008334/0.5532, allocations: 2.307 MB / 0.5195 GB, free: 8.902 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007624/0.5609, allocations: 3.158 MB / 0.5226 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002387/0.5634, allocations: 0.5039 MB / 0.5231 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004559/0.5679, allocations: 1.377 MB / 0.5244 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004132/0.5721, allocations: 2.856 MB / 0.5272 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005766/0.5779, allocations: 3.259 MB / 0.5304 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01572/0.5936, allocations: 10.17 MB / 0.5403 GB, free: 3.508 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.5937, allocations: 0 / 0.5403 GB, free: 3.508 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5937, allocations: 0 / 0.5403 GB, free: 3.508 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003862/0.5941, allocations: 0 / 0.5403 GB, free: 3.508 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.02592/0.62, allocations: 7.059 MB / 0.5472 GB, free: 12.37 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.399e-05/0.6201, allocations: 11.89 kB / 0.5472 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03033/0.6505, allocations: 3.37 MB / 0.5505 GB, free: 8.973 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01546/0.666, allocations: 4.646 MB / 0.5551 GB, free: 4.242 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00059/0.6666, allocations: 337 kB / 0.5554 GB, free: 3.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003243/0.6699, allocations: 467.5 kB / 0.5558 GB, free: 3.453 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03754/0.7075, allocations: 13.57 MB / 0.5691 GB, free: 5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004692/0.708, allocations: 67.42 kB / 0.5691 GB, free: 4.934 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002565/0.7106, allocations: 207.8 kB / 0.5693 GB, free: 4.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005697/0.7163, allocations: 2.656 MB / 0.5719 GB, free: 2.066 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02939/0.7457, allocations: 11.83 MB / 0.5835 GB, free: 6.219 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4928/1.239, allocations: 54.05 MB / 0.6363 GB, free: 112.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01816/1.257, allocations: 5.776 MB / 0.6419 GB, free: 111.8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005833/1.263, allocations: 3.547 MB / 0.6454 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008683/1.264, allocations: 0.6853 MB / 0.646 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.683e-05/1.264, allocations: 65.53 kB / 0.6461 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=254): time 7.274e-06/1.264, allocations: 2.344 kB / 0.6461 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=324): time 0.1254/1.389, allocations: 37.23 MB / 0.6825 GB, free: 97.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/1.389, allocations: 274.1 kB / 0.6827 GB, free: 97.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009605/1.399, allocations: 5.326 MB / 0.6879 GB, free: 94.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001272/1.4, allocations: 69.48 kB / 0.688 GB, free: 94.31 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002649/1.403, allocations: 3.997 MB / 0.6919 GB, free: 90.83 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00163/1.405, allocations: 1.203 MB / 0.6931 GB, free: 89.81 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002221/1.407, allocations: 1.638 MB / 0.6947 GB, free: 88.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.702e-05/1.407, allocations: 302.9 kB / 0.695 GB, free: 88.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004393/1.411, allocations: 3.695 MB / 0.6986 GB, free: 85.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006771/1.418, allocations: 7.982 MB / 0.7064 GB, free: 75.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01336/1.431, allocations: 12.5 MB / 0.7186 GB, free: 61.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001268/1.432, allocations: 40 kB / 0.7186 GB, free: 61.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.02685/1.458, allocations: 13.97 MB / 0.7322 GB, free: 47.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.359e-05/1.459, allocations: 69.31 kB / 0.7323 GB, free: 46.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001389/1.459, allocations: 148 kB / 0.7325 GB, free: 46.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006501/1.465, allocations: 2.763 MB / 0.7352 GB, free: 44.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006397/1.472, allocations: 1.829 MB / 0.7369 GB, free: 42.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01919/1.491, allocations: 17.81 MB / 0.7543 GB, free: 24.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008001/1.499, allocations: 486.5 kB / 0.7548 GB, free: 23.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001814/1.501, allocations: 463.9 kB / 0.7552 GB, free: 23.2 MB / 0.4981 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.005545/1.506, allocations: 2.825 MB / 0.758 GB, free: 20.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00147/1.508, allocations: 493.9 kB / 0.7585 GB, free: 19.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/1.521, allocations: 8.172 MB / 0.7664 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.702e-05/1.521, allocations: 32 kB / 0.7665 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-05/1.521, allocations: 20.22 kB / 0.7665 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.385e-05/1.521, allocations: 15.94 kB / 0.7665 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03657/1.558, allocations: 17.16 MB / 0.7833 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-05/1.558, allocations: 8 kB / 0.7833 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00269/1.561, allocations: 0.5148 MB / 0.7838 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006467/1.567, allocations: 2.487 MB / 0.7862 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000487/1.568, allocations: 63.98 kB / 0.7863 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02055/1.588, allocations: 15.92 MB / 0.8018 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/1.588, allocations: 4 kB / 0.8018 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02362/1.612, allocations: 12.79 MB / 0.8143 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004155/1.616, allocations: 1.115 MB / 0.8154 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001534/1.618, allocations: 60 kB / 0.8155 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003822/1.622, allocations: 227.7 kB / 0.8157 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008093/1.622, allocations: 213.5 kB / 0.8159 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002762/1.623, allocations: 91.98 kB / 0.816 GB, free: 8.344 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006157/1.629, allocations: 3.362 MB / 0.8192 GB, free: 5 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.91e-07/1.629, allocations: 0 / 0.8192 GB, free: 5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01022/1.639, allocations: 1.581 MB / 0.8208 GB, free: 3.422 MB / 0.545 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.001003/1.64, allocations: 221.2 kB / 0.821 GB, free: 3.203 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01831/1.658, allocations: 9.143 MB / 0.8299 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.697e-05/1.658, allocations: 8.062 kB / 0.8299 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006692/1.665, allocations: 3.579 MB / 0.8334 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006016/1.671, allocations: 0.6634 MB / 0.8341 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03415/1.705, allocations: 14.97 MB / 0.8487 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3387/2.044, allocations: 4.41 MB / 0.853 GB, free: 184.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.008625/2.053, allocations: 2.507 MB / 0.8554 GB, free: 184.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002216/2.055, allocations: 359.8 kB / 0.8558 GB, free: 184.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.432e-06/2.055, allocations: 0 / 0.8558 GB, free: 184.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.129/2.184, allocations: 66.29 MB / 0.9205 GB, free: 147.9 MB / 0.5762 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)