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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001014/0.001014, allocations: 179.4 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.174/1.174, allocations: 194.5 MB / 211.6 MB, free: 3.055 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001577/0.001577, allocations: 115.2 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.00034, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08273/0.08308, allocations: 44.49 MB / 355.1 MB, free: 2.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2359/0.3191, allocations: 72.09 MB / 427.1 MB, free: 17.47 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001702/0.3193, allocations: 63.16 kB / 427.2 MB, free: 17.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01303/0.3323, allocations: 5.635 MB / 432.8 MB, free: 12.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3324, allocations: 0 / 432.8 MB, free: 12.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.3324, allocations: 8 kB / 432.8 MB, free: 12.83 MB / 314.7 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.0006869/0.3331, allocations: 0.5748 MB / 433.4 MB, free: 12.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3331, allocations: 12.03 kB / 433.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/0.3332, allocations: 35.58 kB / 433.5 MB, free: 12.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.3335, allocations: 247.5 kB / 433.7 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.3335, allocations: 19.88 kB / 433.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-05/0.3336, allocations: 35.19 kB / 433.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004728/0.3341, allocations: 283.8 kB / 434 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.3341, allocations: 3.906 kB / 434 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.3341, allocations: 11.69 kB / 434.1 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3341, allocations: 4 kB / 434.1 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000458/0.3346, allocations: 283.1 kB / 434.3 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009815/0.3356, allocations: 0.8001 MB / 435.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000474/0.3361, allocations: 372.3 kB / 435.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.614e-05/0.3361, allocations: 16.64 kB / 435.5 MB, free: 10.53 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.3361, allocations: 42.39 kB / 435.6 MB, free: 10.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 1.333e-06/0.3361, allocations: 0 / 435.6 MB, free: 10.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.003533/0.3397, allocations: 2.024 MB / 437.6 MB, free: 8.816 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.3397, allocations: 58.91 kB / 437.6 MB, free: 8.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.3399, allocations: 172.9 kB / 437.8 MB, free: 8.594 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.3399, allocations: 43.77 kB / 437.9 MB, free: 8.555 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.05e-05/0.34, allocations: 143.6 kB / 438 MB, free: 8.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.3401, allocations: 217 kB / 438.2 MB, free: 8.242 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/0.3401, allocations: 14.94 kB / 438.2 MB, free: 8.238 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.512e-05/0.3402, allocations: 333.4 kB / 438.5 MB, free: 7.914 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.3405, allocations: 176.8 kB / 438.7 MB, free: 7.797 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.3408, allocations: 174.2 kB / 438.9 MB, free: 7.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/0.3411, allocations: 192 kB / 439.1 MB, free: 7.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3411, allocations: 0 / 439.1 MB, free: 7.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000728/0.3418, allocations: 496.3 kB / 439.6 MB, free: 7.211 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.3419, allocations: 8 kB / 439.6 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3419, allocations: 0 / 439.6 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.3419, allocations: 7.953 kB / 439.6 MB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/0.3423, allocations: 127.2 kB / 439.7 MB, free: 7.074 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/0.3423, allocations: 4 kB / 439.7 MB, free: 7.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.3425, allocations: 34.11 kB / 439.7 MB, free: 7.047 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.3426, allocations: 18.25 kB / 439.8 MB, free: 7.035 MB / 314.7 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 (elastoGap1.contact,elastoGap2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.3427, allocations: 154.4 kB / 439.9 MB, free: 6.902 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/0.3427, allocations: 37.41 kB / 439.9 MB, free: 6.867 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.384e-05/0.3428, allocations: 49.45 kB / 440 MB, free: 6.852 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3429, allocations: 11.95 kB / 440 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.3429, allocations: 0 / 440 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3429, allocations: 3.984 kB / 440 MB, free: 6.836 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.3444, allocations: 1.335 MB / 441.3 MB, free: 5.531 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.3444, allocations: 4 kB / 441.3 MB, free: 5.527 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000432/0.3448, allocations: 123.8 kB / 441.5 MB, free: 5.406 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.3448, allocations: 8 kB / 441.5 MB, free: 5.398 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.3449, allocations: 19.98 kB / 441.5 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.3449, allocations: 8 kB / 441.5 MB, free: 5.371 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3449, allocations: 7.938 kB / 441.5 MB, free: 5.363 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.3459, allocations: 1.116 MB / 442.6 MB, free: 4.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.346, allocations: 112.7 kB / 442.7 MB, free: 3.941 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/0.346, allocations: 20.03 kB / 442.8 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.3463, allocations: 31.98 kB / 442.8 MB, free: 3.891 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.777e-05/0.3463, allocations: 47.84 kB / 442.8 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.3464, allocations: 27.98 kB / 442.9 MB, free: 3.816 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.758e-05/0.3464, allocations: 140.6 kB / 443 MB, free: 3.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3465, allocations: 2.25 kB / 443 MB, free: 3.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003469/0.3468, allocations: 96 kB / 443.1 MB, free: 3.586 MB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001179/0.3469, allocations: 119.1 kB / 443.2 MB, free: 3.461 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006406/0.3476, allocations: 454.6 kB / 443.7 MB, free: 3.012 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3476, allocations: 0 / 443.7 MB, free: 3.012 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.3479, allocations: 263.8 kB / 443.9 MB, free: 2.754 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.3484, allocations: 71.44 kB / 444 MB, free: 2.688 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.3497, allocations: 1.199 MB / 445.2 MB, free: 1.414 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.3499, allocations: 0.8013 MB / 446 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001794/0.3501, allocations: 43.27 kB / 446 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.893e-05/0.3502, allocations: 39.42 kB / 446.1 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of SimCode: time 4.11e-07/0.3502, allocations: 0 / 446.1 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of Templates: time 0.006853/0.3571, allocations: 3.663 MB / 449.7 MB, free: 12.9 MB / 330.7 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)