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.01197/0.01197, allocations: 108.7 kB / 15.74 MB, free: 6.445 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.002362/0.002362, allocations: 191.5 kB / 16.67 MB, free: 6.355 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.575/1.575, allocations: 205.1 MB / 222.6 MB, free: 4.488 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.001194/0.001194, allocations: 49.05 kB / 326.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1162, allocations: 46.63 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003565/0.1198, allocations: 2.58 MB / 375.7 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007183/0.1206, allocations: 378.6 kB / 376.1 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.1207, allocations: 4 kB / 376.1 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.1209, allocations: 47.52 kB / 376.2 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.1211, allocations: 103.1 kB / 376.3 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.1214, allocations: 91.83 kB / 376.4 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.1217, allocations: 378.3 kB / 376.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.122, allocations: 119.1 kB / 376.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.1221, allocations: 139.5 kB / 377 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.1224, allocations: 171.3 kB / 377.1 MB, free: 13.33 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.303e-05/0.1224, allocations: 28 kB / 377.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.925e-05/0.1225, allocations: 32 kB / 377.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.1225, allocations: 67.75 kB / 377.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.1227, allocations: 163.3 kB / 377.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.1231, allocations: 366.7 kB / 377.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1231, allocations: 3.938 kB / 377.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.1231, allocations: 0 / 377.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1231, allocations: 7.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.001106/0.1242, allocations: 0.6237 MB / 378.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1243, allocations: 12.03 kB / 378.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.914e-05/0.1244, allocations: 36.47 kB / 378.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/0.1248, allocations: 271.4 kB / 378.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.1248, allocations: 20.94 kB / 378.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.783e-05/0.1249, allocations: 32.38 kB / 378.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005402/0.1254, allocations: 273.4 kB / 379.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.1255, allocations: 4.188 kB / 379.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/0.1255, allocations: 19.92 kB / 379.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.1255, allocations: 8 kB / 379.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000544/0.1261, allocations: 262.1 kB / 379.3 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.1273, allocations: 0.795 MB / 380.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005703/0.1279, allocations: 358.7 kB / 380.5 MB, free: 9.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/0.1282, allocations: 196.7 kB / 380.7 MB, free: 9.625 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.06e-05/0.1283, allocations: 8 kB / 380.7 MB, free: 9.617 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.1283, allocations: 42.55 kB / 380.7 MB, free: 9.566 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.934e-06/0.1283, allocations: 0 / 380.7 MB, free: 9.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.003976/0.1323, allocations: 1.961 MB / 382.7 MB, free: 7.516 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.1324, allocations: 59.97 kB / 382.7 MB, free: 7.445 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.1326, allocations: 198.9 kB / 382.9 MB, free: 7.238 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.1326, allocations: 33.7 kB / 383 MB, free: 7.199 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.698e-05/0.1327, allocations: 145 kB / 383.1 MB, free: 7.055 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.1328, allocations: 212.8 kB / 383.3 MB, free: 6.844 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.133, allocations: 94.23 kB / 383.4 MB, free: 6.746 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1331, allocations: 350.8 kB / 383.8 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.1334, allocations: 161 kB / 383.9 MB, free: 6.238 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/0.1337, allocations: 173 kB / 384.1 MB, free: 6.066 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000621/0.1344, allocations: 376 kB / 384.4 MB, free: 5.699 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1344, allocations: 0 / 384.4 MB, free: 5.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007861/0.1352, allocations: 490.5 kB / 384.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1352, allocations: 4 kB / 384.9 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.1352, allocations: 0 / 384.9 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.1352, allocations: 4 kB / 384.9 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/0.1357, allocations: 119.9 kB / 385.1 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.1357, allocations: 0 / 385.1 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.1359, allocations: 31.92 kB / 385.1 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.475e-05/0.1359, allocations: 23.92 kB / 385.1 MB, free: 5.031 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.0001696/0.1361, allocations: 161.7 kB / 385.3 MB, free: 4.863 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.71e-05/0.1362, allocations: 31.62 kB / 385.3 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.1363, allocations: 47.33 kB / 385.3 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.1363, allocations: 11.98 kB / 385.4 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.1363, allocations: 0 / 385.4 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.1363, allocations: 4 kB / 385.4 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.1384, allocations: 1.317 MB / 386.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.1384, allocations: 4 kB / 386.7 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004776/0.1389, allocations: 127.8 kB / 386.8 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/0.1389, allocations: 11.94 kB / 386.8 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.1389, allocations: 16 kB / 386.8 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.1389, allocations: 7.938 kB / 386.8 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.139, allocations: 8 kB / 386.8 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.1403, allocations: 0.8762 MB / 387.7 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.493e-05/0.1404, allocations: 112.7 kB / 387.8 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.095e-05/0.1404, allocations: 20.03 kB / 387.9 MB, free: 2.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.1407, allocations: 23.98 kB / 387.9 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.647e-05/0.1408, allocations: 55.58 kB / 387.9 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/0.1408, allocations: 27.98 kB / 388 MB, free: 1.961 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.141, allocations: 144.4 kB / 388.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.141, allocations: 0 / 388.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004119/0.1414, allocations: 100 kB / 388.2 MB, free: 1.723 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.0001575/0.1415, allocations: 115.1 kB / 388.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008637/0.1424, allocations: 442.9 kB / 388.7 MB, free: 1.164 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1424, allocations: 0 / 388.7 MB, free: 1.164 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004357/0.1429, allocations: 260.4 kB / 389 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006254/0.1435, allocations: 87.72 kB / 389.1 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.1454, allocations: 1.009 MB / 390.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.1458, allocations: 0.7933 MB / 390.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001981/0.146, allocations: 47.25 kB / 390.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.1461, allocations: 39.42 kB / 391 MB, free: 14.83 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1461, allocations: 0 / 391 MB, free: 14.83 MB / 334.1 MB Notification: Performance of Templates: time 0.009562/0.1557, allocations: 4.188 MB / 395.2 MB, free: 10.64 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)