Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap.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.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 101.8 kB / 16.62 MB, free: 6.812 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.00164/0.00164, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.478/1.478, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.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.001687/0.001688, allocations: 51.92 kB / 279.5 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.129, allocations: 46.64 MB / 326.1 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.00483/0.1338, allocations: 2.633 MB / 328.8 MB, free: 2.141 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008916/0.1348, allocations: 366.7 kB / 329.1 MB, free: 1.781 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.1349, allocations: 4 kB / 329.1 MB, free: 1.777 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.1351, allocations: 39.7 kB / 329.2 MB, free: 1.738 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002374/0.1354, allocations: 79.3 kB / 329.2 MB, free: 1.66 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.1358, allocations: 79.94 kB / 329.3 MB, free: 1.582 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004833/0.1363, allocations: 374.4 kB / 329.7 MB, free: 1.215 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002823/0.1365, allocations: 115.1 kB / 329.8 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.1368, allocations: 143.5 kB / 329.9 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.137, allocations: 167.3 kB / 330.1 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.077e-05/0.1371, allocations: 31.94 kB / 330.1 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.271e-05/0.1372, allocations: 32 kB / 330.2 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.438e-05/0.1373, allocations: 71.75 kB / 330.2 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.1375, allocations: 163.2 kB / 330.4 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004666/0.138, allocations: 362.7 kB / 330.8 MB, free: 152 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/0.138, allocations: 4 kB / 330.8 MB, free: 148 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.138, allocations: 0 / 330.8 MB, free: 148 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.138, allocations: 3.938 kB / 330.8 MB, free: 144 kB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001623/0.1397, allocations: 0.6314 MB / 331.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.1397, allocations: 8.031 kB / 331.4 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.1398, allocations: 40.56 kB / 331.4 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.1403, allocations: 267.6 kB / 331.7 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.599e-05/0.1403, allocations: 16.94 kB / 331.7 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.18e-05/0.1404, allocations: 28.38 kB / 331.7 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008046/0.1412, allocations: 277.3 kB / 332 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.916e-05/0.1413, allocations: 8.094 kB / 332 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/0.1413, allocations: 11.94 kB / 332 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.1413, allocations: 11.98 kB / 332 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008348/0.1422, allocations: 266.1 kB / 332.3 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.1441, allocations: 0.799 MB / 333.1 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009646/0.145, allocations: 350.8 kB / 333.5 MB, free: 13.29 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005125/0.1456, allocations: 204.7 kB / 333.7 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.152e-05/0.1456, allocations: 4 kB / 333.7 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/0.1457, allocations: 42.5 kB / 333.7 MB, free: 13.04 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 2.184e-06/0.1457, allocations: 0 / 333.7 MB, free: 13.04 MB / 286.1 MB Notification: Performance of matching and sorting (n=63): time 0.006323/0.152, allocations: 1.957 MB / 335.7 MB, free: 10.99 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.1521, allocations: 59.97 kB / 335.7 MB, free: 10.92 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.1524, allocations: 194.8 kB / 335.9 MB, free: 10.71 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/0.1525, allocations: 33.7 kB / 335.9 MB, free: 10.68 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.1526, allocations: 156.8 kB / 336.1 MB, free: 10.52 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002306/0.1529, allocations: 212.8 kB / 336.3 MB, free: 10.3 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/0.1531, allocations: 90.25 kB / 336.4 MB, free: 10.21 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.1533, allocations: 350.7 kB / 336.7 MB, free: 9.855 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005083/0.1538, allocations: 161 kB / 336.9 MB, free: 9.699 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004852/0.1543, allocations: 172.9 kB / 337.1 MB, free: 9.531 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.1554, allocations: 376 kB / 337.4 MB, free: 9.16 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1554, allocations: 4 kB / 337.4 MB, free: 9.156 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001279/0.1567, allocations: 482.7 kB / 337.9 MB, free: 8.68 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.1567, allocations: 4 kB / 337.9 MB, free: 8.676 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1567, allocations: 0 / 337.9 MB, free: 8.676 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.1568, allocations: 4 kB / 337.9 MB, free: 8.672 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007261/0.1575, allocations: 123.8 kB / 338 MB, free: 8.551 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.1575, allocations: 4 kB / 338 MB, free: 8.547 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.1578, allocations: 23.98 kB / 338.1 MB, free: 8.523 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.894e-05/0.1579, allocations: 19.94 kB / 338.1 MB, free: 8.504 MB / 286.1 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 (elastoGap2.contact,elastoGap1.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.1582, allocations: 161.7 kB / 338.2 MB, free: 8.336 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.1583, allocations: 35.62 kB / 338.3 MB, free: 8.301 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.1585, allocations: 51.33 kB / 338.3 MB, free: 8.254 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.1585, allocations: 4 kB / 338.3 MB, free: 8.25 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.1585, allocations: 0 / 338.3 MB, free: 8.25 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.1585, allocations: 7.984 kB / 338.3 MB, free: 8.242 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003069/0.1616, allocations: 1.329 MB / 339.7 MB, free: 6.797 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.1617, allocations: 4 kB / 339.7 MB, free: 6.793 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007135/0.1624, allocations: 120.4 kB / 339.8 MB, free: 6.676 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-05/0.1624, allocations: 15.94 kB / 339.8 MB, free: 6.66 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.925e-05/0.1625, allocations: 19.98 kB / 339.8 MB, free: 6.641 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.344e-05/0.1625, allocations: 12 kB / 339.8 MB, free: 6.629 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.918e-06/0.1625, allocations: 7.938 kB / 339.8 MB, free: 6.621 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/0.1644, allocations: 0.8746 MB / 340.7 MB, free: 5.676 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.1646, allocations: 120.7 kB / 340.8 MB, free: 5.539 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.54e-05/0.1647, allocations: 16 kB / 340.8 MB, free: 5.523 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.1651, allocations: 23.98 kB / 340.9 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.1652, allocations: 55.81 kB / 340.9 MB, free: 5.445 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.606e-05/0.1652, allocations: 24 kB / 340.9 MB, free: 5.422 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001695/0.1654, allocations: 136.6 kB / 341.1 MB, free: 5.289 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1654, allocations: 0 / 341.1 MB, free: 5.289 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006735/0.1661, allocations: 96 kB / 341.2 MB, free: 5.195 MB / 286.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.0001876/0.1663, allocations: 123.1 kB / 341.3 MB, free: 5.066 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.1678, allocations: 470.5 kB / 341.7 MB, free: 4.609 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.1679, allocations: 0 / 341.7 MB, free: 4.609 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006199/0.1685, allocations: 248 kB / 342 MB, free: 4.367 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.1696, allocations: 84.95 kB / 342.1 MB, free: 4.285 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/0.1722, allocations: 1.165 MB / 343.2 MB, free: 3.035 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005417/0.1728, allocations: 0.7894 MB / 344 MB, free: 2.223 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003197/0.1731, allocations: 47.25 kB / 344.1 MB, free: 2.176 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.1733, allocations: 39.42 kB / 344.1 MB, free: 2.137 MB / 286.1 MB Notification: Performance of SimCode: time 1.132e-06/0.1733, allocations: 0 / 344.1 MB, free: 2.137 MB / 286.1 MB Notification: Performance of Templates: time 0.00825/0.1815, allocations: 4.042 MB / 348.2 MB, free: 14.11 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1)