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.001155/0.001154, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001232/0.001232, allocations: 190.9 kB / 16.14 MB, free: 6.66 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.564/1.564, allocations: 205.1 MB / 222 MB, free: 4.758 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.4/0.4, allocations: 39.94 MB / 309.3 MB, free: 9.316 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.001543/0.001543, allocations: 59.92 kB / 376.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1438, allocations: 56.89 MB / 433.8 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.388/0.5318, allocations: 87.58 MB / 0.5092 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05932/0.5912, allocations: 16.78 MB / 0.5256 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02833/0.6195, allocations: 371.4 kB / 0.5259 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0117/0.6313, allocations: 5.23 MB / 0.531 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01086/0.6422, allocations: 2.587 MB / 0.5335 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004259/0.6465, allocations: 1.101 MB / 0.5346 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01746/0.664, allocations: 10.3 MB / 0.5447 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01154/0.6756, allocations: 6.553 MB / 0.5511 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006558/0.6822, allocations: 2.515 MB / 0.5535 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007845/0.6901, allocations: 4.249 MB / 0.5577 GB, free: 9.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003/0.6931, allocations: 488 kB / 0.5582 GB, free: 9.504 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005098/0.6982, allocations: 1.225 MB / 0.5593 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005754/0.704, allocations: 3.413 MB / 0.5627 GB, free: 4.855 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009226/0.7133, allocations: 3.891 MB / 0.5665 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01882/0.7321, allocations: 11.68 MB / 0.5779 GB, free: 5.227 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.7322, allocations: 0 / 0.5779 GB, free: 5.227 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.7322, allocations: 4 kB / 0.5779 GB, free: 5.223 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006198/0.7328, allocations: 0 / 0.5779 GB, free: 5.223 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.02999/0.7628, allocations: 8.265 MB / 0.586 GB, free: 12.87 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/0.7629, allocations: 8.031 kB / 0.586 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0128/0.7757, allocations: 2.728 MB / 0.5886 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01152/0.7873, allocations: 3.959 MB / 0.5925 GB, free: 6.098 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006448/0.788, allocations: 460.2 kB / 0.5929 GB, free: 5.648 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00317/0.7912, allocations: 0.5933 MB / 0.5935 GB, free: 5.055 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04868/0.8399, allocations: 21.26 MB / 0.6143 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004277/0.8404, allocations: 67.31 kB / 0.6143 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002755/0.8431, allocations: 291.7 kB / 0.6146 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006097/0.8493, allocations: 3.541 MB / 0.6181 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.57/1.419, allocations: 17.25 MB / 0.6349 GB, free: 139.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1563/1.576, allocations: 67.92 MB / 0.7012 GB, free: 93.39 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02004/1.596, allocations: 6.741 MB / 0.7078 GB, free: 91.03 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004845/1.601, allocations: 2.333 MB / 0.7101 GB, free: 89.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01961/1.62, allocations: 9.814 MB / 0.7197 GB, free: 83.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01351/1.634, allocations: 4.389 MB / 0.724 GB, free: 81.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=299): time 7.183e-06/1.634, allocations: 0 / 0.724 GB, free: 81.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=333): time 0.05832/1.692, allocations: 23.11 MB / 0.7465 GB, free: 58.22 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/1.692, allocations: 166.7 kB / 0.7467 GB, free: 58.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007502/1.7, allocations: 6.046 MB / 0.7526 GB, free: 51.96 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006663/1.701, allocations: 77.7 kB / 0.7527 GB, free: 51.88 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003499/1.704, allocations: 5.305 MB / 0.7579 GB, free: 46.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001436/1.706, allocations: 1.269 MB / 0.7591 GB, free: 45.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002489/1.708, allocations: 1.94 MB / 0.761 GB, free: 43.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.205e-05/1.708, allocations: 306 kB / 0.7613 GB, free: 43.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004147/1.712, allocations: 2.889 MB / 0.7641 GB, free: 40.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007697/1.72, allocations: 8.703 MB / 0.7726 GB, free: 28.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01266/1.733, allocations: 12.61 MB / 0.7849 GB, free: 13.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002168/1.733, allocations: 60 kB / 0.785 GB, free: 12.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02224/1.755, allocations: 11.37 MB / 0.7961 GB, free: 1.562 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001608/1.755, allocations: 125.7 kB / 0.7962 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002408/1.756, allocations: 208.8 kB / 0.7964 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002141/1.756, allocations: 272 kB / 0.7967 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008275/1.764, allocations: 2.371 MB / 0.799 GB, free: 14.59 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004038/1.765, allocations: 403.6 kB / 0.7994 GB, free: 14.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008273/1.773, allocations: 491.4 kB / 0.7998 GB, free: 13.71 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003121/1.776, allocations: 0.5742 MB / 0.8004 GB, free: 13.14 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.009679/1.786, allocations: 3.405 MB / 0.8037 GB, free: 9.719 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00158/1.787, allocations: 0.5491 MB / 0.8043 GB, free: 9.164 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008035/1.795, allocations: 3.519 MB / 0.8077 GB, free: 5.594 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.614e-05/1.795, allocations: 39.98 kB / 0.8077 GB, free: 5.555 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-05/1.796, allocations: 0 / 0.8077 GB, free: 5.555 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.981e-05/1.796, allocations: 11.95 kB / 0.8077 GB, free: 5.543 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02905/1.825, allocations: 13.75 MB / 0.8212 GB, free: 7.242 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.702e-05/1.825, allocations: 36 kB / 0.8212 GB, free: 7.207 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002517/1.827, allocations: 0.6553 MB / 0.8218 GB, free: 6.551 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.282e-05/1.827, allocations: 48 kB / 0.8219 GB, free: 6.504 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002106/1.828, allocations: 107.9 kB / 0.822 GB, free: 6.398 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-05/1.828, allocations: 67.78 kB / 0.8221 GB, free: 6.332 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.238e-05/1.828, allocations: 55.75 kB / 0.8221 GB, free: 6.277 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2834/2.111, allocations: 6.206 MB / 0.8282 GB, free: 158.7 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003926/2.115, allocations: 0.8407 MB / 0.829 GB, free: 158.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001384/2.116, allocations: 101.3 kB / 0.8291 GB, free: 158.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003047/2.119, allocations: 168.8 kB / 0.8292 GB, free: 158.6 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005046/2.12, allocations: 302.6 kB / 0.8295 GB, free: 158.6 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000218/2.12, allocations: 135.6 kB / 0.8297 GB, free: 158.6 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007391/2.128, allocations: 3.768 MB / 0.8333 GB, free: 158.4 MB / 0.5138 GB Notification: Performance of sort global known variables: time 5.72e-07/2.128, allocations: 0 / 0.8333 GB, free: 158.4 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009515/2.137, allocations: 1.572 MB / 0.8349 GB, free: 158.4 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.0008833/2.138, allocations: 283.2 kB / 0.8351 GB, free: 158.3 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01083/2.149, allocations: 6.627 MB / 0.8416 GB, free: 156.2 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.739e-05/2.149, allocations: 9 kB / 0.8416 GB, free: 156.2 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.003827/2.153, allocations: 1.883 MB / 0.8435 GB, free: 155.6 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005972/2.159, allocations: 0.7667 MB / 0.8442 GB, free: 155.2 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03293/2.192, allocations: 19.44 MB / 0.8632 GB, free: 144.1 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009514/2.201, allocations: 5.141 MB / 0.8682 GB, free: 142.4 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.009974/2.211, allocations: 2.762 MB / 0.8709 GB, free: 142.1 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002177/2.214, allocations: 414.5 kB / 0.8713 GB, free: 142.1 MB / 0.5138 GB Notification: Performance of SimCode: time 9.82e-07/2.214, allocations: 0 / 0.8713 GB, free: 142.1 MB / 0.5138 GB Notification: Performance of Templates: time 0.09971/2.313, allocations: 49.74 MB / 0.9199 GB, free: 108.5 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)