Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.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.Forces.Damper2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.001367/0.001367, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.4 MB / 222.1 MB, free: 5.895 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.3318/0.3318, allocations: 40 MB / 310.4 MB, free: 9.812 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.0005116/0.0005117, allocations: 20 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1118, allocations: 57.95 MB / 436.8 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.26/0.3719, allocations: 75.02 MB / 0.4998 GB, free: 5.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03959/0.4115, allocations: 16.82 MB / 0.5162 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01722/0.4288, allocations: 368.8 kB / 0.5166 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01579/0.4446, allocations: 3.735 MB / 0.5202 GB, free: 8.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04443/0.4891, allocations: 10.56 MB / 0.5305 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006434/0.4955, allocations: 1.079 MB / 0.5316 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00954/0.5051, allocations: 3.952 MB / 0.5354 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01348/0.5187, allocations: 8.494 MB / 0.5437 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004591/0.5233, allocations: 1.779 MB / 0.5455 GB, free: 8.348 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004881/0.5282, allocations: 2.562 MB / 0.548 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001882/0.5302, allocations: 276 kB / 0.5482 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003306/0.5335, allocations: 0.8661 MB / 0.5491 GB, free: 4.641 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004277/0.5378, allocations: 2.837 MB / 0.5519 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003064/0.5409, allocations: 1.431 MB / 0.5533 GB, free: 364 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01313/0.554, allocations: 9.402 MB / 0.5624 GB, free: 6.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5541, allocations: 3.938 kB / 0.5624 GB, free: 6.926 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5541, allocations: 0 / 0.5624 GB, free: 6.926 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005985/0.5547, allocations: 0 / 0.5624 GB, free: 6.926 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2765 * Number of variables: 2765 Notification: Performance of Generate backend data structure: time 0.01735/0.5721, allocations: 6.833 MB / 0.5691 GB, free: 4 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/0.5722, allocations: 12.08 kB / 0.5691 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01313/0.5853, allocations: 3.267 MB / 0.5723 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01024/0.5956, allocations: 4.405 MB / 0.5766 GB, free: 8.246 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004727/0.5961, allocations: 463.6 kB / 0.5771 GB, free: 7.793 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002104/0.5982, allocations: 0.5894 MB / 0.5776 GB, free: 7.203 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04556/0.6438, allocations: 21.5 MB / 0.5986 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003034/0.6441, allocations: 63.41 kB / 0.5987 GB, free: 500 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001791/0.6459, allocations: 287.7 kB / 0.599 GB, free: 212 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005849/0.6518, allocations: 3.545 MB / 0.6024 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04053/0.6923, allocations: 17.52 MB / 0.6195 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4461/1.138, allocations: 70.48 MB / 0.6884 GB, free: 92.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04272/1.181, allocations: 14.58 MB / 0.7026 GB, free: 90.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01987/1.201, allocations: 14.52 MB / 0.7168 GB, free: 82.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03475/1.236, allocations: 12.44 MB / 0.7289 GB, free: 75.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=303): time 6.762e-06/1.236, allocations: 0 / 0.7289 GB, free: 75.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=337): time 0.09945/1.335, allocations: 41.73 MB / 0.7697 GB, free: 33.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/1.336, allocations: 166.8 kB / 0.7698 GB, free: 33.49 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008661/1.344, allocations: 6.373 MB / 0.7761 GB, free: 27.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007758/1.345, allocations: 81.69 kB / 0.7761 GB, free: 27.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004431/1.349, allocations: 5.314 MB / 0.7813 GB, free: 21.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001769/1.351, allocations: 1.28 MB / 0.7826 GB, free: 20.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007528/1.352, allocations: 196 kB / 0.7828 GB, free: 20.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004453/1.353, allocations: 0.7234 MB / 0.7835 GB, free: 19.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00493/1.357, allocations: 3.244 MB / 0.7866 GB, free: 16.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007481/1.365, allocations: 9.022 MB / 0.7955 GB, free: 4.375 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007644/1.373, allocations: 5.229 MB / 0.8006 GB, free: 15.12 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001676/1.373, allocations: 60 kB / 0.8006 GB, free: 15.06 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1288) (initialization): time 0.02477/1.398, allocations: 12.23 MB / 0.8126 GB, free: 2.781 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002528/1.398, allocations: 126.6 kB / 0.8127 GB, free: 2.652 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003205/1.398, allocations: 204 kB / 0.8129 GB, free: 2.453 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/1.399, allocations: 0.5357 MB / 0.8134 GB, free: 1.914 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008242/1.408, allocations: 2.417 MB / 0.8158 GB, free: 15.49 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003091/1.411, allocations: 2.72 MB / 0.8184 GB, free: 12.64 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007599/1.418, allocations: 0.5541 MB / 0.819 GB, free: 12.09 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00187/1.42, allocations: 0.5787 MB / 0.8195 GB, free: 11.51 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 77 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[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 (1260): * Single equations (assignments): 1255 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007944/1.428, allocations: 3.398 MB / 0.8228 GB, free: 8.098 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001411/1.43, allocations: 0.5484 MB / 0.8234 GB, free: 7.543 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009985/1.44, allocations: 4.437 MB / 0.8277 GB, free: 3.055 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.815e-05/1.44, allocations: 35.2 kB / 0.8277 GB, free: 3.023 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/1.44, allocations: 7.953 kB / 0.8278 GB, free: 3.016 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.027e-05/1.44, allocations: 15.94 kB / 0.8278 GB, free: 3 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2503/1.69, allocations: 13.66 MB / 0.8411 GB, free: 157 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-05/1.69, allocations: 32.19 kB / 0.8411 GB, free: 157 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002826/1.693, allocations: 0.7011 MB / 0.8418 GB, free: 157 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.165e-05/1.693, allocations: 50.38 kB / 0.8419 GB, free: 157 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002814/1.693, allocations: 99.27 kB / 0.842 GB, free: 157 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-05/1.693, allocations: 59.12 kB / 0.842 GB, free: 156.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-05/1.693, allocations: 46.78 kB / 0.8421 GB, free: 156.9 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01044/1.704, allocations: 11.81 MB / 0.8536 GB, free: 147.8 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002639/1.707, allocations: 0.8946 MB / 0.8545 GB, free: 147.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009421/1.708, allocations: 97.22 kB / 0.8546 GB, free: 147.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002442/1.71, allocations: 195.2 kB / 0.8548 GB, free: 147.5 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000385/1.71, allocations: 290 kB / 0.855 GB, free: 147.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001933/1.711, allocations: 126.9 kB / 0.8552 GB, free: 147.4 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006217/1.717, allocations: 4.005 MB / 0.8591 GB, free: 146.1 MB / 0.5138 GB Notification: Performance of sort global known variables: time 4.91e-07/1.717, allocations: 0 / 0.8591 GB, free: 146.1 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01011/1.727, allocations: 1.627 MB / 0.8607 GB, free: 145.9 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 128 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (322): * Single equations (assignments): 317 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001006/1.728, allocations: 288 kB / 0.8609 GB, free: 145.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01536/1.743, allocations: 7.329 MB / 0.8681 GB, free: 143.3 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-05/1.743, allocations: 4.125 kB / 0.8681 GB, free: 143.3 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.004115/1.748, allocations: 1.978 MB / 0.87 GB, free: 142.6 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004143/1.752, allocations: 0.7175 MB / 0.8707 GB, free: 142.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03035/1.782, allocations: 18.81 MB / 0.8891 GB, free: 131.8 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008769/1.791, allocations: 5.312 MB / 0.8943 GB, free: 130.1 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008083/1.799, allocations: 2.807 MB / 0.897 GB, free: 129.8 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0018/1.801, allocations: 420.7 kB / 0.8974 GB, free: 129.8 MB / 0.5138 GB Notification: Performance of SimCode: time 1.242e-06/1.801, allocations: 0 / 0.8974 GB, free: 129.8 MB / 0.5138 GB Notification: Performance of Templates: time 0.08692/1.888, allocations: 52.18 MB / 0.9484 GB, free: 81.08 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) Environment - environmentSimulation: