Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Forces.Damper2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.008791/0.008791, allocations: 98.97 kB / 15.73 MB, free: 6.043 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.001387/0.001387, allocations: 195 kB / 16.67 MB, free: 5.961 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.643/1.643, allocations: 205.1 MB / 222.5 MB, free: 4.328 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.3482/0.3482, allocations: 38 MB / 307.9 MB, free: 10.32 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.001695/0.001695, allocations: 67.91 kB / 433 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3775, allocations: 56.47 MB / 489.5 MB, free: 20.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01768/0.3952, allocations: 17.68 MB / 0.4953 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01433/0.4096, allocations: 5.271 MB / 0.5004 GB, free: 3.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00515/0.4148, allocations: 104.6 kB / 0.5005 GB, free: 3.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01047/0.4253, allocations: 5.232 MB / 0.5056 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009934/0.4353, allocations: 2.754 MB / 0.5083 GB, free: 14.94 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003669/0.439, allocations: 1.199 MB / 0.5095 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01351/0.4525, allocations: 7.078 MB / 0.5164 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01142/0.464, allocations: 6.562 MB / 0.5228 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007806/0.4718, allocations: 2.8 MB / 0.5255 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008084/0.4799, allocations: 4.015 MB / 0.5295 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002869/0.4828, allocations: 0.6289 MB / 0.5301 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005108/0.488, allocations: 1.327 MB / 0.5314 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005266/0.4933, allocations: 3.53 MB / 0.5348 GB, free: 9.164 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009144/0.5024, allocations: 4.028 MB / 0.5388 GB, free: 5.113 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01934/0.5218, allocations: 12.27 MB / 0.5507 GB, free: 8.805 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.5219, allocations: 3.938 kB / 0.5507 GB, free: 8.801 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5219, allocations: 0 / 0.5507 GB, free: 8.801 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005083/0.5224, allocations: 0 / 0.5507 GB, free: 8.801 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.02607/0.5485, allocations: 8.276 MB / 0.5588 GB, free: 444 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/0.5485, allocations: 15.89 kB / 0.5588 GB, free: 428 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01242/0.561, allocations: 2.728 MB / 0.5615 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01144/0.5725, allocations: 4.014 MB / 0.5654 GB, free: 9.598 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007794/0.5733, allocations: 460 kB / 0.5659 GB, free: 9.148 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004903/0.5782, allocations: 0.5894 MB / 0.5664 GB, free: 8.559 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05342/0.6317, allocations: 21.26 MB / 0.5872 GB, free: 2.141 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004361/0.6322, allocations: 75.25 kB / 0.5873 GB, free: 2.066 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002702/0.6349, allocations: 283.7 kB / 0.5875 GB, free: 1.789 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006202/0.6411, allocations: 3.549 MB / 0.591 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05006/0.6912, allocations: 17.26 MB / 0.6079 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6602/1.351, allocations: 67.56 MB / 0.6738 GB, free: 77.98 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01888/1.37, allocations: 6.746 MB / 0.6804 GB, free: 75.98 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003968/1.374, allocations: 2.36 MB / 0.6827 GB, free: 75.14 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01837/1.393, allocations: 9.818 MB / 0.6923 GB, free: 70.21 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01571/1.409, allocations: 4.383 MB / 0.6966 GB, free: 68.77 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=299): time 7.854e-06/1.409, allocations: 5.312 kB / 0.6966 GB, free: 68.77 MB / 0.4982 GB Notification: Performance of matching and sorting (n=333): time 0.06173/1.47, allocations: 23.09 MB / 0.7192 GB, free: 56.34 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/1.47, allocations: 168.8 kB / 0.7193 GB, free: 56.17 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008119/1.479, allocations: 6.049 MB / 0.7252 GB, free: 50.31 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0009268/1.48, allocations: 77.7 kB / 0.7253 GB, free: 50.23 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.00469/1.484, allocations: 5.307 MB / 0.7305 GB, free: 44.93 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001524/1.486, allocations: 1.265 MB / 0.7317 GB, free: 43.67 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002271/1.488, allocations: 1.933 MB / 0.7336 GB, free: 41.73 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 4.947e-05/1.488, allocations: 309 kB / 0.7339 GB, free: 41.42 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004122/1.492, allocations: 2.893 MB / 0.7367 GB, free: 38.52 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006147/1.498, allocations: 8.717 MB / 0.7452 GB, free: 27.01 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0124/1.511, allocations: 12.6 MB / 0.7575 GB, free: 11.5 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001823/1.511, allocations: 60 kB / 0.7576 GB, free: 11.44 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02082/1.532, allocations: 11.37 MB / 0.7687 GB, free: 16 kB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003786/1.532, allocations: 117.7 kB / 0.7688 GB, free: 15.89 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004163/1.533, allocations: 208 kB / 0.769 GB, free: 15.69 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004141/1.533, allocations: 272 kB / 0.7693 GB, free: 15.43 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009027/1.542, allocations: 2.374 MB / 0.7716 GB, free: 13.05 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006849/1.543, allocations: 406.4 kB / 0.772 GB, free: 12.65 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008568/1.552, allocations: 498.7 kB / 0.7724 GB, free: 12.17 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002468/1.554, allocations: 0.5781 MB / 0.773 GB, free: 11.59 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 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,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 (1271): * Single equations (assignments): 1267 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01006/1.564, allocations: 3.393 MB / 0.7763 GB, free: 8.18 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001902/1.566, allocations: 0.5475 MB / 0.7769 GB, free: 7.629 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009019/1.575, allocations: 3.522 MB / 0.7803 GB, free: 4.055 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-05/1.575, allocations: 36 kB / 0.7803 GB, free: 4.02 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/1.575, allocations: 0 / 0.7803 GB, free: 4.02 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.014e-05/1.575, allocations: 23.88 kB / 0.7804 GB, free: 3.996 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03218/1.607, allocations: 13.72 MB / 0.7938 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.942e-05/1.608, allocations: 32 kB / 0.7938 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002827/1.61, allocations: 0.6513 MB / 0.7944 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.354e-05/1.611, allocations: 48 kB / 0.7945 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003852/1.611, allocations: 104.1 kB / 0.7946 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.075e-05/1.611, allocations: 71.72 kB / 0.7946 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.091e-05/1.611, allocations: 51.75 kB / 0.7947 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/1.621, allocations: 6.205 MB / 0.8008 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003222/1.625, allocations: 0.8413 MB / 0.8016 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001553/1.626, allocations: 99.97 kB / 0.8017 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003216/1.629, allocations: 163.8 kB / 0.8018 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005437/1.63, allocations: 316.2 kB / 0.8021 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002889/1.63, allocations: 130.2 kB / 0.8022 GB, free: 12.44 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007996/1.638, allocations: 3.764 MB / 0.8059 GB, free: 8.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.814e-06/1.638, allocations: 3.938 kB / 0.8059 GB, free: 8.676 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01047/1.649, allocations: 1.575 MB / 0.8075 GB, free: 7.105 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * 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 (320): * Single equations (assignments): 315 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001147/1.65, allocations: 283.8 kB / 0.8077 GB, free: 6.828 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01386/1.664, allocations: 6.72 MB / 0.8143 GB, free: 148 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.679e-05/1.664, allocations: 4 kB / 0.8143 GB, free: 144 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004169/1.668, allocations: 1.879 MB / 0.8161 GB, free: 14.27 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007495/1.676, allocations: 0.8022 MB / 0.8169 GB, free: 13.48 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03607/1.712, allocations: 15.64 MB / 0.8322 GB, free: 13.36 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01197/1.724, allocations: 5.143 MB / 0.8372 GB, free: 8.176 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.008722/1.733, allocations: 2.762 MB / 0.8399 GB, free: 5.406 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001584/1.734, allocations: 419.4 kB / 0.8403 GB, free: 4.996 MB / 0.5763 GB Notification: Performance of SimCode: time 1.383e-06/1.734, allocations: 0 / 0.8403 GB, free: 4.996 MB / 0.5763 GB Notification: Performance of Templates: time 0.3679/2.102, allocations: 45.84 MB / 0.8851 GB, free: 189.1 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1)