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.007303/0.007303, allocations: 166.5 kB / 15.11 MB, free: 5.98 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.298/1.298, allocations: 170.8 MB / 186.6 MB, free: 0.9688 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.00158/0.00158, allocations: 110.7 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004527/0.0004528, allocations: 8 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2148, allocations: 38.76 MB / 312.9 MB, free: 38.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1043/0.3191, allocations: 66.79 MB / 379.7 MB, free: 7.738 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/0.3195, allocations: 67.97 kB / 379.7 MB, free: 7.672 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01554/0.3351, allocations: 5.631 MB / 385.4 MB, free: 2.027 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3351, allocations: 0 / 385.4 MB, free: 2.027 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.953e-05/0.3351, allocations: 11.98 kB / 385.4 MB, free: 2.016 MB / 282.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.0009168/0.3361, allocations: 0.5815 MB / 386 MB, free: 1.387 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.3361, allocations: 12.02 kB / 386 MB, free: 1.375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.38e-05/0.3362, allocations: 31.62 kB / 386 MB, free: 1.344 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.3365, allocations: 250.4 kB / 386.2 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.238e-05/0.3366, allocations: 24.52 kB / 386.3 MB, free: 1.035 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/0.3366, allocations: 35.94 kB / 386.3 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000561/0.3372, allocations: 276.8 kB / 386.6 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.3372, allocations: 3.984 kB / 386.6 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.3373, allocations: 12 kB / 386.6 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.3373, allocations: 7.984 kB / 386.6 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006004/0.3379, allocations: 286.1 kB / 386.9 MB, free: 428 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.3392, allocations: 0.7952 MB / 387.7 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005906/0.3398, allocations: 371.3 kB / 388 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.3399, allocations: 7.984 kB / 388 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.3399, allocations: 34.55 kB / 388.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.633e-06/0.3399, allocations: 0 / 388.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.004295/0.3442, allocations: 2.043 MB / 390.1 MB, free: 13.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.3443, allocations: 55.97 kB / 390.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.3445, allocations: 186 kB / 390.4 MB, free: 12.76 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.3445, allocations: 33.7 kB / 390.4 MB, free: 12.72 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.259e-05/0.3446, allocations: 141.1 kB / 390.5 MB, free: 12.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.3448, allocations: 216.8 kB / 390.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/0.3448, allocations: 12 kB / 390.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.345, allocations: 346.8 kB / 391.1 MB, free: 12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003352/0.3453, allocations: 165 kB / 391.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/0.3456, allocations: 173 kB / 391.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/0.346, allocations: 186.2 kB / 391.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.346, allocations: 0 / 391.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008402/0.3469, allocations: 0.4947 MB / 392.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3469, allocations: 6.188 kB / 392.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3469, allocations: 0 / 392.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.3469, allocations: 4 kB / 392.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004764/0.3474, allocations: 123.9 kB / 392.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3474, allocations: 8 kB / 392.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.3476, allocations: 31.98 kB / 392.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.3477, allocations: 23.89 kB / 392.3 MB, free: 10.8 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 () * 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.0001873/0.3479, allocations: 157.8 kB / 392.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.569e-05/0.3479, allocations: 31.62 kB / 392.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.3481, allocations: 51.33 kB / 392.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.3481, allocations: 8 kB / 392.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.3481, allocations: 0 / 392.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.3481, allocations: 3.984 kB / 392.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.3501, allocations: 1.329 MB / 393.9 MB, free: 9.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.3502, allocations: 7.938 kB / 393.9 MB, free: 9.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005086/0.3507, allocations: 124.4 kB / 394 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/0.3507, allocations: 12 kB / 394 MB, free: 8.957 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.3507, allocations: 16 kB / 394 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.316e-05/0.3508, allocations: 23.81 kB / 394 MB, free: 8.918 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.3508, allocations: 4 kB / 394.1 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.3522, allocations: 1.111 MB / 395.2 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.183e-05/0.3523, allocations: 112.6 kB / 395.3 MB, free: 7.492 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.516e-05/0.3524, allocations: 19.95 kB / 395.3 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.3527, allocations: 36.02 kB / 395.3 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-05/0.3528, allocations: 51.84 kB / 395.4 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.3528, allocations: 24 kB / 395.4 MB, free: 7.363 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000124/0.3529, allocations: 140.4 kB / 395.5 MB, free: 7.227 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3529, allocations: 3.938 kB / 395.5 MB, free: 7.223 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003826/0.3533, allocations: 96 kB / 395.6 MB, free: 7.129 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 () * 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.0001718/0.3535, allocations: 135 kB / 395.8 MB, free: 6.984 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007656/0.3543, allocations: 442.7 kB / 396.2 MB, free: 6.551 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3543, allocations: 0 / 396.2 MB, free: 6.551 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004083/0.3547, allocations: 260.7 kB / 396.5 MB, free: 6.297 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004776/0.3552, allocations: 69.58 kB / 396.5 MB, free: 6.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.3569, allocations: 1.197 MB / 397.7 MB, free: 4.949 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.3573, allocations: 0.8013 MB / 398.5 MB, free: 4.125 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000192/0.3575, allocations: 55.19 kB / 398.6 MB, free: 4.074 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.3576, allocations: 39.42 kB / 398.6 MB, free: 4.035 MB / 298.7 MB Notification: Performance of SimCode: time 9.51e-07/0.3576, allocations: 0 / 398.6 MB, free: 4.035 MB / 298.7 MB Notification: Performance of Templates: time 0.007314/0.3649, allocations: 3.652 MB / 402.3 MB, free: 424 kB / 298.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)