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.01199/0.01199, allocations: 102 kB / 15.73 MB, free: 6.039 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.002352/0.002352, allocations: 193 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.562/1.562, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2114/0.2114, allocations: 39.97 MB / 309.9 MB, free: 4 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.001467/0.001467, allocations: 76.05 kB / 435.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.138, allocations: 56.88 MB / 492.7 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01986/0.158, allocations: 17.7 MB / 0.4984 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0145/0.1725, allocations: 5.271 MB / 0.5035 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004937/0.1775, allocations: 103.8 kB / 0.5036 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01117/0.1887, allocations: 5.225 MB / 0.5087 GB, free: 6.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01019/0.199, allocations: 2.746 MB / 0.5114 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003986/0.203, allocations: 1.205 MB / 0.5126 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.3479/0.5509, allocations: 7.08 MB / 0.5195 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01237/0.5633, allocations: 6.556 MB / 0.5259 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009838/0.5732, allocations: 2.811 MB / 0.5287 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009816/0.5831, allocations: 4.014 MB / 0.5326 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004181/0.5873, allocations: 0.6293 MB / 0.5332 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00629/0.5936, allocations: 1.325 MB / 0.5345 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00853/0.6022, allocations: 3.533 MB / 0.5379 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009119/0.6113, allocations: 4.069 MB / 0.5419 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02105/0.6324, allocations: 12.26 MB / 0.5539 GB, free: 8.426 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.541e-05/0.6325, allocations: 3.984 kB / 0.5539 GB, free: 8.422 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.6325, allocations: 2.625 kB / 0.5539 GB, free: 8.422 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006662/0.6332, allocations: 2.406 kB / 0.5539 GB, free: 8.422 MB / 414.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.03163/0.6648, allocations: 8.271 MB / 0.562 GB, free: 1.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.931e-05/0.6649, allocations: 11.89 kB / 0.562 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01241/0.6773, allocations: 2.729 MB / 0.5647 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01103/0.6884, allocations: 4.017 MB / 0.5686 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004554/0.6889, allocations: 463.8 kB / 0.569 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002751/0.6917, allocations: 0.587 MB / 0.5696 GB, free: 9.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05039/0.7421, allocations: 21.26 MB / 0.5904 GB, free: 3.512 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003089/0.7424, allocations: 69.19 kB / 0.5904 GB, free: 3.477 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001578/0.744, allocations: 290 kB / 0.5907 GB, free: 3.258 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005841/0.7499, allocations: 3.54 MB / 0.5942 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04417/0.7941, allocations: 17.26 MB / 0.611 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1029/0.897, allocations: 67.57 MB / 0.677 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01898/0.9161, allocations: 6.759 MB / 0.6836 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004347/0.9204, allocations: 2.36 MB / 0.6859 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01945/0.9399, allocations: 9.806 MB / 0.6955 GB, free: 6.895 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01539/0.9554, allocations: 4.383 MB / 0.6998 GB, free: 2.457 MB / 0.545 GB Notification: Performance of pre-optimization done (n=299): time 6.873e-06/0.9554, allocations: 0 / 0.6998 GB, free: 2.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=333): time 0.0649/1.02, allocations: 23.11 MB / 0.7223 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/1.021, allocations: 162.7 kB / 0.7225 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009994/1.031, allocations: 6.05 MB / 0.7284 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007244/1.031, allocations: 77.7 kB / 0.7285 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.3667/1.398, allocations: 5.291 MB / 0.7336 GB, free: 195.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001889/1.4, allocations: 1.27 MB / 0.7349 GB, free: 195.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00383/1.404, allocations: 1.94 MB / 0.7368 GB, free: 195.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.029e-05/1.404, allocations: 304.9 kB / 0.7371 GB, free: 194.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005523/1.409, allocations: 2.891 MB / 0.7399 GB, free: 194.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008972/1.418, allocations: 8.71 MB / 0.7484 GB, free: 185.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0159/1.434, allocations: 12.61 MB / 0.7607 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004723/1.435, allocations: 58.5 kB / 0.7608 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02468/1.46, allocations: 11.37 MB / 0.7719 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002062/1.46, allocations: 122.9 kB / 0.772 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002799/1.46, allocations: 205.1 kB / 0.7722 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002681/1.46, allocations: 274.4 kB / 0.7724 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007943/1.468, allocations: 2.372 MB / 0.7748 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002997/1.469, allocations: 403 kB / 0.7751 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007038/1.476, allocations: 491.1 kB / 0.7756 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/1.477, allocations: 0.5785 MB / 0.7762 GB, free: 169.6 MB / 0.5762 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.005695/1.483, allocations: 3.403 MB / 0.7795 GB, free: 168 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008313/1.484, allocations: 0.539 MB / 0.78 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00546/1.489, allocations: 3.528 MB / 0.7835 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.899e-05/1.489, allocations: 36 kB / 0.7835 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/1.489, allocations: 3.938 kB / 0.7835 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.622e-05/1.489, allocations: 18.05 kB / 0.7835 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02055/1.51, allocations: 13.72 MB / 0.7969 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.724e-05/1.51, allocations: 35.12 kB / 0.797 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002344/1.512, allocations: 0.6563 MB / 0.7976 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.211e-05/1.512, allocations: 46.16 kB / 0.7976 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001665/1.512, allocations: 108 kB / 0.7977 GB, free: 155 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.373e-05/1.512, allocations: 63.78 kB / 0.7978 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-05/1.513, allocations: 55.75 kB / 0.7979 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00674/1.519, allocations: 6.213 MB / 0.8039 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002406/1.522, allocations: 0.838 MB / 0.8047 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006217/1.522, allocations: 112.9 kB / 0.8049 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00196/1.524, allocations: 156.9 kB / 0.805 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003521/1.525, allocations: 307.9 kB / 0.8053 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001626/1.525, allocations: 134.4 kB / 0.8054 GB, free: 147.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005201/1.53, allocations: 3.765 MB / 0.8091 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.11e-07/1.53, allocations: 0 / 0.8091 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01007/1.54, allocations: 1.576 MB / 0.8106 GB, free: 142.1 MB / 0.5762 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.000834/1.541, allocations: 284.8 kB / 0.8109 GB, free: 141.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01116/1.552, allocations: 6.707 MB / 0.8175 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.164e-05/1.552, allocations: 8.188 kB / 0.8175 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003378/1.556, allocations: 1.881 MB / 0.8193 GB, free: 133.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005096/1.561, allocations: 0.7982 MB / 0.8201 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02852/1.589, allocations: 15.64 MB / 0.8354 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005671/1.595, allocations: 5.147 MB / 0.8404 GB, free: 111.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005843/1.601, allocations: 2.754 MB / 0.8431 GB, free: 108.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/1.602, allocations: 423.4 kB / 0.8435 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.253e-06/1.602, allocations: 0 / 0.8435 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.08391/1.686, allocations: 45.85 MB / 0.8883 GB, free: 62.44 MB / 0.5762 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)