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/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.1_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_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.005813/0.005813, allocations: 96.72 kB / 15.73 MB, free: 6.004 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.001188/0.001188, allocations: 194.5 kB / 16.67 MB, free: 5.934 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.562/1.562, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.001311/0.001311, allocations: 53.95 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.125, allocations: 46.61 MB / 373.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004407/0.1295, allocations: 2.592 MB / 375.7 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009529/0.1305, allocations: 378.6 kB / 376.1 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000252/0.1308, allocations: 4 kB / 376.1 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.131, allocations: 51.45 kB / 376.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002192/0.1312, allocations: 103.1 kB / 376.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.1316, allocations: 83.83 kB / 376.4 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000383/0.132, allocations: 378.3 kB / 376.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002264/0.1322, allocations: 115.1 kB / 376.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.1324, allocations: 143.5 kB / 377 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.1326, allocations: 163.3 kB / 377.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.769e-05/0.1326, allocations: 32 kB / 377.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.333e-05/0.1327, allocations: 28 kB / 377.2 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.271e-05/0.1328, allocations: 75.75 kB / 377.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.1329, allocations: 163.2 kB / 377.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000383/0.1333, allocations: 374.4 kB / 377.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1333, allocations: 0 / 377.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.1333, allocations: 0 / 377.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1333, allocations: 3.938 kB / 377.8 MB, free: 12.67 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001082/0.1344, allocations: 0.6311 MB / 378.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.1345, allocations: 12.02 kB / 378.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.203e-05/0.1345, allocations: 40.7 kB / 378.5 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.1349, allocations: 271.6 kB / 378.7 MB, free: 11.63 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.1349, allocations: 20.94 kB / 378.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.987e-05/0.135, allocations: 36.33 kB / 378.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005483/0.1356, allocations: 269.4 kB / 379.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.1356, allocations: 8.172 kB / 379.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.979e-05/0.1356, allocations: 11.94 kB / 379.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1357, allocations: 8 kB / 379.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005713/0.1362, allocations: 270 kB / 379.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.1375, allocations: 0.7914 MB / 380.1 MB, free: 10.17 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000619/0.1381, allocations: 359.9 kB / 380.5 MB, free: 9.809 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.1385, allocations: 196.7 kB / 380.7 MB, free: 9.613 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.1385, allocations: 4 kB / 380.7 MB, free: 9.609 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1386, allocations: 38.56 kB / 380.7 MB, free: 9.562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.603e-06/0.1386, allocations: 0 / 380.7 MB, free: 9.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004298/0.1429, allocations: 1.977 MB / 382.7 MB, free: 7.496 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.1429, allocations: 55.97 kB / 382.8 MB, free: 7.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.1431, allocations: 195 kB / 383 MB, free: 7.227 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.1432, allocations: 41.7 kB / 383 MB, free: 7.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.1433, allocations: 149.2 kB / 383.1 MB, free: 7.031 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.1434, allocations: 226 kB / 383.4 MB, free: 6.809 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.1436, allocations: 90.25 kB / 383.4 MB, free: 6.715 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1437, allocations: 350.7 kB / 383.8 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.1441, allocations: 161 kB / 383.9 MB, free: 6.207 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/0.1444, allocations: 173 kB / 384.1 MB, free: 6.035 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006517/0.1451, allocations: 376 kB / 384.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1451, allocations: 4 kB / 384.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008236/0.1459, allocations: 478.8 kB / 385 MB, free: 5.188 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.1459, allocations: 8 kB / 385 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1459, allocations: 4 kB / 385 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.146, allocations: 7.984 kB / 385 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004736/0.1465, allocations: 119.8 kB / 385.1 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.1465, allocations: 4 kB / 385.1 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.1467, allocations: 19.98 kB / 385.1 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/0.1467, allocations: 19.94 kB / 385.1 MB, free: 5.008 MB / 318.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.0001728/0.1469, allocations: 161.7 kB / 385.3 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.361e-05/0.147, allocations: 43.73 kB / 385.3 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.1471, allocations: 43.34 kB / 385.4 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.1471, allocations: 8 kB / 385.4 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1471, allocations: 0 / 385.4 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.1471, allocations: 3.984 kB / 385.4 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/0.1491, allocations: 1.325 MB / 386.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.1491, allocations: 4 kB / 386.7 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004777/0.1496, allocations: 120.4 kB / 386.8 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.929e-06/0.1496, allocations: 11.94 kB / 386.8 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/0.1497, allocations: 23.98 kB / 386.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.1497, allocations: 11.94 kB / 386.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1497, allocations: 4 kB / 386.9 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.151, allocations: 0.8801 MB / 387.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.018e-05/0.1511, allocations: 112.9 kB / 387.9 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.376e-05/0.1512, allocations: 16.09 kB / 387.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.1514, allocations: 27.97 kB / 387.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.716e-05/0.1515, allocations: 59.56 kB / 388 MB, free: 1.949 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.1516, allocations: 20 kB / 388 MB, free: 1.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.1517, allocations: 144.4 kB / 388.1 MB, free: 1.789 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1517, allocations: 0 / 388.1 MB, free: 1.789 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003782/0.1521, allocations: 96 kB / 388.2 MB, free: 1.695 MB / 318.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.0001819/0.1523, allocations: 123.1 kB / 388.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008554/0.1532, allocations: 442.9 kB / 388.8 MB, free: 1.129 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1532, allocations: 0 / 388.8 MB, free: 1.129 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004292/0.1536, allocations: 255.7 kB / 389 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000645/0.1543, allocations: 96.84 kB / 389.1 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.156, allocations: 1.012 MB / 390.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.1564, allocations: 0.7933 MB / 390.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000191/0.1566, allocations: 47.25 kB / 391 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.1568, allocations: 35.44 kB / 391 MB, free: 14.79 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1568, allocations: 4 kB / 391 MB, free: 14.79 MB / 334.1 MB Notification: Performance of Templates: time 0.008559/0.1653, allocations: 4.192 MB / 395.2 MB, free: 10.59 MB / 334.1 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)