Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.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) 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(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006754/0.006754, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001286/0.001286, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.545/1.545, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.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: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 51.17 kB / 326.5 MB, free: 14.35 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1343, allocations: 46.62 MB / 373.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005198/0.1396, allocations: 3.512 MB / 376.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.1417, allocations: 0.9158 MB / 377.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003185/0.142, allocations: 11.94 kB / 377.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.1424, allocations: 79.23 kB / 377.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003786/0.1428, allocations: 142.6 kB / 377.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006082/0.1434, allocations: 163.7 kB / 378 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007062/0.1441, allocations: 0.5957 MB / 378.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004427/0.1446, allocations: 185.5 kB / 378.8 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003702/0.145, allocations: 235.2 kB / 379 MB, free: 11.47 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003421/0.1453, allocations: 270.9 kB / 379.2 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.762e-05/0.1454, allocations: 52 kB / 379.3 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.832e-05/0.1455, allocations: 52 kB / 379.3 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.1456, allocations: 123.6 kB / 379.5 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002598/0.1459, allocations: 270.7 kB / 379.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006641/0.1466, allocations: 0.5917 MB / 380.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.1466, allocations: 0 / 380.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1466, allocations: 4 kB / 380.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.1466, allocations: 0 / 380.3 MB, free: 10.12 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001793/0.1484, allocations: 0.8419 MB / 381.2 MB, free: 9.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.051e-05/0.1485, allocations: 16.02 kB / 381.2 MB, free: 9.215 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.1486, allocations: 60.31 kB / 381.2 MB, free: 9.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006341/0.1493, allocations: 327.2 kB / 381.6 MB, free: 8.793 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.921e-05/0.1493, allocations: 33.38 kB / 381.6 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.1495, allocations: 56.27 kB / 381.7 MB, free: 8.703 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009166/0.1504, allocations: 458.6 kB / 382.1 MB, free: 8.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.1504, allocations: 4 kB / 382.1 MB, free: 8.246 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.921e-05/0.1505, allocations: 20 kB / 382.1 MB, free: 8.227 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.1505, allocations: 12 kB / 382.1 MB, free: 8.215 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.1515, allocations: 459.7 kB / 382.6 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002636/0.1542, allocations: 1.374 MB / 384 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.1553, allocations: 0.5517 MB / 384.5 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009044/0.1562, allocations: 366.9 kB / 384.9 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.969e-05/0.1563, allocations: 20.53 kB / 384.9 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/0.1563, allocations: 43.11 kB / 384.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 3.206e-06/0.1564, allocations: 0 / 384.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=103): time 0.007689/0.164, allocations: 3.123 MB / 388.1 MB, free: 2.133 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.1641, allocations: 64.34 kB / 388.1 MB, free: 2.059 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/0.1644, allocations: 255 kB / 388.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.173e-05/0.1645, allocations: 41.7 kB / 388.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.1647, allocations: 197.2 kB / 388.6 MB, free: 1.559 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002867/0.165, allocations: 354.8 kB / 388.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.1652, allocations: 142.7 kB / 389.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.1654, allocations: 358.8 kB / 389.4 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005669/0.166, allocations: 277.8 kB / 389.7 MB, free: 440 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006158/0.1666, allocations: 345.4 kB / 390 MB, free: 88 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.1678, allocations: 0.6312 MB / 390.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1678, allocations: 0 / 390.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001438/0.1693, allocations: 0.778 MB / 391.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.1693, allocations: 4 kB / 391.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1693, allocations: 0 / 391.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.1693, allocations: 7.938 kB / 391.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007689/0.1701, allocations: 215.8 kB / 391.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.1701, allocations: 7.984 kB / 391.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003333/0.1705, allocations: 43.97 kB / 391.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/0.1705, allocations: 27.98 kB / 391.8 MB, free: 14.36 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (outerContactB.contact,outerContactA.contact,innerContactB.contact,innerContactA.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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.0002607/0.1708, allocations: 197.7 kB / 391.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.821e-05/0.1709, allocations: 51.38 kB / 392 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/0.1711, allocations: 81.33 kB / 392.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.1711, allocations: 12 kB / 392.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.1711, allocations: 0 / 392.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.1711, allocations: 3.984 kB / 392.1 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003274/0.1744, allocations: 1.98 MB / 394.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.1744, allocations: 4 kB / 394.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007797/0.1752, allocations: 207.7 kB / 394.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.1753, allocations: 8 kB / 394.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.349e-05/0.1753, allocations: 23.94 kB / 394.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.419e-05/0.1753, allocations: 23.92 kB / 394.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.1753, allocations: 4 kB / 394.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.1776, allocations: 1.376 MB / 395.7 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.1777, allocations: 124.6 kB / 395.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.025e-05/0.1778, allocations: 27.94 kB / 395.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004457/0.1782, allocations: 47.95 kB / 395.9 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.1784, allocations: 76.8 kB / 396 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-05/0.1785, allocations: 31.98 kB / 396 MB, free: 9.871 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.1787, allocations: 178 kB / 396.2 MB, free: 9.699 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1787, allocations: 3.938 kB / 396.2 MB, free: 9.695 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005364/0.1792, allocations: 156 kB / 396.3 MB, free: 9.543 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * 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.0001881/0.1794, allocations: 127.1 kB / 396.5 MB, free: 9.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001415/0.1808, allocations: 0.7386 MB / 397.2 MB, free: 8.672 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.1808, allocations: 4 kB / 397.2 MB, free: 8.668 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007529/0.1816, allocations: 450.1 kB / 397.7 MB, free: 8.234 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000741/0.1824, allocations: 125.2 kB / 397.8 MB, free: 8.109 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.1849, allocations: 1.524 MB / 399.3 MB, free: 6.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.1853, allocations: 0.8684 MB / 400.2 MB, free: 5.598 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000281/0.1856, allocations: 72.98 kB / 400.2 MB, free: 5.527 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.1858, allocations: 59.42 kB / 400.3 MB, free: 5.469 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1858, allocations: 0 / 400.3 MB, free: 5.469 MB / 334.1 MB Notification: Performance of Templates: time 0.01166/0.1975, allocations: 6.668 MB / 407 MB, free: 14.79 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1)