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.009718/0.009717, allocations: 106.3 kB / 15.74 MB, free: 6.004 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.001139/0.001139, allocations: 196.5 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.655/1.655, allocations: 205.1 MB / 222.6 MB, free: 4.48 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.3988/0.3988, allocations: 39.94 MB / 309.8 MB, free: 9.352 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.001469/0.001469, allocations: 75.89 kB / 435.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.392, allocations: 56.87 MB / 492.7 MB, free: 19.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01577/0.4078, allocations: 15.23 MB / 0.496 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01677/0.4246, allocations: 5.086 MB / 0.501 GB, free: 5.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00511/0.4297, allocations: 106.1 kB / 0.5011 GB, free: 5.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008688/0.4385, allocations: 4.174 MB / 0.5051 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009875/0.4484, allocations: 2.421 MB / 0.5075 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003726/0.4522, allocations: 1.091 MB / 0.5086 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01354/0.4657, allocations: 6.847 MB / 0.5153 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01006/0.4758, allocations: 5.228 MB / 0.5204 GB, free: 8.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005778/0.4816, allocations: 2.313 MB / 0.5226 GB, free: 5.742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005869/0.4875, allocations: 3.154 MB / 0.5257 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002272/0.4898, allocations: 0.5039 MB / 0.5262 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004282/0.4941, allocations: 1.381 MB / 0.5275 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004225/0.4984, allocations: 2.848 MB / 0.5303 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007124/0.5055, allocations: 3.263 MB / 0.5335 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01846/0.524, allocations: 10.17 MB / 0.5434 GB, free: 360 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.5241, allocations: 0 / 0.5434 GB, free: 360 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5241, allocations: 4 kB / 0.5434 GB, free: 356 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.00047/0.5246, allocations: 0 / 0.5434 GB, free: 356 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.02289/0.5475, allocations: 7.055 MB / 0.5503 GB, free: 9.211 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/0.5476, allocations: 15.89 kB / 0.5503 GB, free: 9.195 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02727/0.5749, allocations: 3.355 MB / 0.5536 GB, free: 5.828 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01185/0.5867, allocations: 4.662 MB / 0.5582 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002851/0.5871, allocations: 337 kB / 0.5585 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001791/0.5889, allocations: 463.5 kB / 0.5589 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02761/0.6165, allocations: 13.57 MB / 0.5722 GB, free: 1.844 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002492/0.6168, allocations: 71.33 kB / 0.5723 GB, free: 1.773 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006379/0.6175, allocations: 215.8 kB / 0.5725 GB, free: 1.562 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004875/0.6224, allocations: 2.648 MB / 0.5751 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02413/0.6465, allocations: 11.83 MB / 0.5866 GB, free: 3.066 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4737/1.12, allocations: 54.05 MB / 0.6394 GB, free: 91.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.016/1.136, allocations: 5.774 MB / 0.645 GB, free: 90.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007837/1.144, allocations: 3.548 MB / 0.6485 GB, free: 90.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008166/1.145, allocations: 0.6886 MB / 0.6492 GB, free: 90.13 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/1.145, allocations: 67.8 kB / 0.6492 GB, free: 90.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=254): time 5.641e-06/1.145, allocations: 0 / 0.6492 GB, free: 90.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=324): time 0.1048/1.25, allocations: 37.24 MB / 0.6856 GB, free: 75.19 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/1.25, allocations: 266 kB / 0.6858 GB, free: 74.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007764/1.258, allocations: 5.326 MB / 0.691 GB, free: 70.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009855/1.259, allocations: 73.61 kB / 0.6911 GB, free: 70.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002311/1.261, allocations: 3.991 MB / 0.695 GB, free: 66.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001646/1.263, allocations: 1.207 MB / 0.6962 GB, free: 65.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002262/1.265, allocations: 1.634 MB / 0.6978 GB, free: 63.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.965e-05/1.265, allocations: 306.8 kB / 0.6981 GB, free: 63.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004711/1.27, allocations: 3.7 MB / 0.7017 GB, free: 59.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006428/1.276, allocations: 7.975 MB / 0.7095 GB, free: 49.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01355/1.29, allocations: 12.49 MB / 0.7217 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001526/1.29, allocations: 40 kB / 0.7217 GB, free: 35.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.02532/1.316, allocations: 13.97 MB / 0.7354 GB, free: 21.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000122/1.316, allocations: 75.94 kB / 0.7354 GB, free: 21.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000187/1.316, allocations: 144 kB / 0.7356 GB, free: 20.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006981/1.323, allocations: 2.758 MB / 0.7383 GB, free: 18.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006511/1.329, allocations: 1.833 MB / 0.7401 GB, free: 16.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01995/1.349, allocations: 17.82 MB / 0.7575 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008399/1.358, allocations: 483.2 kB / 0.7579 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002134/1.36, allocations: 471.9 kB / 0.7584 GB, free: 13.32 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.007236/1.367, allocations: 2.817 MB / 0.7611 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001766/1.369, allocations: 493.9 kB / 0.7616 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0162/1.385, allocations: 8.178 MB / 0.7696 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.344e-05/1.385, allocations: 39.92 kB / 0.7696 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.699e-05/1.385, allocations: 12 kB / 0.7696 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.199e-05/1.385, allocations: 11.95 kB / 0.7696 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03249/1.418, allocations: 17.15 MB / 0.7864 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.032e-05/1.418, allocations: 15.94 kB / 0.7864 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002728/1.421, allocations: 0.5187 MB / 0.7869 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006709/1.427, allocations: 2.484 MB / 0.7893 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006443/1.428, allocations: 63.98 kB / 0.7894 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02145/1.45, allocations: 15.92 MB / 0.8049 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/1.45, allocations: 7.938 kB / 0.8049 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02373/1.473, allocations: 12.79 MB / 0.8174 GB, free: 204 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005216/1.479, allocations: 1.112 MB / 0.8185 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001869/1.481, allocations: 67.92 kB / 0.8186 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0033/1.484, allocations: 223.7 kB / 0.8188 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007203/1.485, allocations: 205.6 kB / 0.819 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002636/1.485, allocations: 91.98 kB / 0.8191 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006243/1.491, allocations: 3.369 MB / 0.8224 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/1.491, allocations: 0 / 0.8224 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009287/1.5, allocations: 1.581 MB / 0.8239 GB, free: 9.551 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.0009656/1.501, allocations: 212.9 kB / 0.8241 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01685/1.518, allocations: 9.15 MB / 0.833 GB, free: 196 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.945e-05/1.518, allocations: 4 kB / 0.8331 GB, free: 192 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006337/1.525, allocations: 3.581 MB / 0.8365 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006364/1.531, allocations: 0.6757 MB / 0.8372 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03301/1.564, allocations: 14.96 MB / 0.8518 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007436/1.572, allocations: 4.409 MB / 0.8561 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.006862/1.579, allocations: 2.508 MB / 0.8586 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001694/1.58, allocations: 363.3 kB / 0.8589 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of SimCode: time 1.322e-06/1.58, allocations: 0 / 0.8589 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of Templates: time 0.472/2.052, allocations: 66.27 MB / 0.9236 GB, free: 186.4 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)