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.001164/0.001164, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.787/1.787, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.4614/0.4614, allocations: 39.94 MB / 309.7 MB, free: 9.289 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.002243/0.002243, allocations: 67.91 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1778, allocations: 56.88 MB / 434.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.02019/0.1981, allocations: 15.23 MB / 449.7 MB, free: 4.387 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.347/0.5451, allocations: 5.07 MB / 454.8 MB, free: 36.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004258/0.5494, allocations: 108.8 kB / 454.9 MB, free: 36.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007933/0.5574, allocations: 4.17 MB / 459.1 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009049/0.5665, allocations: 2.428 MB / 461.5 MB, free: 35.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003152/0.5697, allocations: 1.098 MB / 462.6 MB, free: 35.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01243/0.5822, allocations: 6.841 MB / 469.4 MB, free: 34.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00759/0.5898, allocations: 5.229 MB / 474.7 MB, free: 32.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0057/0.5956, allocations: 2.302 MB / 477 MB, free: 31.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006423/0.6021, allocations: 3.161 MB / 480.1 MB, free: 30.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002375/0.6045, allocations: 0.5021 MB / 480.6 MB, free: 30.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004801/0.6093, allocations: 1.374 MB / 482 MB, free: 30.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00537/0.6147, allocations: 2.855 MB / 484.9 MB, free: 29.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01172/0.6264, allocations: 3.251 MB / 488.1 MB, free: 27.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02791/0.6544, allocations: 9.9 MB / 498 MB, free: 23.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/0.6545, allocations: 0 / 498 MB, free: 23.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.6545, allocations: 0 / 498 MB, free: 23.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006892/0.6552, allocations: 1.031 kB / 498 MB, free: 23.98 MB / 382.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.03763/0.6928, allocations: 7.057 MB / 0.4932 GB, free: 19.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.215e-05/0.6929, allocations: 12.52 kB / 0.4932 GB, free: 19.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03107/0.724, allocations: 3.363 MB / 0.4965 GB, free: 17.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01541/0.7395, allocations: 4.558 MB / 0.501 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006771/0.7402, allocations: 335.8 kB / 0.5013 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003659/0.7439, allocations: 456.8 kB / 0.5017 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04035/0.7843, allocations: 13.58 MB / 0.515 GB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004305/0.7847, allocations: 75.27 kB / 0.5151 GB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002654/0.7874, allocations: 218.8 kB / 0.5153 GB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004888/0.7923, allocations: 2.646 MB / 0.5179 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02958/0.8219, allocations: 11.83 MB / 0.5294 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09913/0.9211, allocations: 54.32 MB / 0.5825 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01757/0.9387, allocations: 5.772 MB / 0.5881 GB, free: 6.125 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006347/0.9452, allocations: 3.542 MB / 0.5916 GB, free: 2.574 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001264/0.9465, allocations: 0.701 MB / 0.5922 GB, free: 1.777 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.305e-05/0.9466, allocations: 64.56 kB / 0.5923 GB, free: 1.707 MB / 462.1 MB Notification: Performance of pre-optimization done (n=254): time 9.247e-06/0.9466, allocations: 0 / 0.5923 GB, free: 1.707 MB / 462.1 MB Notification: Performance of matching and sorting (n=324): time 0.4444/1.391, allocations: 37.22 MB / 0.6287 GB, free: 144.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001846/1.391, allocations: 270.8 kB / 0.6289 GB, free: 144.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01047/1.402, allocations: 5.327 MB / 0.6341 GB, free: 143 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001403/1.403, allocations: 71.3 kB / 0.6342 GB, free: 143 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003407/1.407, allocations: 3.994 MB / 0.6381 GB, free: 140.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002786/1.409, allocations: 1.209 MB / 0.6393 GB, free: 139.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003096/1.413, allocations: 1.631 MB / 0.6409 GB, free: 138.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.247e-05/1.413, allocations: 305.1 kB / 0.6412 GB, free: 138.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00582/1.418, allocations: 3.7 MB / 0.6448 GB, free: 137.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008388/1.427, allocations: 7.967 MB / 0.6525 GB, free: 130.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01836/1.445, allocations: 12.5 MB / 0.6647 GB, free: 121 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003018/1.446, allocations: 42.03 kB / 0.6648 GB, free: 121 MB / 494.1 MB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.04593/1.492, allocations: 13.97 MB / 0.6784 GB, free: 115.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000411/1.492, allocations: 66.94 kB / 0.6785 GB, free: 115.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006241/1.493, allocations: 150.1 kB / 0.6786 GB, free: 115.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008298/1.501, allocations: 2.774 MB / 0.6813 GB, free: 115.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007544/1.509, allocations: 1.835 MB / 0.6831 GB, free: 115 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02296/1.532, allocations: 17.82 MB / 0.7005 GB, free: 103.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01096/1.543, allocations: 482.2 kB / 0.701 GB, free: 103.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003044/1.546, allocations: 472.9 kB / 0.7015 GB, free: 103.1 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.01152/1.557, allocations: 2.821 MB / 0.7042 GB, free: 100.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003013/1.56, allocations: 0.4932 MB / 0.7047 GB, free: 100.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01974/1.58, allocations: 8.172 MB / 0.7127 GB, free: 91.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.96e-05/1.58, allocations: 32 kB / 0.7127 GB, free: 91.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.049e-05/1.58, allocations: 12 kB / 0.7127 GB, free: 91.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000102/1.58, allocations: 15.94 kB / 0.7127 GB, free: 91.83 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04556/1.626, allocations: 17.41 MB / 0.7297 GB, free: 74.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-05/1.626, allocations: 15.92 kB / 0.7297 GB, free: 74.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003365/1.63, allocations: 0.5117 MB / 0.7302 GB, free: 73.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006792/1.636, allocations: 2.487 MB / 0.7327 GB, free: 71.38 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001322/1.638, allocations: 63.98 kB / 0.7327 GB, free: 71.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01836/1.656, allocations: 15.83 MB / 0.7482 GB, free: 55.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/1.656, allocations: 15.88 kB / 0.7482 GB, free: 55.19 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02458/1.681, allocations: 12.77 MB / 0.7607 GB, free: 42.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004443/1.685, allocations: 1.104 MB / 0.7618 GB, free: 41.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002624/1.688, allocations: 63.98 kB / 0.7618 GB, free: 41.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004874/1.693, allocations: 227.7 kB / 0.762 GB, free: 40.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001228/1.694, allocations: 201.6 kB / 0.7622 GB, free: 40.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000649/1.695, allocations: 99.58 kB / 0.7623 GB, free: 40.53 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008803/1.704, allocations: 3.369 MB / 0.7656 GB, free: 37.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.52e-07/1.704, allocations: 0 / 0.7656 GB, free: 37.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01511/1.719, allocations: 1.577 MB / 0.7671 GB, free: 35.61 MB / 494.1 MB 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.001586/1.72, allocations: 216.9 kB / 0.7674 GB, free: 35.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02647/1.747, allocations: 12.87 MB / 0.7799 GB, free: 22.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.909e-05/1.747, allocations: 4 kB / 0.7799 GB, free: 22.54 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007308/1.754, allocations: 3.581 MB / 0.7834 GB, free: 18.94 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009979/1.764, allocations: 0.6776 MB / 0.7841 GB, free: 18.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03889/1.803, allocations: 15.13 MB / 0.7989 GB, free: 3.086 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0139/1.817, allocations: 4.409 MB / 0.8032 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.01216/1.829, allocations: 2.512 MB / 0.8056 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003027/1.832, allocations: 359.3 kB / 0.806 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of SimCode: time 1.763e-06/1.832, allocations: 4 kB / 0.806 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of Templates: time 0.4605/2.293, allocations: 70.19 MB / 0.8745 GB, free: 117.2 MB / 0.4981 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)