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/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8941/0.8941, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001669/0.001669, allocations: 159.5 kB / 149.1 MB, free: 0.957 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.046e-05/2.047e-05, allocations: 3.984 kB / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0415/0.04153, allocations: 25.17 MB / 205.4 MB, free: 8.438 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04587/0.08743, allocations: 33.82 MB / 239.2 MB, free: 6.562 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001858/0.08766, allocations: 59.97 kB / 239.3 MB, free: 6.504 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01382/0.1015, allocations: 5.287 MB / 244.6 MB, free: 1.188 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1015, allocations: 0 / 244.6 MB, free: 1.188 MB / 186.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.1016, allocations: 4 kB / 244.6 MB, free: 1.184 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0007393/0.1023, allocations: 0.5179 MB / 245.1 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.1024, allocations: 12.03 kB / 245.1 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.631e-05/0.1024, allocations: 31.62 kB / 245.1 MB, free: 0.5781 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.1026, allocations: 210.6 kB / 245.3 MB, free: 340 kB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.1026, allocations: 20.56 kB / 245.3 MB, free: 320 kB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.1027, allocations: 27.91 kB / 245.4 MB, free: 292 kB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.1031, allocations: 236.9 kB / 245.6 MB, free: 48 kB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.1031, allocations: 0 / 245.6 MB, free: 48 kB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.1032, allocations: 12 kB / 245.6 MB, free: 36 kB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.1032, allocations: 4 kB / 245.6 MB, free: 32 kB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1037/0.2069, allocations: 191.7 kB / 245.8 MB, free: 40.9 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.2083, allocations: 0.7522 MB / 246.6 MB, free: 40.62 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004206/0.2087, allocations: 282.4 kB / 246.8 MB, free: 40.6 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.2089, allocations: 146.5 kB / 247 MB, free: 40.59 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/0.209, allocations: 15.05 kB / 247 MB, free: 40.59 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.209, allocations: 33.88 kB / 247 MB, free: 40.55 MB / 186.7 MB Notification: Performance of pre-optimization done (n=35): time 2.334e-06/0.209, allocations: 0 / 247 MB, free: 40.55 MB / 186.7 MB Notification: Performance of matching and sorting (n=55): time 0.003254/0.2123, allocations: 1.648 MB / 248.7 MB, free: 40.02 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.2123, allocations: 57.56 kB / 248.7 MB, free: 39.96 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.2125, allocations: 169.2 kB / 248.9 MB, free: 39.86 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.2125, allocations: 37.17 kB / 248.9 MB, free: 39.83 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.2126, allocations: 146.3 kB / 249.1 MB, free: 39.72 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.967e-05/0.2127, allocations: 190.7 kB / 249.3 MB, free: 39.59 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.787e-05/0.2127, allocations: 10.06 kB / 249.3 MB, free: 39.58 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 6.326e-05/0.2128, allocations: 339.3 kB / 249.6 MB, free: 39.25 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.213, allocations: 124.4 kB / 249.7 MB, free: 39.21 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.2132, allocations: 138.2 kB / 249.9 MB, free: 39.15 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.2134, allocations: 147.4 kB / 250 MB, free: 39.09 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.2134, allocations: 1 kB / 250 MB, free: 39.09 MB / 186.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0005647/0.214, allocations: 407.9 kB / 250.4 MB, free: 38.93 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.214, allocations: 5.062 kB / 250.4 MB, free: 38.93 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.214, allocations: 0 / 250.4 MB, free: 38.93 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.214, allocations: 2.625 kB / 250.4 MB, free: 38.93 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/0.2145, allocations: 113 kB / 250.5 MB, free: 38.92 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.2145, allocations: 3.625 kB / 250.5 MB, free: 38.92 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.2147, allocations: 32.14 kB / 250.6 MB, free: 38.91 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.2147, allocations: 15.66 kB / 250.6 MB, free: 38.91 MB / 186.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 (61): * Single equations (assignments): 61 * 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 7.569e-05/0.2148, allocations: 128.7 kB / 250.7 MB, free: 38.79 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.2149, allocations: 34.7 kB / 250.7 MB, free: 38.77 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.658e-05/0.215, allocations: 41.14 kB / 250.8 MB, free: 38.73 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.215, allocations: 6.156 kB / 250.8 MB, free: 38.73 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.215, allocations: 0 / 250.8 MB, free: 38.73 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.215, allocations: 5.609 kB / 250.8 MB, free: 38.73 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.2165, allocations: 1.19 MB / 252 MB, free: 37.99 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.2165, allocations: 4.344 kB / 252 MB, free: 37.99 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005096/0.2171, allocations: 117.3 kB / 252.1 MB, free: 37.98 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.2171, allocations: 7.625 kB / 252.1 MB, free: 37.98 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.2171, allocations: 19.77 kB / 252.1 MB, free: 37.97 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.638e-06/0.2171, allocations: 12.05 kB / 252.1 MB, free: 37.96 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.2172, allocations: 6 kB / 252.1 MB, free: 37.96 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.2182, allocations: 0.9537 MB / 253.1 MB, free: 37.15 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.081e-05/0.2183, allocations: 107.2 kB / 253.2 MB, free: 37.04 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.2183, allocations: 16.91 kB / 253.2 MB, free: 37.04 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.2186, allocations: 38.98 kB / 253.2 MB, free: 37.02 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/0.2187, allocations: 51.36 kB / 253.3 MB, free: 37.01 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.518e-05/0.2187, allocations: 24.67 kB / 253.3 MB, free: 37 MB / 186.7 MB Notification: Performance of sorting global known variables: time 9.823e-05/0.2188, allocations: 136.5 kB / 253.5 MB, free: 36.91 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2188, allocations: 8.906 kB / 253.5 MB, free: 36.9 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003639/0.2192, allocations: 88.64 kB / 253.5 MB, free: 36.88 MB / 186.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 (55): * Single equations (assignments): 55 * 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.0001158/0.2193, allocations: 113.8 kB / 253.7 MB, free: 36.78 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0005095/0.2198, allocations: 346.7 kB / 254 MB, free: 36.66 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2198, allocations: 1.094 kB / 254 MB, free: 36.66 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002891/0.2201, allocations: 211.4 kB / 254.2 MB, free: 36.58 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.2206, allocations: 66.47 kB / 254.3 MB, free: 36.56 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.2217, allocations: 0.7822 MB / 255.1 MB, free: 36 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.2219, allocations: 0.7893 MB / 255.8 MB, free: 35.3 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001642/0.222, allocations: 41.53 kB / 255.9 MB, free: 35.3 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.423e-05/0.2221, allocations: 31.56 kB / 255.9 MB, free: 35.29 MB / 186.7 MB Notification: Performance of SimCode: time 6.22e-07/0.2221, allocations: 4 kB / 255.9 MB, free: 35.29 MB / 186.7 MB Notification: Performance of Templates: time 0.005801/0.2279, allocations: 3.473 MB / 259.4 MB, free: 34.36 MB / 186.7 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)