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.6924/0.6924, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001613/0.001613, allocations: 155.4 kB / 144 MB, free: 4.785 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.961e-05/1.962e-05, allocations: 4 kB / 173.8 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04263/0.04266, allocations: 25.18 MB / 199 MB, free: 13.68 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04911/0.09182, allocations: 34.51 MB / 233.5 MB, free: 11.12 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.09208, allocations: 63.97 kB / 233.6 MB, free: 11.06 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03254/0.1246, allocations: 8.637 MB / 242.2 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1247, allocations: 0 / 242.2 MB, free: 2.387 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.933e-05/0.1247, allocations: 12 kB / 242.2 MB, free: 2.375 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.00175/0.1265, allocations: 0.7018 MB / 242.9 MB, free: 1.629 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1266, allocations: 8.031 kB / 243 MB, free: 1.621 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.1267, allocations: 55.34 kB / 243 MB, free: 1.566 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004808/0.1272, allocations: 285.4 kB / 243.3 MB, free: 1.25 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.544e-05/0.1273, allocations: 16 kB / 243.3 MB, free: 1.234 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.1274, allocations: 28 kB / 243.3 MB, free: 1.207 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001029/0.1285, allocations: 326.5 kB / 243.6 MB, free: 0.8867 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007243/0.1292, allocations: 335.8 kB / 244 MB, free: 0.5547 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.1292, allocations: 11.89 kB / 244 MB, free: 0.543 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.1293, allocations: 0 / 244 MB, free: 0.543 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.1293, allocations: 8 kB / 244 MB, free: 0.5352 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1213/0.2506, allocations: 1.256 MB / 245.3 MB, free: 40.8 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007608/0.2514, allocations: 426.9 kB / 245.7 MB, free: 40.77 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005944/0.252, allocations: 299.2 kB / 246 MB, free: 40.76 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.674e-05/0.2521, allocations: 12.55 kB / 246 MB, free: 40.76 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.2521, allocations: 38.36 kB / 246 MB, free: 40.72 MB / 186.7 MB Notification: Performance of pre-optimization done (n=62): time 3.717e-06/0.2521, allocations: 0 / 246 MB, free: 40.72 MB / 186.7 MB Notification: Performance of matching and sorting (n=98): time 0.004332/0.2565, allocations: 2.134 MB / 248.1 MB, free: 40.12 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.2565, allocations: 64 kB / 248.2 MB, free: 40.05 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.2568, allocations: 195.2 kB / 248.4 MB, free: 39.96 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.2568, allocations: 26.3 kB / 248.4 MB, free: 39.93 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.2569, allocations: 189.9 kB / 248.6 MB, free: 39.82 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/0.2572, allocations: 315.5 kB / 248.9 MB, free: 39.63 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.2572, allocations: 1.312 kB / 248.9 MB, free: 39.63 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2574, allocations: 361.3 kB / 249.3 MB, free: 39.32 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003945/0.2578, allocations: 200.1 kB / 249.5 MB, free: 39.31 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004209/0.2582, allocations: 267.9 kB / 249.7 MB, free: 39.18 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/0.2587, allocations: 225.6 kB / 249.9 MB, free: 39.08 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.2587, allocations: 8.391 kB / 250 MB, free: 39.08 MB / 186.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001246/0.2599, allocations: 0.6018 MB / 250.6 MB, free: 38.84 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.26, allocations: 4.719 kB / 250.6 MB, free: 38.84 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.26, allocations: 2.125 kB / 250.6 MB, free: 38.84 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.26, allocations: 4.906 kB / 250.6 MB, free: 38.84 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008411/0.2608, allocations: 213.2 kB / 250.8 MB, free: 38.83 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.789e-05/0.2609, allocations: 6.734 kB / 250.8 MB, free: 38.83 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004222/0.2613, allocations: 42.47 kB / 250.8 MB, free: 38.83 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-05/0.2614, allocations: 30.45 kB / 250.9 MB, free: 38.82 MB / 186.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 () * 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.0001294/0.2615, allocations: 116.4 kB / 251 MB, free: 38.71 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.2616, allocations: 51.77 kB / 251 MB, free: 38.69 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.2618, allocations: 58.41 kB / 251.1 MB, free: 38.64 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.2618, allocations: 10.25 kB / 251.1 MB, free: 38.64 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.701e-05/0.2618, allocations: 0 / 251.1 MB, free: 38.64 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/0.2618, allocations: 6.703 kB / 251.1 MB, free: 38.64 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002844/0.2647, allocations: 1.696 MB / 252.8 MB, free: 37.74 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.2647, allocations: 3.531 kB / 252.8 MB, free: 37.74 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008705/0.2656, allocations: 207.7 kB / 253 MB, free: 37.73 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.533e-05/0.2656, allocations: 12.2 kB / 253 MB, free: 37.72 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.96e-05/0.2657, allocations: 17.91 kB / 253 MB, free: 37.72 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.287e-05/0.2657, allocations: 8.797 kB / 253 MB, free: 37.72 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/0.2658, allocations: 10.28 kB / 253 MB, free: 37.71 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.2677, allocations: 1.329 MB / 254.4 MB, free: 36.74 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002762/0.268, allocations: 174.9 kB / 254.5 MB, free: 36.59 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.247e-05/0.2681, allocations: 7.375 kB / 254.6 MB, free: 36.59 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004476/0.2685, allocations: 51.22 kB / 254.6 MB, free: 36.59 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.2687, allocations: 72.59 kB / 254.7 MB, free: 36.57 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-05/0.2687, allocations: 30.84 kB / 254.7 MB, free: 36.56 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001166/0.2688, allocations: 155.7 kB / 254.9 MB, free: 36.46 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.2688, allocations: 0 / 254.9 MB, free: 36.46 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0006027/0.2694, allocations: 117 kB / 255 MB, free: 36.46 MB / 186.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 () * 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.0001596/0.2696, allocations: 113.4 kB / 255.1 MB, free: 36.36 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0007887/0.2704, allocations: 0.556 MB / 255.6 MB, free: 36.16 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2704, allocations: 0 / 255.6 MB, free: 36.16 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004525/0.2709, allocations: 362.1 kB / 256 MB, free: 36.02 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006476/0.2715, allocations: 73.86 kB / 256.1 MB, free: 36.01 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.2735, allocations: 1.175 MB / 257.2 MB, free: 35.25 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.2738, allocations: 0.8776 MB / 258.1 MB, free: 34.55 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0003145/0.2741, allocations: 72.92 kB / 258.2 MB, free: 34.53 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.2743, allocations: 53.58 kB / 258.2 MB, free: 34.52 MB / 186.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2743, allocations: 0 / 258.2 MB, free: 34.52 MB / 186.7 MB Notification: Performance of Templates: time 0.01013/0.2844, allocations: 5.374 MB / 263.6 MB, free: 31.66 MB / 186.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)