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.0008677/0.0008676, allocations: 92.73 kB / 16.65 MB, free: 6.586 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.0008212/0.0008212, allocations: 185.3 kB / 17.56 MB, free: 6.203 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.606/1.606, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004885/0.0004887, allocations: 12 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1098, allocations: 47.58 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.002893/0.1127, allocations: 2.263 MB / 330.6 MB, free: 1.484 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006452/0.1134, allocations: 366.8 kB / 330.9 MB, free: 1.125 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.1135, allocations: 7.938 kB / 330.9 MB, free: 1.117 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.1137, allocations: 39.69 kB / 331 MB, free: 1.078 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.1139, allocations: 83.31 kB / 331.1 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.1142, allocations: 83.84 kB / 331.1 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003593/0.1145, allocations: 362.4 kB / 331.5 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002063/0.1148, allocations: 91.94 kB / 331.6 MB, free: 480 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.1149, allocations: 119.5 kB / 331.7 MB, free: 360 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.1151, allocations: 147.3 kB / 331.8 MB, free: 212 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.239e-05/0.1152, allocations: 16 kB / 331.9 MB, free: 196 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.086e-05/0.1152, allocations: 16 kB / 331.9 MB, free: 180 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.266e-05/0.1153, allocations: 59.75 kB / 331.9 MB, free: 120 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.1155, allocations: 172.9 kB / 332.1 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003508/0.1159, allocations: 346.6 kB / 332.4 MB, free: 15.6 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1159, allocations: 3.938 kB / 332.5 MB, free: 15.6 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.1159, allocations: 0 / 332.5 MB, free: 15.6 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1159, allocations: 0 / 332.5 MB, free: 15.6 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.001122/0.117, allocations: 0.5887 MB / 333 MB, free: 14.96 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.1171, allocations: 8.031 kB / 333 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.232e-05/0.1172, allocations: 44.47 kB / 333.1 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.1175, allocations: 267.6 kB / 333.4 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/0.1175, allocations: 16.94 kB / 333.4 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.534e-05/0.1176, allocations: 32.38 kB / 333.4 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005816/0.1182, allocations: 281.4 kB / 333.7 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.1182, allocations: 192 / 333.7 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.314e-05/0.1182, allocations: 23.92 kB / 333.7 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.1183, allocations: 8 kB / 333.7 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005911/0.1189, allocations: 286 kB / 334 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.1202, allocations: 0.8068 MB / 334.8 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/0.1208, allocations: 370.8 kB / 335.2 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/0.1212, allocations: 200.8 kB / 335.4 MB, free: 12.53 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.1212, allocations: 8 kB / 335.4 MB, free: 12.52 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.1213, allocations: 34.56 kB / 335.4 MB, free: 12.48 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 1.794e-06/0.1213, allocations: 4 kB / 335.4 MB, free: 12.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=63): time 0.004364/0.1256, allocations: 2.043 MB / 337.4 MB, free: 10.34 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.1257, allocations: 55.97 kB / 337.5 MB, free: 10.27 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.1259, allocations: 198.8 kB / 337.7 MB, free: 10.07 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.1259, allocations: 33.7 kB / 337.7 MB, free: 10.03 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.126, allocations: 149 kB / 337.9 MB, free: 9.875 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.1262, allocations: 212.9 kB / 338.1 MB, free: 9.664 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.597e-05/0.1263, allocations: 53.69 kB / 338.1 MB, free: 9.605 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1264, allocations: 346.7 kB / 338.5 MB, free: 9.258 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.1268, allocations: 169 kB / 338.6 MB, free: 9.094 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/0.1271, allocations: 177 kB / 338.8 MB, free: 8.922 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000705/0.1278, allocations: 396 kB / 339.2 MB, free: 8.531 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1278, allocations: 0 / 339.2 MB, free: 8.531 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008393/0.1287, allocations: 0.4986 MB / 339.7 MB, free: 8.027 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.1287, allocations: 4 kB / 339.7 MB, free: 8.023 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1287, allocations: 4 kB / 339.7 MB, free: 8.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.1288, allocations: 0 / 339.7 MB, free: 8.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004732/0.1292, allocations: 127.8 kB / 339.8 MB, free: 7.895 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1292, allocations: 3.938 kB / 339.8 MB, free: 7.891 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.1295, allocations: 31.98 kB / 339.9 MB, free: 7.859 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/0.1295, allocations: 23.92 kB / 339.9 MB, free: 7.836 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.0001692/0.1297, allocations: 157.7 kB / 340 MB, free: 7.672 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/0.1298, allocations: 31.62 kB / 340.1 MB, free: 7.641 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.1299, allocations: 51.33 kB / 340.1 MB, free: 7.594 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1299, allocations: 8 kB / 340.1 MB, free: 7.586 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.485e-06/0.1299, allocations: 0 / 340.1 MB, free: 7.586 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1299, allocations: 0 / 340.1 MB, free: 7.586 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.1321, allocations: 1.341 MB / 341.5 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/0.1321, allocations: 4 kB / 341.5 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004996/0.1326, allocations: 131.8 kB / 341.6 MB, free: 5.996 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.1326, allocations: 7.938 kB / 341.6 MB, free: 5.988 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.1327, allocations: 20 kB / 341.6 MB, free: 5.969 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.937e-06/0.1327, allocations: 7.938 kB / 341.6 MB, free: 5.961 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.1327, allocations: 8 kB / 341.6 MB, free: 5.953 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.1341, allocations: 0.9098 MB / 342.5 MB, free: 4.973 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.1342, allocations: 116.6 kB / 342.7 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.194e-05/0.1343, allocations: 20.03 kB / 342.7 MB, free: 4.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.1345, allocations: 31.98 kB / 342.7 MB, free: 4.789 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.1346, allocations: 51.92 kB / 342.8 MB, free: 4.738 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.1347, allocations: 23.98 kB / 342.8 MB, free: 4.715 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.1348, allocations: 140.6 kB / 342.9 MB, free: 4.578 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1348, allocations: 3.938 kB / 342.9 MB, free: 4.574 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004209/0.1353, allocations: 92 kB / 343 MB, free: 4.484 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.0001666/0.1354, allocations: 127.1 kB / 343.1 MB, free: 4.352 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008552/0.1363, allocations: 454.7 kB / 343.6 MB, free: 3.91 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1363, allocations: 0 / 343.6 MB, free: 3.91 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004459/0.1368, allocations: 261.1 kB / 343.8 MB, free: 3.656 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007285/0.1375, allocations: 79.61 kB / 343.9 MB, free: 3.582 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.1393, allocations: 1.244 MB / 345.2 MB, free: 2.254 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.1397, allocations: 0.7896 MB / 346 MB, free: 1.441 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000216/0.1399, allocations: 51.25 kB / 346 MB, free: 1.391 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.1401, allocations: 39.42 kB / 346 MB, free: 1.352 MB / 286.1 MB Notification: Performance of SimCode: time 1.192e-06/0.1401, allocations: 0 / 346 MB, free: 1.352 MB / 286.1 MB Notification: Performance of Templates: time 0.008014/0.1481, allocations: 3.802 MB / 349.8 MB, free: 13.56 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)