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.00155/0.00155, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.582/1.582, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.3979/0.3979, allocations: 39.94 MB / 309.7 MB, free: 9.324 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.001578/0.001578, allocations: 74.41 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.161, allocations: 56.88 MB / 434.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01972/0.1808, allocations: 17.69 MB / 452.2 MB, free: 1.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3202/0.501, allocations: 5.254 MB / 457.4 MB, free: 36.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004079/0.5052, allocations: 107.2 kB / 457.5 MB, free: 36.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00938/0.5146, allocations: 5.245 MB / 462.8 MB, free: 35.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008577/0.5232, allocations: 2.738 MB / 465.5 MB, free: 35.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003555/0.5268, allocations: 1.205 MB / 466.7 MB, free: 34.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0121/0.5389, allocations: 7.069 MB / 473.8 MB, free: 32.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009597/0.5486, allocations: 6.57 MB / 480.4 MB, free: 30.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007258/0.5559, allocations: 2.803 MB / 483.2 MB, free: 29.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009934/0.5659, allocations: 4.007 MB / 487.2 MB, free: 27.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004237/0.5701, allocations: 0.629 MB / 487.8 MB, free: 27.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006865/0.577, allocations: 1.337 MB / 489.1 MB, free: 27.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00726/0.5843, allocations: 3.514 MB / 492.7 MB, free: 26.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01071/0.5951, allocations: 4.028 MB / 496.7 MB, free: 23.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02074/0.6158, allocations: 11.84 MB / 0.4966 GB, free: 17.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.272e-05/0.6159, allocations: 1.5 kB / 0.4966 GB, free: 17.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.6159, allocations: 0 / 0.4966 GB, free: 17.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007238/0.6166, allocations: 4 kB / 0.4966 GB, free: 17.66 MB / 382.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.03045/0.6471, allocations: 8.276 MB / 0.5047 GB, free: 12.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.6471, allocations: 14.98 kB / 0.5047 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01347/0.6606, allocations: 2.723 MB / 0.5074 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01169/0.6724, allocations: 3.956 MB / 0.5112 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003848/0.6728, allocations: 463.7 kB / 0.5117 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00354/0.6763, allocations: 0.5886 MB / 0.5122 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05532/0.7317, allocations: 21.26 MB / 0.533 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003106/0.732, allocations: 63.41 kB / 0.5331 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001533/0.7336, allocations: 289.6 kB / 0.5333 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005976/0.7396, allocations: 3.542 MB / 0.5368 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04788/0.7875, allocations: 17.27 MB / 0.5537 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1082/0.8957, allocations: 67.91 MB / 0.62 GB, free: 5.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3263/1.222, allocations: 6.734 MB / 0.6266 GB, free: 141.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004765/1.227, allocations: 2.329 MB / 0.6288 GB, free: 141.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01715/1.244, allocations: 9.821 MB / 0.6384 GB, free: 137.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01449/1.259, allocations: 4.385 MB / 0.6427 GB, free: 136.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=299): time 6.432e-06/1.259, allocations: 0 / 0.6427 GB, free: 136.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=333): time 0.06964/1.328, allocations: 23.1 MB / 0.6653 GB, free: 128.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.678e-05/1.328, allocations: 165.4 kB / 0.6654 GB, free: 128.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01256/1.341, allocations: 6.051 MB / 0.6713 GB, free: 126 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008348/1.342, allocations: 77.27 kB / 0.6714 GB, free: 125.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005588/1.347, allocations: 5.297 MB / 0.6766 GB, free: 121.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0019/1.349, allocations: 1.275 MB / 0.6778 GB, free: 121 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003941/1.353, allocations: 1.941 MB / 0.6797 GB, free: 120.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.39e-05/1.353, allocations: 301.1 kB / 0.68 GB, free: 119.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006121/1.36, allocations: 2.891 MB / 0.6828 GB, free: 118.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01156/1.371, allocations: 8.713 MB / 0.6913 GB, free: 110.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01384/1.385, allocations: 12.61 MB / 0.7036 GB, free: 97.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001822/1.385, allocations: 56 kB / 0.7037 GB, free: 97 MB / 494.1 MB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02572/1.411, allocations: 11.37 MB / 0.7148 GB, free: 86.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003554/1.411, allocations: 117.7 kB / 0.7149 GB, free: 86.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005032/1.412, allocations: 211.8 kB / 0.7151 GB, free: 86.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000562/1.413, allocations: 275.9 kB / 0.7154 GB, free: 86.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009026/1.422, allocations: 2.369 MB / 0.7177 GB, free: 83.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005275/1.422, allocations: 405.7 kB / 0.7181 GB, free: 83.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0103/1.432, allocations: 487.4 kB / 0.7185 GB, free: 83.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002432/1.435, allocations: 0.5778 MB / 0.7191 GB, free: 82.51 MB / 494.1 MB 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.01123/1.446, allocations: 3.4 MB / 0.7224 GB, free: 79.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002029/1.448, allocations: 0.5515 MB / 0.723 GB, free: 78.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009997/1.458, allocations: 3.514 MB / 0.7264 GB, free: 74.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.235e-05/1.458, allocations: 43.88 kB / 0.7264 GB, free: 74.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.113e-05/1.458, allocations: 4 kB / 0.7264 GB, free: 74.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.057e-05/1.458, allocations: 15.94 kB / 0.7265 GB, free: 74.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02616/1.485, allocations: 13.74 MB / 0.7399 GB, free: 60.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.731e-05/1.485, allocations: 32 kB / 0.7399 GB, free: 60.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002349/1.487, allocations: 0.6547 MB / 0.7406 GB, free: 60.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.478e-05/1.487, allocations: 53.08 kB / 0.7406 GB, free: 59.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/1.487, allocations: 99.98 kB / 0.7407 GB, free: 59.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-05/1.487, allocations: 71.72 kB / 0.7408 GB, free: 59.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.473e-05/1.487, allocations: 47.81 kB / 0.7408 GB, free: 59.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00748/1.495, allocations: 6.205 MB / 0.7469 GB, free: 52.92 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002866/1.498, allocations: 0.8452 MB / 0.7477 GB, free: 52.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001058/1.499, allocations: 103.9 kB / 0.7478 GB, free: 51.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002394/1.501, allocations: 159.8 kB / 0.7479 GB, free: 51.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003915/1.502, allocations: 316.1 kB / 0.7482 GB, free: 51.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000165/1.502, allocations: 128 kB / 0.7484 GB, free: 51.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007042/1.509, allocations: 3.768 MB / 0.7521 GB, free: 47.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.62e-07/1.509, allocations: 0 / 0.7521 GB, free: 47.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01241/1.521, allocations: 1.577 MB / 0.7536 GB, free: 46.02 MB / 494.1 MB 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.0009115/1.522, allocations: 279.3 kB / 0.7539 GB, free: 45.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01422/1.536, allocations: 7.595 MB / 0.7613 GB, free: 38.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.171e-05/1.536, allocations: 8 kB / 0.7613 GB, free: 38.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003389/1.54, allocations: 1.879 MB / 0.7631 GB, free: 36.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005681/1.546, allocations: 0.7946 MB / 0.7639 GB, free: 35.56 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03009/1.576, allocations: 15.84 MB / 0.7794 GB, free: 19.24 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01041/1.586, allocations: 5.143 MB / 0.7844 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00796/1.594, allocations: 2.758 MB / 0.7871 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/1.596, allocations: 427.4 kB / 0.7875 GB, free: 10.88 MB / 494.1 MB Notification: Performance of SimCode: time 1.573e-06/1.596, allocations: 0 / 0.7875 GB, free: 10.88 MB / 494.1 MB Notification: Performance of Templates: time 0.3374/1.933, allocations: 51.84 MB / 0.8381 GB, free: 128.8 MB / 0.4981 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)