Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.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.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00159/0.00159, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.505/1.505, allocations: 205.1 MB / 222 MB, free: 4.77 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.4078/0.4078, allocations: 39.93 MB / 309.3 MB, free: 9.633 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.001399/0.001399, allocations: 63.91 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1548, allocations: 56.88 MB / 433.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.373/0.5278, allocations: 87.54 MB / 0.5091 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05292/0.5808, allocations: 16.73 MB / 0.5255 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02622/0.607, allocations: 370.6 kB / 0.5258 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01178/0.6189, allocations: 5.226 MB / 0.5309 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01096/0.6299, allocations: 2.578 MB / 0.5334 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00444/0.6344, allocations: 1.097 MB / 0.5345 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01829/0.6527, allocations: 10.25 MB / 0.5445 GB, free: 7.684 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009138/0.6619, allocations: 6.54 MB / 0.5509 GB, free: 1.125 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005789/0.6677, allocations: 2.496 MB / 0.5533 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00685/0.6746, allocations: 4.233 MB / 0.5575 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002561/0.6772, allocations: 480 kB / 0.5579 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004381/0.6816, allocations: 1.221 MB / 0.5591 GB, free: 8.684 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005759/0.6874, allocations: 3.413 MB / 0.5625 GB, free: 5.262 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00843/0.6958, allocations: 3.872 MB / 0.5662 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01574/0.7116, allocations: 11.65 MB / 0.5776 GB, free: 5.684 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.7116, allocations: 4 kB / 0.5776 GB, free: 5.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.7116, allocations: 0 / 0.5776 GB, free: 5.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005145/0.7122, allocations: 0 / 0.5776 GB, free: 5.68 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: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02033/0.7325, allocations: 8.179 MB / 0.5856 GB, free: 13.42 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.7326, allocations: 8.031 kB / 0.5856 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/0.7443, allocations: 2.728 MB / 0.5883 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008645/0.7529, allocations: 3.943 MB / 0.5921 GB, free: 6.664 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004318/0.7534, allocations: 464.1 kB / 0.5926 GB, free: 6.211 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002189/0.7556, allocations: 0.5894 MB / 0.5931 GB, free: 5.621 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04267/0.7983, allocations: 21.22 MB / 0.6139 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002219/0.7986, allocations: 79.33 kB / 0.6139 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009466/0.7995, allocations: 283.7 kB / 0.6142 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005069/0.8046, allocations: 3.545 MB / 0.6177 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5572/1.362, allocations: 17.19 MB / 0.6345 GB, free: 139.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08841/1.45, allocations: 67.86 MB / 0.7007 GB, free: 93.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01875/1.469, allocations: 6.672 MB / 0.7072 GB, free: 91.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004501/1.474, allocations: 2.285 MB / 0.7095 GB, free: 90.42 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01698/1.491, allocations: 9.784 MB / 0.719 GB, free: 83.97 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/1.491, allocations: 62.84 kB / 0.7191 GB, free: 83.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=296): time 5.19e-06/1.491, allocations: 3.938 kB / 0.7191 GB, free: 83.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=330): time 0.05486/1.546, allocations: 22.76 MB / 0.7413 GB, free: 63.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/1.546, allocations: 170.7 kB / 0.7415 GB, free: 63.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00736/1.553, allocations: 6.029 MB / 0.7474 GB, free: 57.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000713/1.554, allocations: 77.7 kB / 0.7474 GB, free: 57.58 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002334/1.556, allocations: 5.19 MB / 0.7525 GB, free: 52.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001255/1.557, allocations: 1.242 MB / 0.7537 GB, free: 51.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00205/1.559, allocations: 1.944 MB / 0.7556 GB, free: 49.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.029e-05/1.56, allocations: 301.1 kB / 0.7559 GB, free: 48.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003867/1.563, allocations: 2.854 MB / 0.7587 GB, free: 45.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006227/1.57, allocations: 8.671 MB / 0.7672 GB, free: 34.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01289/1.583, allocations: 12.51 MB / 0.7794 GB, free: 19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001795/1.583, allocations: 57.31 kB / 0.7794 GB, free: 18.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.02113/1.604, allocations: 11.26 MB / 0.7904 GB, free: 7.645 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002881/1.604, allocations: 100.1 kB / 0.7905 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003913/1.605, allocations: 204 kB / 0.7907 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003363/1.605, allocations: 279.9 kB / 0.791 GB, free: 7.074 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008281/1.613, allocations: 2.355 MB / 0.7933 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004161/1.614, allocations: 402.5 kB / 0.7937 GB, free: 4.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01089/1.625, allocations: 483.3 kB / 0.7941 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002217/1.627, allocations: 0.5742 MB / 0.7947 GB, free: 3.273 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: 72 (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 (1267): * Single equations (assignments): 1264 * Array equations: 3 * Algorithm blocks: 0 * 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.007255/1.634, allocations: 3.401 MB / 0.798 GB, free: 15.85 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001555/1.636, allocations: 0.5399 MB / 0.7985 GB, free: 15.3 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008232/1.644, allocations: 3.454 MB / 0.8019 GB, free: 11.8 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.137e-05/1.644, allocations: 36 kB / 0.8019 GB, free: 11.77 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.849e-05/1.644, allocations: 0 / 0.8019 GB, free: 11.77 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.666e-05/1.644, allocations: 19.81 kB / 0.802 GB, free: 11.75 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03221/1.676, allocations: 13.78 MB / 0.8154 GB, free: 13.41 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001067/1.677, allocations: 32 kB / 0.8155 GB, free: 13.38 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002592/1.679, allocations: 0.6091 MB / 0.816 GB, free: 12.77 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.072e-05/1.679, allocations: 48 kB / 0.8161 GB, free: 12.73 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003789/1.68, allocations: 103.9 kB / 0.8162 GB, free: 12.62 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.235e-05/1.68, allocations: 67.78 kB / 0.8163 GB, free: 12.56 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.129e-05/1.68, allocations: 55.75 kB / 0.8163 GB, free: 12.5 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009066/1.689, allocations: 6.313 MB / 0.8225 GB, free: 5.578 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002628/1.692, allocations: 0.8413 MB / 0.8233 GB, free: 4.711 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001044/1.693, allocations: 103.9 kB / 0.8234 GB, free: 4.609 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002363/1.695, allocations: 143.9 kB / 0.8235 GB, free: 4.469 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004065/1.695, allocations: 296.2 kB / 0.8238 GB, free: 4.18 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002058/1.696, allocations: 136 kB / 0.8239 GB, free: 4.047 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006913/1.703, allocations: 3.752 MB / 0.8276 GB, free: 304 kB / 0.5138 GB Notification: Performance of sort global known variables: time 4.1e-07/1.703, allocations: 0 / 0.8276 GB, free: 304 kB / 0.5138 GB Notification: Performance of remove unused functions: time 0.3361/2.039, allocations: 1.559 MB / 0.8291 GB, free: 159.2 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (317): * Single equations (assignments): 314 * Array equations: 3 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0007244/2.039, allocations: 282.5 kB / 0.8294 GB, free: 159.1 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01159/2.051, allocations: 6.499 MB / 0.8357 GB, free: 158.6 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-05/2.051, allocations: 6.25 kB / 0.8358 GB, free: 158.6 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002557/2.054, allocations: 1.568 MB / 0.8373 GB, free: 158.2 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005788/2.059, allocations: 0.7597 MB / 0.838 GB, free: 157.9 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03412/2.094, allocations: 19.42 MB / 0.857 GB, free: 146.8 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009123/2.103, allocations: 5.134 MB / 0.862 GB, free: 145 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008692/2.112, allocations: 2.758 MB / 0.8647 GB, free: 144.8 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/2.113, allocations: 422.2 kB / 0.8651 GB, free: 144.8 MB / 0.5138 GB Notification: Performance of SimCode: time 1.422e-06/2.113, allocations: 1.688 kB / 0.8651 GB, free: 144.8 MB / 0.5138 GB Notification: Performance of Templates: time 0.1143/2.227, allocations: 49 MB / 0.9129 GB, free: 115.4 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1)