Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad.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.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.672/0.672, allocations: 110.9 MB / 125.9 MB, free: 6.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001564/0.001564, allocations: 146.7 kB / 151.8 MB, free: 5 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002325/0.0002326, allocations: 4 kB / 184.9 MB, free: 3.93 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1221, allocations: 25.15 MB / 210 MB, free: 29.76 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04436/0.1665, allocations: 35.27 MB / 245.3 MB, free: 14.57 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.1667, allocations: 63.95 kB / 245.4 MB, free: 14.51 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02321/0.19, allocations: 8.71 MB / 254.1 MB, free: 5.828 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.19, allocations: 4 kB / 254.1 MB, free: 5.824 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.894e-05/0.19, allocations: 8 kB / 254.1 MB, free: 5.816 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001211/0.1913, allocations: 0.7371 MB / 254.8 MB, free: 5.031 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.1913, allocations: 8.031 kB / 254.8 MB, free: 5.023 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.304e-05/0.1914, allocations: 55.34 kB / 254.9 MB, free: 4.969 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.1917, allocations: 289.3 kB / 255.2 MB, free: 4.648 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/0.1918, allocations: 33 kB / 255.2 MB, free: 4.617 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.996e-05/0.1919, allocations: 47.98 kB / 255.3 MB, free: 4.57 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008479/0.1927, allocations: 451 kB / 255.7 MB, free: 4.121 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.1928, allocations: 7.844 kB / 255.7 MB, free: 4.113 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.256e-05/0.1928, allocations: 20 kB / 255.7 MB, free: 4.094 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.1928, allocations: 12 kB / 255.7 MB, free: 4.082 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009889/0.1938, allocations: 471.7 kB / 256.2 MB, free: 3.621 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/0.196, allocations: 1.359 MB / 257.6 MB, free: 2.199 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009197/0.197, allocations: 0.5034 MB / 258.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.227e-05/0.197, allocations: 8.562 kB / 258.1 MB, free: 1.68 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/0.1971, allocations: 43.11 kB / 258.1 MB, free: 1.629 MB / 186.7 MB Notification: Performance of pre-optimization done (n=62): time 3.857e-06/0.1971, allocations: 4 kB / 258.1 MB, free: 1.625 MB / 186.7 MB Notification: Performance of matching and sorting (n=98): time 0.00726/0.2044, allocations: 3.171 MB / 261.3 MB, free: 14.37 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.2045, allocations: 68.34 kB / 261.3 MB, free: 14.29 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.2047, allocations: 209.9 kB / 261.6 MB, free: 14.08 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.2047, allocations: 41.7 kB / 261.6 MB, free: 14.03 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.2049, allocations: 193.2 kB / 261.8 MB, free: 13.84 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000259/0.2051, allocations: 331 kB / 262.1 MB, free: 13.51 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.2052, allocations: 20 kB / 262.1 MB, free: 13.49 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.2054, allocations: 366.7 kB / 262.5 MB, free: 13.12 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005702/0.2059, allocations: 277.9 kB / 262.8 MB, free: 12.85 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006029/0.2065, allocations: 347.6 kB / 263.1 MB, free: 12.51 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005665/0.2071, allocations: 302.9 kB / 263.4 MB, free: 12.21 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2071, allocations: 0 / 263.4 MB, free: 12.21 MB / 202.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001363/0.2085, allocations: 0.7789 MB / 264.2 MB, free: 11.43 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.2085, allocations: 4 kB / 264.2 MB, free: 11.42 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.2085, allocations: 4 kB / 264.2 MB, free: 11.42 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.2086, allocations: 4 kB / 264.2 MB, free: 11.41 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007675/0.2093, allocations: 211.7 kB / 264.4 MB, free: 11.21 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.2094, allocations: 4 kB / 264.4 MB, free: 11.2 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.2097, allocations: 59.95 kB / 264.5 MB, free: 11.14 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.2098, allocations: 35.94 kB / 264.5 MB, free: 11.11 MB / 202.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0002345/0.21, allocations: 198.2 kB / 264.7 MB, free: 10.91 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.966e-05/0.2101, allocations: 47.44 kB / 264.7 MB, free: 10.86 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.2102, allocations: 69.28 kB / 264.8 MB, free: 10.79 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.2103, allocations: 11.94 kB / 264.8 MB, free: 10.79 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.2103, allocations: 3.984 kB / 264.8 MB, free: 10.78 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.2103, allocations: 7.984 kB / 264.8 MB, free: 10.77 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/0.2131, allocations: 1.957 MB / 266.8 MB, free: 8.695 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.2131, allocations: 4 kB / 266.8 MB, free: 8.691 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007396/0.2139, allocations: 204.4 kB / 267 MB, free: 8.492 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/0.2139, allocations: 15.92 kB / 267 MB, free: 8.477 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.455e-05/0.214, allocations: 20 kB / 267 MB, free: 8.457 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.214, allocations: 8 kB / 267 MB, free: 8.449 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/0.214, allocations: 15.92 kB / 267 MB, free: 8.434 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/0.2162, allocations: 1.59 MB / 268.6 MB, free: 6.66 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.2164, allocations: 172.4 kB / 268.8 MB, free: 6.473 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.515e-05/0.2165, allocations: 28 kB / 268.8 MB, free: 6.445 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003673/0.2168, allocations: 59.95 kB / 268.9 MB, free: 6.387 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.2169, allocations: 68.47 kB / 268.9 MB, free: 6.32 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.824e-05/0.217, allocations: 35.98 kB / 269 MB, free: 6.285 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0001549/0.2172, allocations: 173.9 kB / 269.2 MB, free: 6.117 MB / 202.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2172, allocations: 0 / 269.2 MB, free: 6.117 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0004739/0.2177, allocations: 148 kB / 269.3 MB, free: 5.973 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 98 * 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.0001642/0.2178, allocations: 135 kB / 269.4 MB, free: 5.832 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001278/0.2191, allocations: 0.7204 MB / 270.1 MB, free: 5.109 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.2191, allocations: 4 kB / 270.2 MB, free: 5.105 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006905/0.2198, allocations: 440.5 kB / 270.6 MB, free: 4.68 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005561/0.2204, allocations: 108.6 kB / 270.7 MB, free: 4.578 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.2228, allocations: 1.781 MB / 272.5 MB, free: 2.703 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.2233, allocations: 0.8726 MB / 273.3 MB, free: 1.805 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0003254/0.2236, allocations: 68.83 kB / 273.4 MB, free: 1.738 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.2238, allocations: 51.42 kB / 273.5 MB, free: 1.691 MB / 202.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2238, allocations: 0 / 273.5 MB, free: 1.691 MB / 202.7 MB Notification: Performance of Templates: time 0.00961/0.2334, allocations: 5.605 MB / 279.1 MB, free: 12.11 MB / 218.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1)