Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8821/0.8821, allocations: 110.8 MB / 118.3 MB, free: 14.5 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001678/0.001678, allocations: 163.4 kB / 144 MB, free: 4.82 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.842e-05/1.827e-05, allocations: 4 kB / 173.9 MB, free: 22.79 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05901/0.05905, allocations: 25.18 MB / 199 MB, free: 13.69 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.064/0.1231, allocations: 33.15 MB / 232.2 MB, free: 12.49 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.1234, allocations: 59.97 kB / 232.2 MB, free: 12.43 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02099/0.1444, allocations: 5.24 MB / 237.5 MB, free: 7.16 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1445, allocations: 0 / 237.5 MB, free: 7.16 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.1445, allocations: 8 kB / 237.5 MB, free: 7.152 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001128/0.1457, allocations: 0.518 MB / 238 MB, free: 6.59 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.1457, allocations: 16.02 kB / 238 MB, free: 6.574 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.666e-05/0.1458, allocations: 31.62 kB / 238.1 MB, free: 6.543 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.1461, allocations: 198.7 kB / 238.2 MB, free: 6.309 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/0.1461, allocations: 8 kB / 238.3 MB, free: 6.301 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.573e-05/0.1462, allocations: 19.91 kB / 238.3 MB, free: 6.281 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000556/0.1468, allocations: 185 kB / 238.5 MB, free: 6.102 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005782/0.1474, allocations: 191.7 kB / 238.6 MB, free: 5.91 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/0.1474, allocations: 7.984 kB / 238.6 MB, free: 5.902 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.1474, allocations: 0 / 238.6 MB, free: 5.902 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.1475, allocations: 4 kB / 238.7 MB, free: 5.898 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.1492, allocations: 0.7048 MB / 239.4 MB, free: 5.152 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005622/0.1498, allocations: 262.6 kB / 239.6 MB, free: 4.887 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.1501, allocations: 137.2 kB / 239.7 MB, free: 4.746 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.941e-05/0.1501, allocations: 4 kB / 239.8 MB, free: 4.742 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.1502, allocations: 38.56 kB / 239.8 MB, free: 4.695 MB / 186.7 MB Notification: Performance of pre-optimization done (n=35): time 4.117e-06/0.1502, allocations: 0 / 239.8 MB, free: 4.695 MB / 186.7 MB Notification: Performance of matching and sorting (n=55): time 0.003449/0.1537, allocations: 1.38 MB / 241.2 MB, free: 3.223 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.1537, allocations: 59.97 kB / 241.2 MB, free: 3.152 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.1539, allocations: 150.3 kB / 241.4 MB, free: 2.996 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.436e-05/0.154, allocations: 25.7 kB / 241.4 MB, free: 2.965 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.1541, allocations: 152.9 kB / 241.6 MB, free: 2.809 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.1543, allocations: 185.2 kB / 241.7 MB, free: 2.625 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.417e-05/0.1543, allocations: 0 / 241.7 MB, free: 2.625 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.1545, allocations: 338.8 kB / 242.1 MB, free: 2.285 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.1548, allocations: 117.1 kB / 242.2 MB, free: 2.168 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.1551, allocations: 119.9 kB / 242.3 MB, free: 2.055 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.1554, allocations: 134.1 kB / 242.4 MB, free: 1.922 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1555, allocations: 0 / 242.4 MB, free: 1.922 MB / 186.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008168/0.1563, allocations: 362.7 kB / 242.8 MB, free: 1.566 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.1563, allocations: 11.98 kB / 242.8 MB, free: 1.555 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.1563, allocations: 4 kB / 242.8 MB, free: 1.551 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.1564, allocations: 3.938 kB / 242.8 MB, free: 1.547 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006431/0.157, allocations: 111.9 kB / 242.9 MB, free: 1.438 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.1571, allocations: 4 kB / 242.9 MB, free: 1.434 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.1573, allocations: 15.98 kB / 242.9 MB, free: 1.418 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-05/0.1574, allocations: 20 kB / 242.9 MB, free: 1.398 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0001389/0.1575, allocations: 116.8 kB / 243.1 MB, free: 1.277 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.427e-05/0.1576, allocations: 27.72 kB / 243.1 MB, free: 1.25 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.1578, allocations: 35.39 kB / 243.1 MB, free: 1.219 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.1578, allocations: 4 kB / 243.1 MB, free: 1.215 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.1578, allocations: 0 / 243.1 MB, free: 1.215 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.1579, allocations: 11.97 kB / 243.1 MB, free: 1.203 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.1601, allocations: 1.088 MB / 244.2 MB, free: 16 kB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.1602, allocations: 4 kB / 244.2 MB, free: 12 kB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1585/0.3187, allocations: 112 kB / 244.3 MB, free: 42.55 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.281e-05/0.3188, allocations: 6.875 kB / 244.3 MB, free: 42.55 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.958e-05/0.3189, allocations: 8.234 kB / 244.4 MB, free: 42.55 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.233e-05/0.3189, allocations: 14.91 kB / 244.4 MB, free: 42.55 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/0.3189, allocations: 4.125 kB / 244.4 MB, free: 42.55 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.3204, allocations: 0.9183 MB / 245.3 MB, free: 41.99 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.3206, allocations: 109.8 kB / 245.4 MB, free: 41.9 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.14e-05/0.3206, allocations: 9.828 kB / 245.4 MB, free: 41.9 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004217/0.3211, allocations: 21.91 kB / 245.4 MB, free: 41.9 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.3212, allocations: 51.06 kB / 245.5 MB, free: 41.89 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/0.3213, allocations: 20.47 kB / 245.5 MB, free: 41.89 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001308/0.3214, allocations: 119.7 kB / 245.6 MB, free: 41.82 MB / 186.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3214, allocations: 1.375 kB / 245.6 MB, free: 41.82 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0007192/0.3222, allocations: 71.97 kB / 245.7 MB, free: 41.82 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 (springDamper2.s_rel,springDamper2.v_rel,elastoGap2.s_rel,elastoGap2.v_rel) * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 55 * 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.0001904/0.3224, allocations: 109.8 kB / 245.8 MB, free: 41.73 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.000814/0.3232, allocations: 322.5 kB / 246.1 MB, free: 41.72 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3232, allocations: 1.125 kB / 246.1 MB, free: 41.72 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004769/0.3237, allocations: 190.3 kB / 246.3 MB, free: 41.72 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007447/0.3244, allocations: 60.83 kB / 246.4 MB, free: 41.71 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.3262, allocations: 0.7539 MB / 247.1 MB, free: 41.3 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.3266, allocations: 0.7898 MB / 247.9 MB, free: 40.61 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0003178/0.3269, allocations: 40.66 kB / 247.9 MB, free: 40.6 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.3271, allocations: 32.95 kB / 248 MB, free: 40.59 MB / 186.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3271, allocations: 0 / 248 MB, free: 40.59 MB / 186.7 MB Notification: Performance of Templates: time 0.01098/0.3381, allocations: 3.304 MB / 251.3 MB, free: 40.4 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1)