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.001096/0.001095, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001194/0.001194, allocations: 194.3 kB / 16.25 MB, free: 6.629 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.596/1.596, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.3978/0.3978, allocations: 39.94 MB / 309.4 MB, free: 9.312 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.001359/0.00136, allocations: 75.89 kB / 377.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1419, allocations: 56.88 MB / 434 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.3521/0.4941, allocations: 87.59 MB / 0.5094 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05518/0.5493, allocations: 16.69 MB / 0.5257 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03259/0.582, allocations: 370.1 kB / 0.526 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01282/0.5949, allocations: 5.035 MB / 0.5309 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01213/0.6071, allocations: 2.549 MB / 0.5334 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005919/0.613, allocations: 1.128 MB / 0.5345 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01992/0.633, allocations: 7.107 MB / 0.5415 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01347/0.6465, allocations: 6.939 MB / 0.5482 GB, free: 3.793 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007757/0.6543, allocations: 2.835 MB / 0.551 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008598/0.6629, allocations: 4.405 MB / 0.5553 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003488/0.6665, allocations: 0.6289 MB / 0.5559 GB, free: 11.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005915/0.6724, allocations: 1.338 MB / 0.5572 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006639/0.6791, allocations: 3.565 MB / 0.5607 GB, free: 6.988 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01119/0.6903, allocations: 4.063 MB / 0.5647 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0205/0.7109, allocations: 11.9 MB / 0.5763 GB, free: 6.965 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.7109, allocations: 0 / 0.5763 GB, free: 6.965 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.7109, allocations: 0 / 0.5763 GB, free: 6.965 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006142/0.7116, allocations: 0 / 0.5763 GB, free: 6.965 MB / 446.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.0324/0.744, allocations: 8.28 MB / 0.5844 GB, free: 14.59 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.658e-05/0.7441, allocations: 15.89 kB / 0.5844 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01386/0.7579, allocations: 2.724 MB / 0.5871 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01097/0.769, allocations: 3.951 MB / 0.5909 GB, free: 7.828 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005782/0.7696, allocations: 472.1 kB / 0.5914 GB, free: 7.367 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003012/0.7726, allocations: 0.5855 MB / 0.5919 GB, free: 6.781 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05594/0.8286, allocations: 21.25 MB / 0.6127 GB, free: 384 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000503/0.8291, allocations: 79.3 kB / 0.6128 GB, free: 304 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00373/0.8329, allocations: 283.7 kB / 0.613 GB, free: 20 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007176/0.8401, allocations: 3.541 MB / 0.6165 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5405/1.381, allocations: 17.25 MB / 0.6333 GB, free: 139.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1035/1.484, allocations: 67.91 MB / 0.6997 GB, free: 93.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01942/1.504, allocations: 6.74 MB / 0.7062 GB, free: 91.44 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00458/1.508, allocations: 2.318 MB / 0.7085 GB, free: 90.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01969/1.528, allocations: 9.824 MB / 0.7181 GB, free: 83.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01311/1.541, allocations: 4.392 MB / 0.7224 GB, free: 81.67 MB / 494.1 MB Notification: Performance of pre-optimization done (n=299): time 4.448e-06/1.541, allocations: 0 / 0.7224 GB, free: 81.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=333): time 0.05638/1.598, allocations: 23.1 MB / 0.745 GB, free: 59.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/1.598, allocations: 162.7 kB / 0.7451 GB, free: 59.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007167/1.605, allocations: 6.05 MB / 0.751 GB, free: 53.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005638/1.606, allocations: 73.7 kB / 0.7511 GB, free: 53.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00327/1.609, allocations: 5.302 MB / 0.7563 GB, free: 48.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001223/1.61, allocations: 1.271 MB / 0.7575 GB, free: 47.01 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001936/1.612, allocations: 1.944 MB / 0.7594 GB, free: 45.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.524e-05/1.612, allocations: 301.1 kB / 0.7597 GB, free: 44.76 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003905/1.616, allocations: 2.893 MB / 0.7625 GB, free: 41.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007217/1.623, allocations: 8.707 MB / 0.771 GB, free: 30.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01327/1.637, allocations: 12.61 MB / 0.7833 GB, free: 14.76 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001931/1.637, allocations: 60 kB / 0.7834 GB, free: 14.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02029/1.657, allocations: 11.37 MB / 0.7945 GB, free: 3.277 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001517/1.657, allocations: 119.3 kB / 0.7946 GB, free: 3.156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002732/1.658, allocations: 205 kB / 0.7948 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002075/1.658, allocations: 280 kB / 0.7951 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007305/1.665, allocations: 2.363 MB / 0.7974 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002716/1.665, allocations: 406.4 kB / 0.7978 GB, free: 15.91 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006957/1.672, allocations: 491.4 kB / 0.7982 GB, free: 15.44 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001533/1.674, allocations: 0.5788 MB / 0.7988 GB, free: 14.86 MB / 0.4982 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.006129/1.68, allocations: 3.397 MB / 0.8021 GB, free: 11.45 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009987/1.681, allocations: 0.5437 MB / 0.8026 GB, free: 10.89 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006345/1.687, allocations: 3.523 MB / 0.8061 GB, free: 7.32 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.7e-05/1.687, allocations: 39.98 kB / 0.8061 GB, free: 7.281 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/1.687, allocations: 1.375 kB / 0.8061 GB, free: 7.281 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.301e-05/1.687, allocations: 23.92 kB / 0.8062 GB, free: 7.258 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02458/1.712, allocations: 13.74 MB / 0.8196 GB, free: 8.957 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.542e-05/1.712, allocations: 32 kB / 0.8196 GB, free: 8.926 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002692/1.715, allocations: 0.6553 MB / 0.8202 GB, free: 8.27 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.981e-05/1.715, allocations: 44 kB / 0.8203 GB, free: 8.227 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004996/1.716, allocations: 107.9 kB / 0.8204 GB, free: 8.121 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.892e-05/1.716, allocations: 71.66 kB / 0.8205 GB, free: 8.051 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-05/1.716, allocations: 55.81 kB / 0.8205 GB, free: 7.996 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01056/1.726, allocations: 6.209 MB / 0.8266 GB, free: 1.168 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003255/1.73, allocations: 0.8413 MB / 0.8274 GB, free: 308 kB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001541/1.731, allocations: 107.8 kB / 0.8275 GB, free: 200 kB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002953/1.734, allocations: 159.9 kB / 0.8276 GB, free: 40 kB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2725/2.007, allocations: 309.5 kB / 0.8279 GB, free: 159.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000271/2.007, allocations: 135.7 kB / 0.8281 GB, free: 159.5 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00723/2.014, allocations: 3.763 MB / 0.8317 GB, free: 159.3 MB / 0.5138 GB Notification: Performance of sort global known variables: time 4.11e-07/2.014, allocations: 0 / 0.8317 GB, free: 159.3 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009885/2.024, allocations: 1.576 MB / 0.8333 GB, free: 159.3 MB / 0.5138 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.0008841/2.025, allocations: 287.5 kB / 0.8336 GB, free: 159.2 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01435/2.039, allocations: 7.591 MB / 0.841 GB, free: 157.4 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 4.832e-05/2.039, allocations: 5.969 kB / 0.841 GB, free: 157.4 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0038/2.043, allocations: 1.883 MB / 0.8428 GB, free: 156.8 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005775/2.049, allocations: 0.7934 MB / 0.8436 GB, free: 156.5 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03308/2.082, allocations: 19.44 MB / 0.8626 GB, free: 145.3 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01115/2.093, allocations: 5.148 MB / 0.8676 GB, free: 143.6 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.009078/2.102, allocations: 2.749 MB / 0.8703 GB, free: 143.3 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001944/2.104, allocations: 416.3 kB / 0.8707 GB, free: 143.3 MB / 0.5138 GB Notification: Performance of SimCode: time 1.713e-06/2.104, allocations: 5.156 kB / 0.8707 GB, free: 143.3 MB / 0.5138 GB Notification: Performance of Templates: time 0.1061/2.211, allocations: 51.69 MB / 0.9212 GB, free: 107 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.makefile (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)