Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001573/0.001573, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.318/1.318, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001656/0.001657, allocations: 113.9 kB / 223.2 MB, free: 4.105 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.392e-05/2.394e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07176/0.0718, allocations: 38.78 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2615/0.3334, allocations: 66.69 MB / 374.3 MB, free: 9.535 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.3336, allocations: 60.22 kB / 374.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01575/0.3494, allocations: 5.64 MB / 380 MB, free: 4.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3495, allocations: 0 / 380 MB, free: 4.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.703e-05/0.3495, allocations: 4 kB / 380 MB, free: 4.766 MB / 266.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.00114/0.3507, allocations: 0.557 MB / 380.6 MB, free: 4.184 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.871e-05/0.3508, allocations: 8.031 kB / 380.6 MB, free: 4.176 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.3509, allocations: 39.62 kB / 380.6 MB, free: 4.137 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.3512, allocations: 249.7 kB / 380.9 MB, free: 3.871 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.076e-05/0.3513, allocations: 23.83 kB / 380.9 MB, free: 3.855 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-05/0.3514, allocations: 29.38 kB / 380.9 MB, free: 3.836 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00047/0.3518, allocations: 245.8 kB / 381.2 MB, free: 3.664 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.3519, allocations: 0 / 381.2 MB, free: 3.664 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.3519, allocations: 17.75 kB / 381.2 MB, free: 3.656 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.3519, allocations: 4 kB / 381.2 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003807/0.3523, allocations: 226.9 kB / 381.4 MB, free: 3.496 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.3537, allocations: 0.8096 MB / 382.2 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005383/0.3542, allocations: 340.8 kB / 382.6 MB, free: 2.602 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.3546, allocations: 180.3 kB / 382.7 MB, free: 2.488 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.529e-05/0.3546, allocations: 4 kB / 382.7 MB, free: 2.484 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.3547, allocations: 41.94 kB / 382.8 MB, free: 2.438 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 2.054e-06/0.3547, allocations: 0 / 382.8 MB, free: 2.438 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.003551/0.3582, allocations: 1.753 MB / 384.5 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.3583, allocations: 59.91 kB / 384.6 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.3585, allocations: 176.5 kB / 384.8 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.3585, allocations: 38.83 kB / 384.8 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.3587, allocations: 144.4 kB / 384.9 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.3588, allocations: 219.4 kB / 385.2 MB, free: 380 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.998e-05/0.3588, allocations: 11.44 kB / 385.2 MB, free: 376 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.359, allocations: 344.9 kB / 385.5 MB, free: 36 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.3592, allocations: 137.6 kB / 385.6 MB, free: 15.95 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.3595, allocations: 145.5 kB / 385.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/0.3598, allocations: 158.7 kB / 385.9 MB, free: 15.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3598, allocations: 0 / 385.9 MB, free: 15.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006263/0.3604, allocations: 435.2 kB / 386.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.3604, allocations: 4 kB / 386.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.3604, allocations: 7.938 kB / 386.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3605, allocations: 0 / 386.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004941/0.361, allocations: 131.3 kB / 386.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.361, allocations: 3.984 kB / 386.5 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.3612, allocations: 30.73 kB / 386.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.3613, allocations: 23.56 kB / 386.6 MB, free: 15.27 MB / 282.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 0.000127/0.3614, allocations: 139.2 kB / 386.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.87e-05/0.3615, allocations: 39.53 kB / 386.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.3616, allocations: 47.08 kB / 386.8 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.3616, allocations: 4 kB / 386.8 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.3616, allocations: 4 kB / 386.8 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.3616, allocations: 7.969 kB / 386.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.3634, allocations: 1.274 MB / 388.1 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.3634, allocations: 4 kB / 388.1 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005008/0.364, allocations: 138.9 kB / 388.2 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.041e-05/0.364, allocations: 11.94 kB / 388.2 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.364, allocations: 15.06 kB / 388.2 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.517e-05/0.3641, allocations: 7.953 kB / 388.2 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/0.3641, allocations: 11.94 kB / 388.2 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.3653, allocations: 1.017 MB / 389.3 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.768e-05/0.3654, allocations: 112.1 kB / 389.4 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.497e-05/0.3655, allocations: 18.77 kB / 389.4 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.3657, allocations: 34.55 kB / 389.4 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.019e-05/0.3658, allocations: 50.33 kB / 389.5 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.3659, allocations: 27.19 kB / 389.5 MB, free: 12.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001159/0.366, allocations: 140.9 kB / 389.6 MB, free: 12.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-07/0.366, allocations: 0 / 389.6 MB, free: 12.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003869/0.3664, allocations: 97.12 kB / 389.7 MB, free: 12.37 MB / 282.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.0002187/0.3666, allocations: 117.2 kB / 389.8 MB, free: 12.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005831/0.3672, allocations: 386.3 kB / 390.2 MB, free: 11.99 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.3672, allocations: 4 kB / 390.2 MB, free: 11.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003117/0.3675, allocations: 232.4 kB / 390.5 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.368, allocations: 72 kB / 390.5 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.3694, allocations: 0.8323 MB / 391.4 MB, free: 10.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.3699, allocations: 0.8011 MB / 392.2 MB, free: 10.13 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002047/0.3701, allocations: 47.27 kB / 392.2 MB, free: 10.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.3702, allocations: 35.44 kB / 392.2 MB, free: 10.05 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.3702, allocations: 3.938 kB / 392.2 MB, free: 10.05 MB / 282.7 MB Notification: Performance of Templates: time 0.007674/0.3779, allocations: 3.673 MB / 395.9 MB, free: 6.391 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1)