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.00108/0.00108, allocations: 182.3 kB / 13.64 MB, free: 1.676 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.724/1.724, allocations: 194.2 MB / 208.4 MB, free: 6.75 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.001959/0.001959, allocations: 112.7 kB / 253.5 MB, free: 9.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.93e-05/2.933e-05, allocations: 7.984 kB / 304.9 MB, free: 29.8 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09919/0.09924, allocations: 44.5 MB / 349.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3575/0.4568, allocations: 72.01 MB / 421.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.4571, allocations: 59.73 kB / 421.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01356/0.4706, allocations: 5.629 MB / 427.1 MB, free: 9.758 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4707, allocations: 0 / 427.1 MB, free: 9.758 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.4707, allocations: 11.62 kB / 427.1 MB, free: 9.754 MB / 298.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.0006972/0.4714, allocations: 0.5504 MB / 427.7 MB, free: 9.293 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.4715, allocations: 11.52 kB / 427.7 MB, free: 9.289 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.566e-05/0.4715, allocations: 38.58 kB / 427.7 MB, free: 9.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.4718, allocations: 247.8 kB / 428 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/0.4718, allocations: 22.12 kB / 428 MB, free: 9.027 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.164e-05/0.4719, allocations: 29.09 kB / 428 MB, free: 9.027 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/0.4723, allocations: 251.6 kB / 428.3 MB, free: 8.953 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.4723, allocations: 11.31 kB / 428.3 MB, free: 8.949 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.4723, allocations: 11.44 kB / 428.3 MB, free: 8.945 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.4724, allocations: 7.625 kB / 428.3 MB, free: 8.945 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003248/0.4727, allocations: 221.6 kB / 428.5 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.4738, allocations: 0.8098 MB / 429.3 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.4742, allocations: 338.4 kB / 429.7 MB, free: 8.414 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.4744, allocations: 172.2 kB / 429.8 MB, free: 8.402 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/0.4745, allocations: 14.92 kB / 429.9 MB, free: 8.398 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.4745, allocations: 37.94 kB / 429.9 MB, free: 8.355 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/0.4745, allocations: 0 / 429.9 MB, free: 8.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.003/0.4775, allocations: 1.762 MB / 431.7 MB, free: 7.609 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.4775, allocations: 55.78 kB / 431.7 MB, free: 7.547 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.4777, allocations: 180.2 kB / 431.9 MB, free: 7.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.4777, allocations: 36.23 kB / 431.9 MB, free: 7.398 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.4778, allocations: 141 kB / 432.1 MB, free: 7.293 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.4779, allocations: 216.6 kB / 432.3 MB, free: 7.137 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.111e-05/0.4779, allocations: 12.78 kB / 432.3 MB, free: 7.137 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.898e-05/0.478, allocations: 338.7 kB / 432.6 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.4782, allocations: 144.5 kB / 432.8 MB, free: 6.812 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.4784, allocations: 147.5 kB / 432.9 MB, free: 6.805 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.4786, allocations: 151.6 kB / 433 MB, free: 6.789 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.4786, allocations: 4 kB / 433 MB, free: 6.785 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005081/0.4791, allocations: 444.5 kB / 433.5 MB, free: 6.691 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.4791, allocations: 7.688 kB / 433.5 MB, free: 6.691 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.4792, allocations: 7.953 kB / 433.5 MB, free: 6.684 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.4792, allocations: 0 / 433.5 MB, free: 6.684 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004325/0.4796, allocations: 127.5 kB / 433.6 MB, free: 6.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.4796, allocations: 0 / 433.6 MB, free: 6.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.4798, allocations: 31.27 kB / 433.7 MB, free: 6.652 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.4799, allocations: 19.45 kB / 433.7 MB, free: 6.648 MB / 298.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 () * 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 8.655e-05/0.48, allocations: 143.7 kB / 433.8 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.48, allocations: 30.97 kB / 433.8 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.4801, allocations: 45.38 kB / 433.9 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.4801, allocations: 7.766 kB / 433.9 MB, free: 6.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.4802, allocations: 7.969 kB / 433.9 MB, free: 6.492 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.4802, allocations: 4 kB / 433.9 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.4815, allocations: 1.273 MB / 435.2 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.4815, allocations: 3.844 kB / 435.2 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004393/0.482, allocations: 126.9 kB / 435.3 MB, free: 5.777 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/0.482, allocations: 8.312 kB / 435.3 MB, free: 5.777 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/0.4821, allocations: 26.95 kB / 435.3 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.4821, allocations: 11.34 kB / 435.4 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4821, allocations: 3.875 kB / 435.4 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008705/0.4829, allocations: 1.029 MB / 436.4 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/0.483, allocations: 108.1 kB / 436.5 MB, free: 4.984 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.4831, allocations: 17.72 kB / 436.5 MB, free: 4.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.4833, allocations: 32.98 kB / 436.5 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.399e-05/0.4834, allocations: 53.16 kB / 436.6 MB, free: 4.953 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.4834, allocations: 22.08 kB / 436.6 MB, free: 4.949 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.982e-05/0.4835, allocations: 139.3 kB / 436.7 MB, free: 4.871 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4835, allocations: 0 / 436.7 MB, free: 4.871 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003363/0.4839, allocations: 92.03 kB / 436.8 MB, free: 4.871 MB / 298.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 () * 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.0001285/0.484, allocations: 124.4 kB / 437 MB, free: 4.766 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004803/0.4845, allocations: 391.4 kB / 437.3 MB, free: 4.734 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4845, allocations: 0 / 437.3 MB, free: 4.734 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002524/0.4847, allocations: 230 kB / 437.6 MB, free: 4.707 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.4852, allocations: 74.14 kB / 437.6 MB, free: 4.688 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.4863, allocations: 0.8417 MB / 438.5 MB, free: 4.109 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.4865, allocations: 0.7971 MB / 439.3 MB, free: 3.363 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000172/0.4866, allocations: 45.52 kB / 439.3 MB, free: 3.348 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.826e-05/0.4867, allocations: 38.3 kB / 439.4 MB, free: 3.34 MB / 298.7 MB Notification: Performance of SimCode: time 3.6e-07/0.4867, allocations: 0 / 439.4 MB, free: 3.34 MB / 298.7 MB Notification: Performance of Templates: time 0.00604/0.4928, allocations: 3.659 MB / 443 MB, free: 1.551 MB / 298.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)