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.00116/0.00116, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001144/0.001144, allocations: 190.3 kB / 16.25 MB, free: 6.637 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.518/1.518, allocations: 205.1 MB / 222.1 MB, free: 4.668 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.3963/0.3963, allocations: 39.93 MB / 309.4 MB, free: 9.691 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.001398/0.001398, allocations: 63.91 kB / 377.1 MB, free: 13.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1358, allocations: 56.89 MB / 434 MB, free: 4.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.3659/0.5018, allocations: 87.52 MB / 0.5093 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05088/0.5527, allocations: 16.63 MB / 0.5255 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02867/0.5814, allocations: 370.7 kB / 0.5259 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01175/0.5932, allocations: 5.048 MB / 0.5308 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0134/0.6067, allocations: 2.54 MB / 0.5333 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004291/0.611, allocations: 1.108 MB / 0.5344 GB, free: 14 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01532/0.6263, allocations: 7.06 MB / 0.5413 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01202/0.6384, allocations: 6.914 MB / 0.548 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007196/0.6456, allocations: 2.827 MB / 0.5508 GB, free: 1.344 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007383/0.6531, allocations: 4.37 MB / 0.5551 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002796/0.6559, allocations: 0.625 MB / 0.5557 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00528/0.6612, allocations: 1.327 MB / 0.557 GB, free: 11.01 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00665/0.6679, allocations: 3.565 MB / 0.5604 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01107/0.679, allocations: 4.051 MB / 0.5644 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02015/0.6992, allocations: 11.86 MB / 0.576 GB, free: 7.461 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.959e-06/0.6992, allocations: 4 kB / 0.576 GB, free: 7.457 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.696e-06/0.6992, allocations: 0 / 0.576 GB, free: 7.457 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006718/0.6999, allocations: 0 / 0.576 GB, free: 7.457 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.02259/0.7225, allocations: 8.187 MB / 0.584 GB, free: 15.19 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.7226, allocations: 15.89 kB / 0.584 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/0.7342, allocations: 2.724 MB / 0.5867 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009665/0.7439, allocations: 3.947 MB / 0.5905 GB, free: 8.426 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000481/0.7444, allocations: 460.1 kB / 0.591 GB, free: 7.977 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002652/0.7471, allocations: 0.5894 MB / 0.5915 GB, free: 7.387 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04883/0.7959, allocations: 21.22 MB / 0.6123 GB, free: 1.008 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003013/0.7963, allocations: 67.34 kB / 0.6123 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001561/0.7978, allocations: 287.7 kB / 0.6126 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005644/0.8035, allocations: 3.537 MB / 0.616 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5543/1.358, allocations: 17.19 MB / 0.6328 GB, free: 139.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09403/1.452, allocations: 67.85 MB / 0.6991 GB, free: 93.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02/1.472, allocations: 6.666 MB / 0.7056 GB, free: 91.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004162/1.476, allocations: 2.297 MB / 0.7078 GB, free: 90.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01653/1.493, allocations: 9.779 MB / 0.7174 GB, free: 84.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/1.493, allocations: 70.19 kB / 0.7175 GB, free: 84.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=296): time 6.643e-06/1.493, allocations: 0 / 0.7175 GB, free: 84.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=330): time 0.05731/1.55, allocations: 22.78 MB / 0.7397 GB, free: 65.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.779e-05/1.55, allocations: 162.6 kB / 0.7399 GB, free: 65.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008309/1.559, allocations: 6.029 MB / 0.7458 GB, free: 59.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000777/1.559, allocations: 78.72 kB / 0.7458 GB, free: 59.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002803/1.562, allocations: 5.189 MB / 0.7509 GB, free: 54.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001607/1.564, allocations: 1.253 MB / 0.7521 GB, free: 52.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002241/1.566, allocations: 1.932 MB / 0.754 GB, free: 50.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.199e-05/1.566, allocations: 301.1 kB / 0.7543 GB, free: 50.58 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003953/1.57, allocations: 2.858 MB / 0.7571 GB, free: 47.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006452/1.577, allocations: 8.663 MB / 0.7655 GB, free: 36.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01265/1.589, allocations: 12.52 MB / 0.7778 GB, free: 20.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001675/1.589, allocations: 60.66 kB / 0.7778 GB, free: 20.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.02462/1.614, allocations: 11.26 MB / 0.7888 GB, free: 9.391 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003136/1.614, allocations: 92 kB / 0.7889 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003755/1.615, allocations: 204 kB / 0.7891 GB, free: 9.102 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003472/1.615, allocations: 272 kB / 0.7894 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007965/1.623, allocations: 2.362 MB / 0.7917 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004884/1.624, allocations: 410.5 kB / 0.7921 GB, free: 6.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008164/1.632, allocations: 471.5 kB / 0.7925 GB, free: 5.609 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002404/1.634, allocations: 0.5781 MB / 0.7931 GB, free: 5.031 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.008428/1.643, allocations: 3.389 MB / 0.7964 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001946/1.645, allocations: 0.5437 MB / 0.7969 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008996/1.654, allocations: 3.457 MB / 0.8003 GB, free: 13.56 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-05/1.654, allocations: 32 kB / 0.8003 GB, free: 13.53 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.313e-05/1.654, allocations: 4 kB / 0.8003 GB, free: 13.53 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.957e-05/1.654, allocations: 15.94 kB / 0.8003 GB, free: 13.51 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03412/1.688, allocations: 13.77 MB / 0.8138 GB, free: 15.18 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000126/1.688, allocations: 36 kB / 0.8138 GB, free: 15.14 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002645/1.691, allocations: 0.609 MB / 0.8144 GB, free: 14.54 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-05/1.691, allocations: 52 kB / 0.8145 GB, free: 14.48 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004335/1.692, allocations: 103.9 kB / 0.8146 GB, free: 14.38 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-05/1.692, allocations: 67.78 kB / 0.8146 GB, free: 14.32 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.019e-05/1.692, allocations: 51.75 kB / 0.8147 GB, free: 14.27 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01213/1.704, allocations: 6.305 MB / 0.8208 GB, free: 7.348 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003048/1.707, allocations: 0.8413 MB / 0.8217 GB, free: 6.48 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002014/1.709, allocations: 111.8 kB / 0.8218 GB, free: 6.371 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003536/1.713, allocations: 147.8 kB / 0.8219 GB, free: 6.227 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005391/1.713, allocations: 296.1 kB / 0.8222 GB, free: 5.938 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002949/1.713, allocations: 136 kB / 0.8223 GB, free: 5.805 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.009896/1.723, allocations: 3.752 MB / 0.826 GB, free: 2.055 MB / 0.5138 GB Notification: Performance of sort global known variables: time 5.81e-07/1.723, allocations: 0 / 0.826 GB, free: 2.055 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01162/1.735, allocations: 1.568 MB / 0.8275 GB, free: 0.4922 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.001307/1.736, allocations: 283 kB / 0.8278 GB, free: 212 kB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.2801/2.016, allocations: 7.461 MB / 0.8351 GB, free: 160.7 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 4.192e-05/2.017, allocations: 6.312 kB / 0.8351 GB, free: 160.7 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.00305/2.02, allocations: 1.568 MB / 0.8366 GB, free: 160.3 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007441/2.027, allocations: 0.7784 MB / 0.8374 GB, free: 160 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04044/2.068, allocations: 19.41 MB / 0.8563 GB, free: 148.9 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01006/2.078, allocations: 5.137 MB / 0.8613 GB, free: 147.1 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008155/2.086, allocations: 2.758 MB / 0.864 GB, free: 146.9 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001566/2.088, allocations: 417.3 kB / 0.8644 GB, free: 146.9 MB / 0.5138 GB Notification: Performance of SimCode: time 8.82e-07/2.088, allocations: 0 / 0.8644 GB, free: 146.9 MB / 0.5138 GB Notification: Performance of Templates: time 0.1188/2.206, allocations: 50.9 MB / 0.9141 GB, free: 116.3 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)