Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Translational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.00136/0.00136, allocations: 192.7 kB / 16.25 MB, free: 6.633 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.7/1.7, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.3809/0.3809, allocations: 39.93 MB / 309.4 MB, free: 9.082 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.00141/0.00141, allocations: 67.91 kB / 377.1 MB, free: 12.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1576, allocations: 56.88 MB / 434 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005853/0.1635, allocations: 4.112 MB / 438.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002334/0.1659, allocations: 1.103 MB / 439.2 MB, free: 14.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003171/0.1662, allocations: 15.94 kB / 439.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.1666, allocations: 71.39 kB / 439.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004353/0.167, allocations: 170.6 kB / 439.4 MB, free: 14.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005458/0.1676, allocations: 163.8 kB / 439.6 MB, free: 14.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008466/0.1684, allocations: 0.7746 MB / 440.4 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004042/0.1689, allocations: 255.5 kB / 440.6 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003776/0.1692, allocations: 298.9 kB / 440.9 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004034/0.1697, allocations: 338.5 kB / 441.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.877e-05/0.1697, allocations: 56 kB / 441.3 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.1699, allocations: 87.94 kB / 441.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.1701, allocations: 151.4 kB / 441.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003231/0.1704, allocations: 350.2 kB / 441.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007553/0.1712, allocations: 0.7474 MB / 442.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1712, allocations: 3.938 kB / 442.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1712, allocations: 0 / 442.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.1712, allocations: 0 / 442.6 MB, free: 11.04 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.001889/0.1731, allocations: 1.001 MB / 443.6 MB, free: 9.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.1732, allocations: 15.83 kB / 443.7 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.1733, allocations: 80 kB / 443.7 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004858/0.1738, allocations: 393.8 kB / 444.1 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/0.1738, allocations: 41.69 kB / 444.2 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.174, allocations: 68.28 kB / 444.2 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.1755, allocations: 0.6229 MB / 444.8 MB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.247e-05/0.1755, allocations: 15.8 kB / 444.9 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.525e-05/0.1756, allocations: 28 kB / 444.9 MB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.1756, allocations: 12 kB / 444.9 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.1767, allocations: 0.5332 MB / 445.4 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003238/0.18, allocations: 2.165 MB / 447.6 MB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.1812, allocations: 0.7029 MB / 448.3 MB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000623/0.1819, allocations: 343.2 kB / 448.6 MB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/0.1821, allocations: 105.8 kB / 448.7 MB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.494e-05/0.1822, allocations: 47 kB / 448.8 MB, free: 4.551 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 2.635e-06/0.1822, allocations: 4 kB / 448.8 MB, free: 4.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=115): time 0.2936/0.4758, allocations: 4.49 MB / 453.3 MB, free: 51.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.01e-05/0.4759, allocations: 223.1 kB / 453.5 MB, free: 50.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003974/0.4763, allocations: 360.1 kB / 453.8 MB, free: 50.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.461e-05/0.4764, allocations: 45.92 kB / 453.9 MB, free: 50.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.4765, allocations: 269.1 kB / 454.2 MB, free: 50.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000237/0.4768, allocations: 407.6 kB / 454.6 MB, free: 50.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/0.477, allocations: 183.5 kB / 454.7 MB, free: 50.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.939e-05/0.4771, allocations: 375.4 kB / 455.1 MB, free: 50.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005448/0.4777, allocations: 318.2 kB / 455.4 MB, free: 50.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006047/0.4783, allocations: 0.508 MB / 455.9 MB, free: 49.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.4795, allocations: 0.8745 MB / 456.8 MB, free: 49.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4795, allocations: 0 / 456.8 MB, free: 49.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001497/0.481, allocations: 1.001 MB / 457.8 MB, free: 49.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.4811, allocations: 13.19 kB / 457.8 MB, free: 49.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.4811, allocations: 5.172 kB / 457.8 MB, free: 49.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.074e-05/0.4811, allocations: 10.28 kB / 457.8 MB, free: 49.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009542/0.4821, allocations: 286.8 kB / 458.1 MB, free: 49.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/0.4821, allocations: 13.25 kB / 458.1 MB, free: 49.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004683/0.4826, allocations: 51.19 kB / 458.2 MB, free: 49.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.097e-05/0.4827, allocations: 44.16 kB / 458.2 MB, free: 49.47 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000269/0.4829, allocations: 227.7 kB / 458.4 MB, free: 49.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/0.4831, allocations: 83.53 kB / 458.5 MB, free: 49.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003758/0.4835, allocations: 215.9 kB / 458.7 MB, free: 49.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.4836, allocations: 16.91 kB / 458.7 MB, free: 49.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.171e-05/0.4836, allocations: 3.312 kB / 458.7 MB, free: 49.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.4836, allocations: 9.969 kB / 458.8 MB, free: 49.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/0.4866, allocations: 2.346 MB / 461.1 MB, free: 47.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.4866, allocations: 3.125 kB / 461.1 MB, free: 47.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009795/0.4876, allocations: 260.7 kB / 461.4 MB, free: 47.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.4876, allocations: 6.438 kB / 461.4 MB, free: 47.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.585e-05/0.4877, allocations: 32.81 kB / 461.4 MB, free: 47.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.4877, allocations: 13.22 kB / 461.4 MB, free: 47.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4877, allocations: 3.156 kB / 461.4 MB, free: 47.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.4897, allocations: 1.899 MB / 463.3 MB, free: 46.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000243/0.49, allocations: 203.4 kB / 463.5 MB, free: 46.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.464e-05/0.4901, allocations: 25.59 kB / 463.5 MB, free: 46.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005692/0.4906, allocations: 48.92 kB / 463.6 MB, free: 46.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.4908, allocations: 83.23 kB / 463.7 MB, free: 46.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.062e-05/0.4909, allocations: 34 kB / 463.7 MB, free: 46.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002242/0.4911, allocations: 249.9 kB / 463.9 MB, free: 46.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4911, allocations: 3.844 kB / 463.9 MB, free: 46.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008316/0.4919, allocations: 197.6 kB / 464.1 MB, free: 46.33 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 (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.0001774/0.4921, allocations: 142 kB / 464.3 MB, free: 46.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00168/0.4938, allocations: 0.8947 MB / 465.2 MB, free: 45.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.4938, allocations: 3.344 kB / 465.2 MB, free: 45.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006896/0.4945, allocations: 490.6 kB / 465.7 MB, free: 45.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.4957, allocations: 131.2 kB / 465.8 MB, free: 45.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.499, allocations: 2.498 MB / 468.3 MB, free: 44.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.4994, allocations: 0.9444 MB / 469.2 MB, free: 43.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004062/0.4998, allocations: 99.89 kB / 469.3 MB, free: 43.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.5, allocations: 61.11 kB / 469.4 MB, free: 43.32 MB / 382.1 MB Notification: Performance of SimCode: time 7.02e-07/0.5, allocations: 0 / 469.4 MB, free: 43.32 MB / 382.1 MB Notification: Performance of Templates: time 0.01321/0.5132, allocations: 7.069 MB / 476.4 MB, free: 42.88 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.pipe 2>&1)