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.008691/0.008691, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.001499/0.001499, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.545/1.545, allocations: 205.1 MB / 222.5 MB, free: 4.383 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.3261/0.3261, allocations: 38 MB / 307.9 MB, free: 10.32 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.001523/0.001523, allocations: 76.56 kB / 433 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3817, allocations: 56.47 MB / 489.5 MB, free: 19.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01757/0.3993, allocations: 17.68 MB / 0.4953 GB, free: 7.379 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01518/0.4145, allocations: 5.263 MB / 0.5004 GB, free: 3.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007/0.4216, allocations: 104.4 kB / 0.5005 GB, free: 3.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01259/0.4343, allocations: 5.247 MB / 0.5056 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01143/0.4457, allocations: 2.74 MB / 0.5083 GB, free: 14.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004596/0.4503, allocations: 1.197 MB / 0.5095 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01347/0.4638, allocations: 7.078 MB / 0.5164 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009263/0.4731, allocations: 6.56 MB / 0.5228 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006535/0.4797, allocations: 2.804 MB / 0.5255 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007564/0.4873, allocations: 4.007 MB / 0.5294 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002508/0.4898, allocations: 0.6289 MB / 0.5301 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004382/0.4942, allocations: 1.331 MB / 0.5314 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004897/0.4992, allocations: 3.511 MB / 0.5348 GB, free: 9.207 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008659/0.5078, allocations: 4.036 MB / 0.5387 GB, free: 5.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01957/0.5274, allocations: 12.26 MB / 0.5507 GB, free: 8.844 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.5275, allocations: 0 / 0.5507 GB, free: 8.844 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5275, allocations: 0 / 0.5507 GB, free: 8.844 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000478/0.528, allocations: 3.938 kB / 0.5507 GB, free: 8.84 MB / 430.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.02198/0.55, allocations: 8.28 MB / 0.5588 GB, free: 480 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.55, allocations: 15.88 kB / 0.5588 GB, free: 464 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01195/0.562, allocations: 2.725 MB / 0.5615 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0107/0.5727, allocations: 4.018 MB / 0.5654 GB, free: 9.633 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000458/0.5732, allocations: 468 kB / 0.5658 GB, free: 9.176 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003125/0.5764, allocations: 0.5855 MB / 0.5664 GB, free: 8.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04814/0.6245, allocations: 21.26 MB / 0.5872 GB, free: 2.176 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002548/0.6248, allocations: 79.25 kB / 0.5872 GB, free: 2.098 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001137/0.626, allocations: 283.7 kB / 0.5875 GB, free: 1.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005673/0.6317, allocations: 3.545 MB / 0.591 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04483/0.6765, allocations: 17.25 MB / 0.6078 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6552/1.332, allocations: 67.57 MB / 0.6738 GB, free: 78.09 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02022/1.352, allocations: 6.746 MB / 0.6804 GB, free: 76.09 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004814/1.357, allocations: 2.353 MB / 0.6827 GB, free: 75.25 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02171/1.379, allocations: 9.815 MB / 0.6923 GB, free: 70.32 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01587/1.395, allocations: 4.383 MB / 0.6966 GB, free: 68.9 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=299): time 7.023e-06/1.395, allocations: 0 / 0.6966 GB, free: 68.9 MB / 0.4982 GB Notification: Performance of matching and sorting (n=333): time 0.06161/1.456, allocations: 23.11 MB / 0.7191 GB, free: 56.46 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.072e-05/1.456, allocations: 162.2 kB / 0.7193 GB, free: 56.3 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007872/1.464, allocations: 6.053 MB / 0.7252 GB, free: 50.35 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0006345/1.465, allocations: 73.7 kB / 0.7253 GB, free: 50.27 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003575/1.469, allocations: 5.305 MB / 0.7305 GB, free: 44.97 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001392/1.47, allocations: 1.266 MB / 0.7317 GB, free: 43.71 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002311/1.472, allocations: 1.933 MB / 0.7336 GB, free: 41.77 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 5.66e-05/1.472, allocations: 309.1 kB / 0.7339 GB, free: 41.46 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004507/1.477, allocations: 2.889 MB / 0.7367 GB, free: 38.57 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006913/1.484, allocations: 8.712 MB / 0.7452 GB, free: 27.07 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0127/1.497, allocations: 12.61 MB / 0.7575 GB, free: 11.54 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002065/1.497, allocations: 60 kB / 0.7576 GB, free: 11.48 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02175/1.519, allocations: 11.38 MB / 0.7687 GB, free: 60 kB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002499/1.519, allocations: 117.8 kB / 0.7688 GB, free: 15.93 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003262/1.519, allocations: 204 kB / 0.769 GB, free: 15.73 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003634/1.52, allocations: 276 kB / 0.7693 GB, free: 15.46 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008993/1.529, allocations: 2.371 MB / 0.7716 GB, free: 13.09 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005812/1.529, allocations: 406.5 kB / 0.772 GB, free: 12.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009515/1.539, allocations: 494.9 kB / 0.7724 GB, free: 12.21 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002221/1.541, allocations: 0.578 MB / 0.773 GB, free: 11.64 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 (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.008104/1.549, allocations: 3.393 MB / 0.7763 GB, free: 8.227 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001562/1.551, allocations: 0.5515 MB / 0.7768 GB, free: 7.668 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00891/1.56, allocations: 3.517 MB / 0.7803 GB, free: 4.098 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-05/1.56, allocations: 36 kB / 0.7803 GB, free: 4.062 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.238e-05/1.56, allocations: 7.859 kB / 0.7803 GB, free: 4.059 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.623e-05/1.56, allocations: 15.94 kB / 0.7803 GB, free: 4.043 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03719/1.597, allocations: 13.72 MB / 0.7937 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000139/1.597, allocations: 36.22 kB / 0.7938 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00306/1.6, allocations: 0.6513 MB / 0.7944 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-05/1.6, allocations: 48 kB / 0.7945 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004583/1.601, allocations: 102.8 kB / 0.7946 GB, free: 5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.031e-05/1.601, allocations: 67.78 kB / 0.7946 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.544e-05/1.601, allocations: 59.75 kB / 0.7947 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01039/1.611, allocations: 6.207 MB / 0.8007 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002846/1.614, allocations: 0.8413 MB / 0.8016 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001298/1.616, allocations: 99.97 kB / 0.8017 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003027/1.619, allocations: 159.8 kB / 0.8018 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005869/1.619, allocations: 316.1 kB / 0.8021 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002648/1.619, allocations: 134.6 kB / 0.8022 GB, free: 12.48 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007919/1.627, allocations: 3.76 MB / 0.8059 GB, free: 8.719 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.21e-07/1.627, allocations: 0 / 0.8059 GB, free: 8.719 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01084/1.638, allocations: 1.572 MB / 0.8074 GB, free: 7.152 MB / 0.545 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.001004/1.639, allocations: 287.1 kB / 0.8077 GB, free: 6.871 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01307/1.652, allocations: 6.72 MB / 0.8143 GB, free: 192 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.473e-05/1.652, allocations: 4.562 kB / 0.8143 GB, free: 188 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004301/1.657, allocations: 1.88 MB / 0.8161 GB, free: 14.31 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00927/1.666, allocations: 0.8046 MB / 0.8169 GB, free: 13.51 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03179/1.698, allocations: 15.64 MB / 0.8322 GB, free: 13.38 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008401/1.706, allocations: 5.139 MB / 0.8372 GB, free: 8.203 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007262/1.714, allocations: 2.758 MB / 0.8399 GB, free: 5.438 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/1.715, allocations: 419.4 kB / 0.8403 GB, free: 5.027 MB / 0.5763 GB Notification: Performance of SimCode: time 1.133e-06/1.715, allocations: 0 / 0.8403 GB, free: 5.027 MB / 0.5763 GB Notification: Performance of Templates: time 0.3709/2.086, allocations: 46.17 MB / 0.8854 GB, free: 189.1 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.makefile (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)