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.0007874/0.0007873, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.007766/0.007766, allocations: 172.4 kB / 16.27 MB, free: 6.648 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.739/1.739, allocations: 205.4 MB / 222.4 MB, free: 5.805 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.3926/0.3926, allocations: 40 MB / 310.7 MB, free: 9.758 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.0006158/0.000616, allocations: 12 kB / 379.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1563, allocations: 57.96 MB / 437.4 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005394/0.1617, allocations: 3.711 MB / 441.1 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003242/0.165, allocations: 1.087 MB / 442.2 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008159/0.1659, allocations: 11.94 kB / 442.2 MB, free: 13.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005064/0.1664, allocations: 75.39 kB / 442.3 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.1675, allocations: 174.5 kB / 442.5 MB, free: 13.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008171/0.1683, allocations: 167.8 kB / 442.6 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001429/0.1697, allocations: 0.7355 MB / 443.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005195/0.1703, allocations: 206.9 kB / 443.6 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007648/0.1711, allocations: 270.8 kB / 443.8 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007138/0.1718, allocations: 302.5 kB / 444.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.172, allocations: 32 kB / 444.1 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004175/0.1724, allocations: 59.98 kB / 444.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.1726, allocations: 123.4 kB / 444.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005767/0.1732, allocations: 340 kB / 444.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.1743, allocations: 0.7081 MB / 445.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.1743, allocations: 3.984 kB / 445.4 MB, free: 10.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1743, allocations: 0 / 445.4 MB, free: 10.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.349e-05/0.1744, allocations: 0 / 445.4 MB, free: 10.21 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.002373/0.1768, allocations: 0.9003 MB / 446.3 MB, free: 9.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.1768, allocations: 16.03 kB / 446.3 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002346/0.1771, allocations: 80 kB / 446.4 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006862/0.1778, allocations: 393.8 kB / 446.7 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.12e-05/0.1778, allocations: 45.69 kB / 446.8 MB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.178, allocations: 60.28 kB / 446.9 MB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.1794, allocations: 0.6424 MB / 447.5 MB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.287e-05/0.1795, allocations: 23.83 kB / 447.5 MB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.322e-05/0.1795, allocations: 23.94 kB / 447.5 MB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.1795, allocations: 16 kB / 447.6 MB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.1809, allocations: 0.5684 MB / 448.1 MB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003691/0.1846, allocations: 2.173 MB / 450.3 MB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.1864, allocations: 0.7342 MB / 451 MB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007734/0.1872, allocations: 367.1 kB / 451.4 MB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000189/0.1874, allocations: 93.53 kB / 451.5 MB, free: 3.766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/0.1875, allocations: 50.94 kB / 451.5 MB, free: 3.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 2.825e-06/0.1875, allocations: 0 / 451.5 MB, free: 3.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=115): time 0.2697/0.4572, allocations: 4.623 MB / 456.2 MB, free: 47.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/0.4573, allocations: 219.2 kB / 456.4 MB, free: 47.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.4576, allocations: 365 kB / 456.7 MB, free: 47.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.683e-05/0.4577, allocations: 45.11 kB / 456.8 MB, free: 47.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.4579, allocations: 266.2 kB / 457 MB, free: 47.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.4581, allocations: 409.5 kB / 457.4 MB, free: 46.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.261e-05/0.4582, allocations: 94.84 kB / 457.5 MB, free: 46.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.276e-05/0.4583, allocations: 380.7 kB / 457.9 MB, free: 46.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006133/0.4589, allocations: 342.5 kB / 458.2 MB, free: 46.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000697/0.4596, allocations: 0.5296 MB / 458.8 MB, free: 46.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.4611, allocations: 0.8988 MB / 459.7 MB, free: 46.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.4612, allocations: 3 kB / 459.7 MB, free: 46.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001743/0.4629, allocations: 1.042 MB / 460.7 MB, free: 46.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.463, allocations: 10.09 kB / 460.7 MB, free: 46.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.463, allocations: 10.22 kB / 460.7 MB, free: 46.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.131e-05/0.463, allocations: 9.406 kB / 460.7 MB, free: 46.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009664/0.464, allocations: 293.2 kB / 461 MB, free: 46.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.051e-05/0.464, allocations: 12.59 kB / 461 MB, free: 46.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004749/0.4645, allocations: 68.14 kB / 461.1 MB, free: 46.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.348e-05/0.4646, allocations: 37.72 kB / 461.1 MB, free: 46.12 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.0003445/0.465, allocations: 230.4 kB / 461.4 MB, free: 45.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/0.4652, allocations: 77.53 kB / 461.4 MB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004671/0.4656, allocations: 224.8 kB / 461.7 MB, free: 45.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.4657, allocations: 13.12 kB / 461.7 MB, free: 45.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.098e-05/0.4657, allocations: 0 / 461.7 MB, free: 45.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.4657, allocations: 6.719 kB / 461.7 MB, free: 45.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00325/0.469, allocations: 2.387 MB / 464.1 MB, free: 45.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.469, allocations: 7.562 kB / 464.1 MB, free: 45.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009656/0.47, allocations: 263.6 kB / 464.3 MB, free: 45.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.025e-05/0.47, allocations: 6.688 kB / 464.3 MB, free: 45.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.091e-05/0.4701, allocations: 28.61 kB / 464.4 MB, free: 45.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-05/0.4701, allocations: 10.53 kB / 464.4 MB, free: 45.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.4701, allocations: 10.38 kB / 464.4 MB, free: 45.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002335/0.4724, allocations: 1.947 MB / 466.3 MB, free: 44.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.4727, allocations: 201.4 kB / 466.5 MB, free: 43.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.975e-05/0.4728, allocations: 32.5 kB / 466.6 MB, free: 43.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005946/0.4734, allocations: 52.09 kB / 466.6 MB, free: 43.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.4735, allocations: 84.52 kB / 466.7 MB, free: 43.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.719e-05/0.4736, allocations: 39.94 kB / 466.7 MB, free: 43.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002119/0.4738, allocations: 249.6 kB / 467 MB, free: 43.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4738, allocations: 4 kB / 467 MB, free: 43.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008326/0.4746, allocations: 194.1 kB / 467.2 MB, free: 43.71 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.0001643/0.4748, allocations: 148.5 kB / 467.3 MB, free: 43.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001427/0.4763, allocations: 0.8817 MB / 468.2 MB, free: 43.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4763, allocations: 3.219 kB / 468.2 MB, free: 43.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007226/0.477, allocations: 0.5033 MB / 468.7 MB, free: 43.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.4783, allocations: 127.6 kB / 468.8 MB, free: 43.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.4815, allocations: 2.727 MB / 471.5 MB, free: 41.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.4819, allocations: 0.9422 MB / 472.5 MB, free: 40.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004237/0.4824, allocations: 101.2 kB / 472.6 MB, free: 40.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.4826, allocations: 59.84 kB / 472.6 MB, free: 40.57 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4826, allocations: 0 / 472.6 MB, free: 40.57 MB / 382.1 MB Notification: Performance of Templates: time 0.01398/0.4966, allocations: 6.673 MB / 479.3 MB, free: 40.18 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Translational.AllComponents.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: