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.001402/0.001402, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.00126/0.00126, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.586/1.586, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.001388/0.001388, allocations: 44.31 kB / 280 MB, free: 3.16 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1193, allocations: 46.64 MB / 326.6 MB, free: 4.453 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003944/0.1233, allocations: 2.591 MB / 329.2 MB, free: 1.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007362/0.124, allocations: 362.8 kB / 329.6 MB, free: 1.484 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.1242, allocations: 15.88 kB / 329.6 MB, free: 1.469 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.1244, allocations: 47.5 kB / 329.6 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.1246, allocations: 99.12 kB / 329.7 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.125, allocations: 87.81 kB / 329.8 MB, free: 1.238 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004437/0.1254, allocations: 378.4 kB / 330.2 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003114/0.1257, allocations: 115.1 kB / 330.3 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.1259, allocations: 139.5 kB / 330.4 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.1261, allocations: 163.3 kB / 330.6 MB, free: 468 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.082e-05/0.1262, allocations: 28 kB / 330.6 MB, free: 440 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.163e-05/0.1262, allocations: 36 kB / 330.7 MB, free: 404 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.578e-05/0.1263, allocations: 67.77 kB / 330.7 MB, free: 336 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.1265, allocations: 179.1 kB / 330.9 MB, free: 156 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003304/0.1268, allocations: 362.7 kB / 331.2 MB, free: 15.8 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1268, allocations: 0 / 331.2 MB, free: 15.8 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1268, allocations: 0 / 331.2 MB, free: 15.8 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1268, allocations: 0 / 331.2 MB, free: 15.8 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001153/0.128, allocations: 0.6275 MB / 331.9 MB, free: 15.12 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.128, allocations: 12.03 kB / 331.9 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.003e-05/0.1281, allocations: 32.56 kB / 331.9 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.1284, allocations: 267.6 kB / 332.2 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.1285, allocations: 20.94 kB / 332.2 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.192e-05/0.1285, allocations: 28.38 kB / 332.2 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005262/0.1291, allocations: 285.3 kB / 332.5 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.1291, allocations: 4.094 kB / 332.5 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.1291, allocations: 15.94 kB / 332.5 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.1291, allocations: 4 kB / 332.5 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005354/0.1297, allocations: 270 kB / 332.8 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.1309, allocations: 0.7952 MB / 333.6 MB, free: 13.31 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005789/0.1315, allocations: 354.8 kB / 333.9 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003386/0.1319, allocations: 192.7 kB / 334.1 MB, free: 12.76 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.1319, allocations: 7.984 kB / 334.1 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.132, allocations: 46.55 kB / 334.2 MB, free: 12.7 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 1.502e-06/0.132, allocations: 0 / 334.2 MB, free: 12.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=63): time 0.004233/0.1362, allocations: 1.961 MB / 336.1 MB, free: 10.65 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.1363, allocations: 59.97 kB / 336.2 MB, free: 10.58 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.1365, allocations: 202.8 kB / 336.4 MB, free: 10.37 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.1365, allocations: 33.7 kB / 336.4 MB, free: 10.33 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.718e-05/0.1366, allocations: 148.9 kB / 336.6 MB, free: 10.18 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.1368, allocations: 216.8 kB / 336.8 MB, free: 9.961 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.1369, allocations: 90.23 kB / 336.9 MB, free: 9.863 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1371, allocations: 346.7 kB / 337.2 MB, free: 9.516 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.1374, allocations: 161 kB / 337.4 MB, free: 9.359 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.1377, allocations: 176.9 kB / 337.5 MB, free: 9.188 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006493/0.1384, allocations: 376 kB / 337.9 MB, free: 8.816 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1384, allocations: 0 / 337.9 MB, free: 8.816 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008936/0.1393, allocations: 490.7 kB / 338.4 MB, free: 8.332 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.1393, allocations: 4 kB / 338.4 MB, free: 8.328 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1393, allocations: 0 / 338.4 MB, free: 8.328 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.1393, allocations: 4 kB / 338.4 MB, free: 8.324 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/0.1398, allocations: 123.8 kB / 338.5 MB, free: 8.203 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.1399, allocations: 0 / 338.5 MB, free: 8.203 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.1401, allocations: 23.98 kB / 338.5 MB, free: 8.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.925e-05/0.1401, allocations: 23.92 kB / 338.6 MB, free: 8.156 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.0002041/0.1403, allocations: 161.7 kB / 338.7 MB, free: 7.988 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.407e-05/0.1404, allocations: 31.62 kB / 338.8 MB, free: 7.957 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.1405, allocations: 51.33 kB / 338.8 MB, free: 7.91 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.1405, allocations: 8 kB / 338.8 MB, free: 7.902 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.1405, allocations: 0 / 338.8 MB, free: 7.902 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1405, allocations: 0 / 338.8 MB, free: 7.902 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.1427, allocations: 1.325 MB / 340.1 MB, free: 6.461 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.1427, allocations: 4 kB / 340.1 MB, free: 6.457 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004581/0.1432, allocations: 127.8 kB / 340.3 MB, free: 6.332 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.1432, allocations: 7.938 kB / 340.3 MB, free: 6.324 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.1432, allocations: 16 kB / 340.3 MB, free: 6.309 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.1432, allocations: 8 kB / 340.3 MB, free: 6.301 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.1433, allocations: 8.312 kB / 340.3 MB, free: 6.293 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.1445, allocations: 0.8823 MB / 341.2 MB, free: 5.34 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.1447, allocations: 112.7 kB / 341.3 MB, free: 5.211 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.639e-05/0.1447, allocations: 24.03 kB / 341.3 MB, free: 5.188 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.145, allocations: 31.98 kB / 341.4 MB, free: 5.156 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.991e-05/0.1451, allocations: 43.83 kB / 341.4 MB, free: 5.113 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.1451, allocations: 23.98 kB / 341.4 MB, free: 5.09 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.1452, allocations: 148.4 kB / 341.6 MB, free: 4.945 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1453, allocations: 0 / 341.6 MB, free: 4.945 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003648/0.1456, allocations: 92 kB / 341.7 MB, free: 4.855 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.0001514/0.1458, allocations: 119.1 kB / 341.8 MB, free: 4.73 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009292/0.1467, allocations: 474.4 kB / 342.2 MB, free: 4.266 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1467, allocations: 0 / 342.2 MB, free: 4.266 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004131/0.1472, allocations: 256.2 kB / 342.5 MB, free: 4.016 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007283/0.1479, allocations: 76.91 kB / 342.6 MB, free: 3.941 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.1497, allocations: 1.013 MB / 343.6 MB, free: 2.844 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005015/0.1502, allocations: 0.7933 MB / 344.4 MB, free: 2.027 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001767/0.1504, allocations: 51.27 kB / 344.4 MB, free: 1.977 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.1505, allocations: 31.44 kB / 344.4 MB, free: 1.945 MB / 286.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1505, allocations: 0 / 344.4 MB, free: 1.945 MB / 286.1 MB Notification: Performance of Templates: time 0.009349/0.1599, allocations: 4.115 MB / 348.6 MB, free: 13.84 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)