Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.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.Translational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001901/0.001902, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.3548/0.3548, allocations: 38.03 MB / 308.4 MB, free: 10.38 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.0008782/0.0008787, allocations: 12 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1539, allocations: 57.52 MB / 433.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.003794/0.1578, allocations: 3.309 MB / 437.2 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.1599, allocations: 1.088 MB / 438.3 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002371/0.1602, allocations: 15.94 kB / 438.3 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.1603, allocations: 63.45 kB / 438.4 MB, free: 1.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004478/0.1608, allocations: 239.3 kB / 438.6 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.1612, allocations: 143.7 kB / 438.8 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006462/0.1619, allocations: 0.5229 MB / 439.3 MB, free: 196 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000358/0.1622, allocations: 186.9 kB / 439.5 MB, free: 0 / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003147/0.1626, allocations: 247.1 kB / 439.7 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003865/0.163, allocations: 298.7 kB / 440 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.111e-05/0.163, allocations: 32 kB / 440 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.1632, allocations: 55.92 kB / 440.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.1633, allocations: 111.5 kB / 440.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.1634, allocations: 149.3 kB / 440.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007182/0.1642, allocations: 0.5339 MB / 440.9 MB, free: 14.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1642, allocations: 0 / 440.9 MB, free: 14.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.656e-06/0.1642, allocations: 3.984 kB / 440.9 MB, free: 14.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1642, allocations: 7.938 kB / 440.9 MB, free: 14.57 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001636/0.1659, allocations: 0.9157 MB / 441.8 MB, free: 13.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1659, allocations: 8.031 kB / 441.8 MB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.166, allocations: 79.11 kB / 441.9 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005001/0.1666, allocations: 380.8 kB / 442.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.346e-05/0.1666, allocations: 45.31 kB / 442.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-05/0.1667, allocations: 67.81 kB / 442.4 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.1679, allocations: 0.6304 MB / 443 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.1679, allocations: 11.91 kB / 443 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.064e-05/0.168, allocations: 20 kB / 443 MB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.168, allocations: 19.98 kB / 443.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.1692, allocations: 0.5684 MB / 443.6 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003018/0.1722, allocations: 2.173 MB / 445.8 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.1734, allocations: 0.711 MB / 446.5 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/0.1736, allocations: 93.53 kB / 446.6 MB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.1736, allocations: 59.25 kB / 446.7 MB, free: 8.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 2.604e-06/0.1737, allocations: 0 / 446.7 MB, free: 8.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=115): time 0.007782/0.1814, allocations: 4.617 MB / 451.3 MB, free: 3.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.1816, allocations: 230.2 kB / 451.5 MB, free: 3.242 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000342/0.1819, allocations: 354 kB / 451.8 MB, free: 2.891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.288e-05/0.182, allocations: 45.7 kB / 451.9 MB, free: 2.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.1821, allocations: 268.9 kB / 452.2 MB, free: 2.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/0.1824, allocations: 406 kB / 452.5 MB, free: 2.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.1825, allocations: 28 kB / 452.6 MB, free: 2.141 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1826, allocations: 378.8 kB / 452.9 MB, free: 1.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006036/0.1832, allocations: 330.4 kB / 453.3 MB, free: 1.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007523/0.184, allocations: 0.5204 MB / 453.8 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006952/0.1847, allocations: 399 kB / 454.2 MB, free: 472 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.1847, allocations: 3.953 kB / 454.2 MB, free: 468 kB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.2224/0.4071, allocations: 1.035 MB / 455.2 MB, free: 49.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.4072, allocations: 6.062 kB / 455.2 MB, free: 49.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.4072, allocations: 6 kB / 455.2 MB, free: 49.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.893e-05/0.4072, allocations: 9.75 kB / 455.2 MB, free: 49.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009506/0.4082, allocations: 292.5 kB / 455.5 MB, free: 49.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.821e-05/0.4082, allocations: 13.91 kB / 455.5 MB, free: 49.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/0.4087, allocations: 60.64 kB / 455.6 MB, free: 49.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/0.4087, allocations: 42.59 kB / 455.6 MB, free: 49.49 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000284/0.409, allocations: 231.8 kB / 455.9 MB, free: 49.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.4092, allocations: 77.31 kB / 455.9 MB, free: 49.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003719/0.4096, allocations: 220 kB / 456.2 MB, free: 49.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.4096, allocations: 12.91 kB / 456.2 MB, free: 49.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.4096, allocations: 5.906 kB / 456.2 MB, free: 49.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.4096, allocations: 10.36 kB / 456.2 MB, free: 49.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003003/0.4127, allocations: 2.388 MB / 458.6 MB, free: 48.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.4127, allocations: 6.719 kB / 458.6 MB, free: 48.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009414/0.4136, allocations: 257.3 kB / 458.8 MB, free: 48.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.4136, allocations: 10.75 kB / 458.8 MB, free: 48.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.796e-05/0.4137, allocations: 30.12 kB / 458.9 MB, free: 48.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.886e-06/0.4137, allocations: 13.72 kB / 458.9 MB, free: 48.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.4137, allocations: 3.406 kB / 458.9 MB, free: 48.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/0.4159, allocations: 2.116 MB / 461 MB, free: 47.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.4161, allocations: 199.1 kB / 461.2 MB, free: 47.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.242e-05/0.4162, allocations: 29.56 kB / 461.2 MB, free: 47.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005655/0.4168, allocations: 53.06 kB / 461.3 MB, free: 47.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.4169, allocations: 89.16 kB / 461.4 MB, free: 47.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.793e-05/0.417, allocations: 35.42 kB / 461.4 MB, free: 47.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001936/0.4172, allocations: 245.6 kB / 461.6 MB, free: 47.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4172, allocations: 0 / 461.6 MB, free: 47.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007753/0.418, allocations: 197.1 kB / 461.8 MB, free: 47.37 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001538/0.4181, allocations: 134.6 kB / 462 MB, free: 47.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.4196, allocations: 0.8722 MB / 462.8 MB, free: 47.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.4196, allocations: 3.281 kB / 462.8 MB, free: 47.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007883/0.4204, allocations: 0.4976 MB / 463.3 MB, free: 47.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007976/0.4212, allocations: 107.2 kB / 463.4 MB, free: 47.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.4241, allocations: 2.656 MB / 466.1 MB, free: 45.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.4245, allocations: 0.9533 MB / 467 MB, free: 44.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003834/0.4249, allocations: 105.1 kB / 467.2 MB, free: 44.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.4251, allocations: 66.61 kB / 467.2 MB, free: 44.82 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4251, allocations: 0 / 467.2 MB, free: 44.82 MB / 382.1 MB Notification: Performance of Templates: time 0.01041/0.4355, allocations: 6.404 MB / 473.6 MB, free: 44.43 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Translational.AllComponents.pipe 2>&1) Environment - environmentSimulation: