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.0008035/0.0008038, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005725/0.005725, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.413/1.413, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.2729/0.2729, allocations: 38.04 MB / 308.8 MB, free: 10.24 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.0006225/0.0006226, allocations: 16 kB / 377 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1046, allocations: 57.53 MB / 434.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.2518/0.3564, allocations: 85.53 MB / 0.5079 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03286/0.3893, allocations: 16.71 MB / 0.5242 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01357/0.4029, allocations: 368.2 kB / 0.5246 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002252/0.4052, allocations: 0.6823 MB / 0.5252 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007962/0.4132, allocations: 2.596 MB / 0.5278 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002864/0.4161, allocations: 1.096 MB / 0.5288 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0145/0.4306, allocations: 10.3 MB / 0.5389 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01359/0.4442, allocations: 9.489 MB / 0.5482 GB, free: 7.637 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004371/0.4486, allocations: 2.023 MB / 0.5502 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005192/0.4538, allocations: 3.636 MB / 0.5537 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001036/0.4549, allocations: 280 kB / 0.554 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/0.4574, allocations: 1.022 MB / 0.555 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003388/0.4608, allocations: 3.124 MB / 0.558 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005825/0.4666, allocations: 3.545 MB / 0.5615 GB, free: 9.953 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01268/0.4793, allocations: 11.31 MB / 0.5725 GB, free: 14.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4794, allocations: 0 / 0.5725 GB, free: 14.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4794, allocations: 0 / 0.5725 GB, free: 14.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003922/0.4798, allocations: 0 / 0.5725 GB, free: 14.6 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.01273/0.4925, allocations: 6.693 MB / 0.5791 GB, free: 7.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.4926, allocations: 15.97 kB / 0.5791 GB, free: 7.805 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01099/0.5036, allocations: 2.779 MB / 0.5818 GB, free: 5.012 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00813/0.5117, allocations: 3.963 MB / 0.5857 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004146/0.5122, allocations: 464.1 kB / 0.5861 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001835/0.514, allocations: 0.5856 MB / 0.5867 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04014/0.5542, allocations: 21.33 MB / 0.6075 GB, free: 9.461 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002245/0.5545, allocations: 71.33 kB / 0.6076 GB, free: 9.391 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001057/0.5555, allocations: 287.7 kB / 0.6079 GB, free: 9.109 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00541/0.5609, allocations: 3.545 MB / 0.6113 GB, free: 5.562 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03825/0.5992, allocations: 17.33 MB / 0.6282 GB, free: 4.203 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5131/1.112, allocations: 67.91 MB / 0.6946 GB, free: 33.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01793/1.13, allocations: 6.782 MB / 0.7012 GB, free: 31.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003824/1.134, allocations: 2.343 MB / 0.7035 GB, free: 29.94 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01361/1.148, allocations: 9.818 MB / 0.7131 GB, free: 23.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01315/1.161, allocations: 4.429 MB / 0.7174 GB, free: 21.31 MB / 494.1 MB Notification: Performance of pre-optimization done (n=299): time 5.801e-06/1.161, allocations: 0 / 0.7174 GB, free: 21.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=333): time 0.05503/1.216, allocations: 23.25 MB / 0.7401 GB, free: 1.348 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/1.216, allocations: 158.7 kB / 0.7402 GB, free: 1.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008708/1.225, allocations: 6.053 MB / 0.7461 GB, free: 11.1 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0006557/1.226, allocations: 79.67 kB / 0.7462 GB, free: 11.02 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004992/1.231, allocations: 5.309 MB / 0.7514 GB, free: 5.738 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001514/1.232, allocations: 1.263 MB / 0.7526 GB, free: 4.484 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001311/1.234, allocations: 0.8346 MB / 0.7535 GB, free: 3.645 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 9.881e-05/1.234, allocations: 301.1 kB / 0.7537 GB, free: 3.348 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004968/1.239, allocations: 2.901 MB / 0.7566 GB, free: 452 kB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009171/1.248, allocations: 8.723 MB / 0.7651 GB, free: 4.953 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01513/1.263, allocations: 12.63 MB / 0.7774 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001492/1.263, allocations: 64 kB / 0.7775 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02157/1.285, allocations: 11.4 MB / 0.7886 GB, free: 11.97 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001529/1.285, allocations: 121.7 kB / 0.7887 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000219/1.285, allocations: 208 kB / 0.7889 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002386/1.285, allocations: 272 kB / 0.7892 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007876/1.293, allocations: 2.377 MB / 0.7915 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004275/1.294, allocations: 405.8 kB / 0.7919 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006767/1.301, allocations: 491.4 kB / 0.7924 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001221/1.302, allocations: 0.5781 MB / 0.7929 GB, free: 7.832 MB / 0.545 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.00586/1.308, allocations: 3.398 MB / 0.7962 GB, free: 4.621 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009724/1.309, allocations: 0.5437 MB / 0.7968 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006377/1.315, allocations: 3.549 MB / 0.8002 GB, free: 484 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-05/1.315, allocations: 36 kB / 0.8003 GB, free: 448 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/1.315, allocations: 1.641 kB / 0.8003 GB, free: 448 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.544e-05/1.315, allocations: 11.95 kB / 0.8003 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02322/1.338, allocations: 13.81 MB / 0.8138 GB, free: 2.352 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.193e-05/1.339, allocations: 39.98 kB / 0.8138 GB, free: 2.312 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00264/1.341, allocations: 0.6768 MB / 0.8145 GB, free: 1.676 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.959e-05/1.341, allocations: 51.94 kB / 0.8145 GB, free: 1.625 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002449/1.342, allocations: 102.7 kB / 0.8146 GB, free: 1.527 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.359e-05/1.342, allocations: 69 kB / 0.8147 GB, free: 1.473 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-05/1.342, allocations: 52.5 kB / 0.8147 GB, free: 1.438 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009061/1.351, allocations: 6.238 MB / 0.8208 GB, free: 10.61 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002644/1.353, allocations: 0.8671 MB / 0.8217 GB, free: 9.719 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000859/1.354, allocations: 99.97 kB / 0.8218 GB, free: 9.621 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002337/1.357, allocations: 175.2 kB / 0.8219 GB, free: 9.453 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004647/1.357, allocations: 315 kB / 0.8222 GB, free: 9.172 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002214/1.357, allocations: 132 kB / 0.8224 GB, free: 9.043 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006906/1.364, allocations: 3.761 MB / 0.826 GB, free: 5.285 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.7e-07/1.364, allocations: 0 / 0.826 GB, free: 5.285 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.008117/1.372, allocations: 1.576 MB / 0.8276 GB, free: 3.715 MB / 0.5763 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.0007261/1.373, allocations: 288 kB / 0.8279 GB, free: 3.477 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0119/1.385, allocations: 6.654 MB / 0.8344 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.133e-05/1.385, allocations: 4 kB / 0.8344 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003644/1.389, allocations: 1.897 MB / 0.8362 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0303/1.419, allocations: 0.7728 MB / 0.837 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2338/1.653, allocations: 19.59 MB / 0.8561 GB, free: 229.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006126/1.659, allocations: 5.141 MB / 0.8611 GB, free: 228.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006828/1.666, allocations: 2.756 MB / 0.8638 GB, free: 228.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/1.667, allocations: 418.5 kB / 0.8642 GB, free: 228.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.062e-06/1.667, allocations: 0 / 0.8642 GB, free: 228.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.09699/1.764, allocations: 49.34 MB / 0.9124 GB, free: 213.7 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: