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.0009352/0.0009353, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001088/0.001087, allocations: 172.7 kB / 15.95 MB, free: 208 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.795/1.795, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.4474/0.4474, allocations: 40 MB / 310.4 MB, free: 9.875 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.0006278/0.0006279, allocations: 12 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1583, allocations: 57.96 MB / 436.8 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004669/0.163, allocations: 3.523 MB / 440.3 MB, free: 15.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002967/0.1661, allocations: 1.057 MB / 441.4 MB, free: 14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009103/0.167, allocations: 15.94 kB / 441.4 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005008/0.1676, allocations: 67.41 kB / 441.4 MB, free: 13.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.1686, allocations: 174.5 kB / 441.6 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009605/0.1696, allocations: 143.8 kB / 441.8 MB, free: 13.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00146/0.1711, allocations: 0.7121 MB / 442.5 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000649/0.1717, allocations: 186.9 kB / 442.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008093/0.1726, allocations: 255 kB / 442.9 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008418/0.1734, allocations: 294.7 kB / 443.2 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00019/0.1736, allocations: 28 kB / 443.2 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003908/0.174, allocations: 55.98 kB / 443.3 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.1743, allocations: 111.5 kB / 443.4 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003826/0.1747, allocations: 141.4 kB / 443.5 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008497/0.1755, allocations: 0.5455 MB / 444.1 MB, free: 11.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1755, allocations: 4 kB / 444.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.1756, allocations: 0 / 444.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.3e-05/0.1756, allocations: 4 kB / 444.1 MB, free: 11.27 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.002437/0.1781, allocations: 0.9234 MB / 445 MB, free: 10.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.251e-05/0.1781, allocations: 8.031 kB / 445 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003266/0.1785, allocations: 83.06 kB / 445.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007659/0.1793, allocations: 372.8 kB / 445.4 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.973e-05/0.1793, allocations: 49.25 kB / 445.5 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.1796, allocations: 71.83 kB / 445.6 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.1812, allocations: 0.6266 MB / 446.2 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.538e-05/0.1813, allocations: 15.84 kB / 446.2 MB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.526e-05/0.1814, allocations: 24 kB / 446.2 MB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.1814, allocations: 19.95 kB / 446.2 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.1829, allocations: 0.5568 MB / 446.8 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004124/0.1871, allocations: 2.18 MB / 449 MB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.1885, allocations: 0.7188 MB / 449.7 MB, free: 5.336 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006585/0.1891, allocations: 363.5 kB / 450.1 MB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/0.1893, allocations: 97.84 kB / 450.2 MB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.1894, allocations: 50.92 kB / 450.2 MB, free: 4.789 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 3.827e-06/0.1894, allocations: 0 / 450.2 MB, free: 4.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=115): time 0.3456/0.535, allocations: 4.612 MB / 454.8 MB, free: 48.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.127e-05/0.5351, allocations: 219.1 kB / 455 MB, free: 47.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005287/0.5357, allocations: 357.8 kB / 455.4 MB, free: 47.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.5358, allocations: 45.61 kB / 455.4 MB, free: 47.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.536, allocations: 266.7 kB / 455.7 MB, free: 47.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002822/0.5363, allocations: 407.9 kB / 456.1 MB, free: 47.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.5364, allocations: 22.84 kB / 456.1 MB, free: 47.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5365, allocations: 382.9 kB / 456.5 MB, free: 47.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005833/0.5371, allocations: 330.9 kB / 456.8 MB, free: 47.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006592/0.5377, allocations: 0.5232 MB / 457.3 MB, free: 46.99 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006452/0.5384, allocations: 392.6 kB / 457.7 MB, free: 46.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.5384, allocations: 2.719 kB / 457.7 MB, free: 46.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00179/0.5402, allocations: 1.043 MB / 458.8 MB, free: 46.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.5403, allocations: 10.25 kB / 458.8 MB, free: 46.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.5403, allocations: 3.938 kB / 458.8 MB, free: 46.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.492e-05/0.5403, allocations: 12.88 kB / 458.8 MB, free: 46.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009523/0.5413, allocations: 290 kB / 459.1 MB, free: 46.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-05/0.5413, allocations: 14.98 kB / 459.1 MB, free: 46.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000467/0.5418, allocations: 70.19 kB / 459.1 MB, free: 46.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.512e-05/0.5419, allocations: 38.47 kB / 459.2 MB, free: 46.9 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.0002867/0.5422, allocations: 229.7 kB / 459.4 MB, free: 46.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/0.5424, allocations: 78.39 kB / 459.5 MB, free: 46.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004244/0.5428, allocations: 222.6 kB / 459.7 MB, free: 46.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.5428, allocations: 16.25 kB / 459.7 MB, free: 46.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.9e-05/0.5429, allocations: 7.25 kB / 459.7 MB, free: 46.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.5429, allocations: 6.5 kB / 459.7 MB, free: 46.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003323/0.5462, allocations: 2.374 MB / 462.1 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.5462, allocations: 10.39 kB / 462.1 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009644/0.5472, allocations: 261.8 kB / 462.4 MB, free: 45.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.719e-05/0.5472, allocations: 5.875 kB / 462.4 MB, free: 45.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.11e-05/0.5473, allocations: 29.78 kB / 462.4 MB, free: 45.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.385e-05/0.5473, allocations: 14.23 kB / 462.4 MB, free: 45.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5474, allocations: 3.344 kB / 462.4 MB, free: 45.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/0.5499, allocations: 1.951 MB / 464.4 MB, free: 45.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.5502, allocations: 202.6 kB / 464.6 MB, free: 44.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.5504, allocations: 26.47 kB / 464.6 MB, free: 44.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006241/0.551, allocations: 50.56 kB / 464.6 MB, free: 44.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/0.5512, allocations: 89.47 kB / 464.7 MB, free: 44.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-05/0.5513, allocations: 33.38 kB / 464.8 MB, free: 44.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002759/0.5515, allocations: 248.1 kB / 465 MB, free: 44.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5515, allocations: 0 / 465 MB, free: 44.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009338/0.5525, allocations: 194.7 kB / 465.2 MB, free: 44.85 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.0001977/0.5527, allocations: 138.7 kB / 465.3 MB, free: 44.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001647/0.5543, allocations: 0.8714 MB / 466.2 MB, free: 44.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.5544, allocations: 0 / 466.2 MB, free: 44.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007778/0.5551, allocations: 0.507 MB / 466.7 MB, free: 44.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.5564, allocations: 122.5 kB / 466.8 MB, free: 44.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003703/0.5601, allocations: 2.666 MB / 469.5 MB, free: 42.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.5606, allocations: 0.9407 MB / 470.4 MB, free: 41.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004619/0.5611, allocations: 99.62 kB / 470.5 MB, free: 41.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.5613, allocations: 65.47 kB / 470.6 MB, free: 41.77 MB / 382.1 MB Notification: Performance of SimCode: time 1.283e-06/0.5613, allocations: 0 / 470.6 MB, free: 41.77 MB / 382.1 MB Notification: Performance of Templates: time 0.01351/0.5748, allocations: 6.444 MB / 477 MB, free: 41.35 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: