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.00072/0.00072, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0007676/0.0007677, allocations: 168.7 kB / 15.95 MB, free: 204 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.316/1.316, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.2943/0.2943, allocations: 38.04 MB / 308.4 MB, free: 10.38 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.0005558/0.0005559, allocations: 20 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1158, allocations: 57.53 MB / 434 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.287/0.4028, allocations: 79.49 MB / 0.5014 GB, free: 4.773 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04301/0.4459, allocations: 16.04 MB / 0.5171 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02064/0.4666, allocations: 367.3 kB / 0.5174 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01882/0.4854, allocations: 4.17 MB / 0.5215 GB, free: 8.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0427/0.5282, allocations: 12.13 MB / 0.5333 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006396/0.5346, allocations: 1.078 MB / 0.5344 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01332/0.548, allocations: 8.203 MB / 0.5424 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01427/0.5623, allocations: 8.574 MB / 0.5508 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006071/0.5684, allocations: 2.18 MB / 0.5529 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007159/0.5756, allocations: 3.61 MB / 0.5564 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001503/0.5772, allocations: 279.9 kB / 0.5567 GB, free: 14.6 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00315/0.5803, allocations: 0.8778 MB / 0.5576 GB, free: 13.72 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004008/0.5844, allocations: 3.054 MB / 0.5605 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002637/0.587, allocations: 1.427 MB / 0.5619 GB, free: 9.223 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01106/0.5981, allocations: 9.367 MB / 0.5711 GB, free: 15.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.5982, allocations: 0 / 0.5711 GB, free: 15.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.5982, allocations: 0 / 0.5711 GB, free: 15.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004986/0.5987, allocations: 0 / 0.5711 GB, free: 15.83 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.01528/0.614, allocations: 6.79 MB / 0.5777 GB, free: 8.953 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.614, allocations: 8.031 kB / 0.5777 GB, free: 8.945 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01148/0.6255, allocations: 2.788 MB / 0.5804 GB, free: 6.145 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01053/0.6361, allocations: 3.893 MB / 0.5842 GB, free: 2.191 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005923/0.6367, allocations: 463.5 kB / 0.5847 GB, free: 1.738 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002486/0.6392, allocations: 0.5894 MB / 0.5853 GB, free: 1.148 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04646/0.6857, allocations: 21.28 MB / 0.606 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003811/0.6862, allocations: 75.34 kB / 0.6061 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003021/0.6892, allocations: 287.7 kB / 0.6064 GB, free: 10.36 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00633/0.6956, allocations: 3.541 MB / 0.6098 GB, free: 6.816 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03837/0.734, allocations: 17.26 MB / 0.6267 GB, free: 5.531 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6137/1.348, allocations: 67.87 MB / 0.693 GB, free: 35.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01631/1.364, allocations: 6.771 MB / 0.6996 GB, free: 34.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003416/1.368, allocations: 2.333 MB / 0.7019 GB, free: 34.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01435/1.382, allocations: 9.823 MB / 0.7115 GB, free: 30.35 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01201/1.394, allocations: 4.418 MB / 0.7158 GB, free: 28.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=299): time 8.857e-06/1.394, allocations: 0 / 0.7158 GB, free: 28.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=333): time 0.05991/1.454, allocations: 23.19 MB / 0.7384 GB, free: 11.94 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/1.454, allocations: 169.4 kB / 0.7386 GB, free: 11.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009949/1.464, allocations: 6.009 MB / 0.7445 GB, free: 7.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005859/1.465, allocations: 79.12 kB / 0.7445 GB, free: 7.203 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003651/1.468, allocations: 5.302 MB / 0.7497 GB, free: 2.898 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0015/1.47, allocations: 1.273 MB / 0.751 GB, free: 1.836 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001049/1.471, allocations: 198.1 kB / 0.7511 GB, free: 1.797 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000813/1.472, allocations: 0.7237 MB / 0.7518 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005355/1.477, allocations: 2.859 MB / 0.7546 GB, free: 15.22 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01025/1.487, allocations: 8.687 MB / 0.7631 GB, free: 4.961 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008437/1.496, allocations: 4.86 MB / 0.7679 GB, free: 1.566 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002775/1.496, allocations: 56 kB / 0.7679 GB, free: 1.512 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02416/1.52, allocations: 11.32 MB / 0.779 GB, free: 7.359 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.000413/1.521, allocations: 117.7 kB / 0.7791 GB, free: 7.238 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004931/1.521, allocations: 204 kB / 0.7793 GB, free: 7.039 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005473/1.522, allocations: 308 kB / 0.7796 GB, free: 6.738 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00821/1.53, allocations: 2.381 MB / 0.7819 GB, free: 4.562 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005325/1.531, allocations: 401.8 kB / 0.7823 GB, free: 4.254 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006895/1.538, allocations: 495.3 kB / 0.7828 GB, free: 3.77 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001675/1.539, allocations: 0.5837 MB / 0.7833 GB, free: 3.188 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 (1271): * Single equations (assignments): 1267 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008214/1.548, allocations: 3.405 MB / 0.7867 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001513/1.549, allocations: 0.5438 MB / 0.7872 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008705/1.558, allocations: 3.536 MB / 0.7906 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.872e-05/1.558, allocations: 37.52 kB / 0.7907 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.096e-05/1.558, allocations: 8 kB / 0.7907 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.887e-05/1.558, allocations: 15.94 kB / 0.7907 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03001/1.588, allocations: 13.79 MB / 0.8042 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001365/1.588, allocations: 36 kB / 0.8042 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003163/1.591, allocations: 0.6787 MB / 0.8049 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.361e-05/1.591, allocations: 55.95 kB / 0.8049 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005202/1.592, allocations: 99.98 kB / 0.805 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.568e-05/1.592, allocations: 71.06 kB / 0.8051 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.473e-05/1.592, allocations: 49.31 kB / 0.8051 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/1.602, allocations: 6.213 MB / 0.8112 GB, free: 6.027 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002421/1.605, allocations: 0.8452 MB / 0.812 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001252/1.606, allocations: 109.7 kB / 0.8121 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002775/1.609, allocations: 179.8 kB / 0.8123 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004814/1.609, allocations: 308.8 kB / 0.8126 GB, free: 4.602 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002948/1.61, allocations: 132 kB / 0.8127 GB, free: 4.473 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008281/1.618, allocations: 3.725 MB / 0.8164 GB, free: 0.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.82e-07/1.618, allocations: 0 / 0.8164 GB, free: 0.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01016/1.628, allocations: 1.577 MB / 0.8179 GB, free: 15.18 MB / 0.5607 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 (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.001087/1.629, allocations: 275.7 kB / 0.8182 GB, free: 14.95 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01306/1.642, allocations: 6.607 MB / 0.8246 GB, free: 8.957 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 3.724e-05/1.642, allocations: 8.25 kB / 0.8246 GB, free: 8.949 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.004332/1.647, allocations: 1.883 MB / 0.8265 GB, free: 7.203 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00638/1.653, allocations: 0.7739 MB / 0.8272 GB, free: 6.438 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03506/1.688, allocations: 18.78 MB / 0.8456 GB, free: 3.246 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2257/1.914, allocations: 5.145 MB / 0.8506 GB, free: 214.9 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007263/1.921, allocations: 2.752 MB / 0.8533 GB, free: 214.8 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/1.923, allocations: 421.7 kB / 0.8537 GB, free: 214.8 MB / 0.5763 GB Notification: Performance of SimCode: time 1.573e-06/1.923, allocations: 0 / 0.8537 GB, free: 214.8 MB / 0.5763 GB Notification: Performance of Templates: time 0.09711/2.02, allocations: 48.23 MB / 0.9008 GB, free: 202.6 MB / 0.5763 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: