Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0012/0.0012, allocations: 112.2 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.001041/0.001041, allocations: 185.8 kB / 17.55 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.579/1.579, allocations: 205.1 MB / 223.4 MB, free: 12.43 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.001226/0.001226, allocations: 55.92 kB / 279.5 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1107, allocations: 46.62 MB / 326.1 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.00433/0.115, allocations: 3.546 MB / 329.7 MB, free: 1.23 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.1164, allocations: 0.9122 MB / 330.6 MB, free: 316 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/0.1166, allocations: 11.94 kB / 330.6 MB, free: 304 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.1168, allocations: 59.53 kB / 330.7 MB, free: 244 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.1171, allocations: 123 kB / 330.8 MB, free: 120 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003928/0.1175, allocations: 131.8 kB / 330.9 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000525/0.118, allocations: 0.6035 MB / 331.5 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003133/0.1183, allocations: 181.5 kB / 331.7 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003177/0.1187, allocations: 239.2 kB / 331.9 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000299/0.119, allocations: 274.9 kB / 332.2 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.469e-05/0.1191, allocations: 48 kB / 332.2 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.69e-05/0.1191, allocations: 52 kB / 332.3 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.178e-05/0.1192, allocations: 119.6 kB / 332.4 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002257/0.1195, allocations: 274.6 kB / 332.7 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005374/0.12, allocations: 0.5919 MB / 333.3 MB, free: 13.62 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.12, allocations: 3.938 kB / 333.3 MB, free: 13.62 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.12, allocations: 0 / 333.3 MB, free: 13.62 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.12, allocations: 0 / 333.3 MB, free: 13.62 MB / 286.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.00158/0.1216, allocations: 0.8342 MB / 334.1 MB, free: 12.73 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1217, allocations: 19.95 kB / 334.1 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.276e-05/0.1218, allocations: 56.28 kB / 334.2 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.1222, allocations: 331.2 kB / 334.5 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.394e-05/0.1222, allocations: 37.38 kB / 334.5 MB, free: 12.26 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.395e-05/0.1223, allocations: 44.38 kB / 334.6 MB, free: 12.22 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009143/0.1232, allocations: 454.7 kB / 335 MB, free: 11.77 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.1232, allocations: 4 kB / 335 MB, free: 11.77 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.1233, allocations: 20 kB / 335 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.1233, allocations: 12 kB / 335.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009572/0.1243, allocations: 451.7 kB / 335.5 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002149/0.1264, allocations: 1.401 MB / 336.9 MB, free: 9.828 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008793/0.1273, allocations: 0.5285 MB / 337.4 MB, free: 9.289 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007346/0.1281, allocations: 374.9 kB / 337.8 MB, free: 8.922 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.517e-05/0.1281, allocations: 8.562 kB / 337.8 MB, free: 8.914 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.1282, allocations: 39.12 kB / 337.8 MB, free: 8.867 MB / 286.1 MB Notification: Performance of pre-optimization done (n=67): time 1.763e-06/0.1282, allocations: 0 / 337.8 MB, free: 8.867 MB / 286.1 MB Notification: Performance of matching and sorting (n=103): time 0.006977/0.1351, allocations: 3.143 MB / 341 MB, free: 5.637 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.1352, allocations: 68.41 kB / 341.1 MB, free: 5.555 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.1355, allocations: 250.9 kB / 341.3 MB, free: 5.301 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.185e-05/0.1356, allocations: 41.7 kB / 341.3 MB, free: 5.254 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.1357, allocations: 193.3 kB / 341.5 MB, free: 5.059 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/0.136, allocations: 350.8 kB / 341.9 MB, free: 4.711 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/0.1362, allocations: 142.7 kB / 342 MB, free: 4.566 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1363, allocations: 366.8 kB / 342.4 MB, free: 4.199 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005478/0.1369, allocations: 269.9 kB / 342.6 MB, free: 3.938 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005983/0.1375, allocations: 349.4 kB / 343 MB, free: 3.586 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.1386, allocations: 0.6195 MB / 343.6 MB, free: 2.961 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1387, allocations: 0 / 343.6 MB, free: 2.961 MB / 286.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001359/0.14, allocations: 0.7897 MB / 344.4 MB, free: 2.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.14, allocations: 8 kB / 344.4 MB, free: 2.152 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.1401, allocations: 0 / 344.4 MB, free: 2.152 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.1401, allocations: 7.938 kB / 344.4 MB, free: 2.145 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007455/0.1408, allocations: 215.8 kB / 344.6 MB, free: 1.934 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.1409, allocations: 4 kB / 344.6 MB, free: 1.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/0.1412, allocations: 43.95 kB / 344.7 MB, free: 1.887 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/0.1412, allocations: 28 kB / 344.7 MB, free: 1.859 MB / 286.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.0002179/0.1415, allocations: 189.7 kB / 344.9 MB, free: 1.664 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.791e-05/0.1416, allocations: 63.27 kB / 344.9 MB, free: 1.602 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.1417, allocations: 77.34 kB / 345 MB, free: 1.527 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.1417, allocations: 8 kB / 345 MB, free: 1.52 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.1417, allocations: 0 / 345 MB, free: 1.52 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.1417, allocations: 7.969 kB / 345 MB, free: 1.512 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002827/0.1446, allocations: 2.002 MB / 347 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.1446, allocations: 8.031 kB / 347 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007512/0.1454, allocations: 207.7 kB / 347.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.1454, allocations: 8 kB / 347.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.826e-05/0.1454, allocations: 27.92 kB / 347.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.1454, allocations: 8 kB / 347.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.1455, allocations: 11.94 kB / 347.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/0.1475, allocations: 1.368 MB / 348.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.851e-05/0.1476, allocations: 128.4 kB / 348.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.372e-05/0.1476, allocations: 28 kB / 348.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/0.148, allocations: 51.95 kB / 348.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.1482, allocations: 72.8 kB / 348.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.563e-05/0.1482, allocations: 35.98 kB / 349 MB, free: 13.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001456/0.1484, allocations: 174 kB / 349.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1484, allocations: 0 / 349.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004852/0.1489, allocations: 152 kB / 349.3 MB, free: 13.04 MB / 302.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.0001597/0.149, allocations: 135 kB / 349.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00173/0.1508, allocations: 0.7697 MB / 350.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.1508, allocations: 4 kB / 350.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007258/0.1515, allocations: 446.3 kB / 350.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000827/0.1524, allocations: 133.6 kB / 350.8 MB, free: 11.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.1551, allocations: 1.758 MB / 352.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.1555, allocations: 0.8684 MB / 353.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003323/0.1559, allocations: 76.97 kB / 353.5 MB, free: 8.746 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.1561, allocations: 59.42 kB / 353.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of SimCode: time 2.365e-06/0.1561, allocations: 0 / 353.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of Templates: time 0.01163/0.1677, allocations: 6.365 MB / 359.9 MB, free: 2.324 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1)