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.8092/0.8092, 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.001726/0.001726, allocations: 139.5 kB / 149.1 MB, free: 0.9688 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.561e-05/2.564e-05, allocations: 0 / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04947/0.04951, allocations: 25.18 MB / 205.4 MB, free: 8.43 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04943/0.09898, allocations: 35.17 MB / 240.6 MB, free: 5.203 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001527/0.09917, allocations: 59.97 kB / 240.6 MB, free: 5.145 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.124/0.2231, allocations: 8.71 MB / 249.3 MB, free: 41.07 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2232, allocations: 0 / 249.3 MB, free: 41.07 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.2232, allocations: 9.125 kB / 249.3 MB, free: 41.07 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.00116/0.2244, allocations: 0.7042 MB / 250 MB, free: 40.61 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.2244, allocations: 11.94 kB / 250.1 MB, free: 40.61 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.227e-05/0.2245, allocations: 57.72 kB / 250.1 MB, free: 40.58 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.2249, allocations: 292.6 kB / 250.4 MB, free: 40.34 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/0.2249, allocations: 34 kB / 250.4 MB, free: 40.34 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-05/0.225, allocations: 45.66 kB / 250.5 MB, free: 40.34 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006043/0.2256, allocations: 386 kB / 250.8 MB, free: 40.3 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.2256, allocations: 5.281 kB / 250.9 MB, free: 40.29 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.2257, allocations: 26.75 kB / 250.9 MB, free: 40.27 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.2257, allocations: 9.625 kB / 250.9 MB, free: 40.27 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005412/0.2262, allocations: 350.6 kB / 251.2 MB, free: 40.16 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002024/0.2283, allocations: 1.348 MB / 252.6 MB, free: 39.41 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006597/0.229, allocations: 448.9 kB / 253 MB, free: 39.21 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005259/0.2295, allocations: 316.8 kB / 253.3 MB, free: 39.1 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.476e-05/0.2295, allocations: 14.75 kB / 253.3 MB, free: 39.1 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/0.2296, allocations: 44.56 kB / 253.4 MB, free: 39.04 MB / 186.7 MB Notification: Performance of pre-optimization done (n=62): time 2.335e-06/0.2296, allocations: 4.969 kB / 253.4 MB, free: 39.04 MB / 186.7 MB Notification: Performance of matching and sorting (n=98): time 0.005073/0.2347, allocations: 2.658 MB / 256 MB, free: 37.83 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.2347, allocations: 59.91 kB / 256.1 MB, free: 37.76 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.2349, allocations: 216.3 kB / 256.3 MB, free: 37.63 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.004e-05/0.2349, allocations: 42.77 kB / 256.4 MB, free: 37.59 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.741e-05/0.235, allocations: 200.3 kB / 256.6 MB, free: 37.41 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/0.2352, allocations: 335.2 kB / 256.9 MB, free: 37.16 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.2353, allocations: 15.81 kB / 256.9 MB, free: 37.14 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 9.715e-05/0.2354, allocations: 364.1 kB / 257.3 MB, free: 36.81 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.2357, allocations: 211.5 kB / 257.5 MB, free: 36.73 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.236, allocations: 286.6 kB / 257.7 MB, free: 36.6 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/0.2364, allocations: 244 kB / 258 MB, free: 36.5 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2364, allocations: 0 / 258 MB, free: 36.5 MB / 186.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0009405/0.2373, allocations: 0.6614 MB / 258.6 MB, free: 36.2 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.2374, allocations: 5.406 kB / 258.6 MB, free: 36.19 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2374, allocations: 0 / 258.6 MB, free: 36.19 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.2374, allocations: 4 kB / 258.6 MB, free: 36.19 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007115/0.2381, allocations: 219.8 kB / 258.9 MB, free: 35.97 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.2382, allocations: 4 kB / 258.9 MB, free: 35.97 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/0.2385, allocations: 51.97 kB / 258.9 MB, free: 35.92 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.382e-05/0.2386, allocations: 39.94 kB / 259 MB, free: 35.88 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.0001056/0.2387, allocations: 148.8 kB / 259.1 MB, free: 35.73 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.515e-05/0.2387, allocations: 51.34 kB / 259.2 MB, free: 35.68 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.2389, allocations: 73.2 kB / 259.2 MB, free: 35.61 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.2389, allocations: 8 kB / 259.2 MB, free: 35.6 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.2389, allocations: 0 / 259.2 MB, free: 35.6 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.239, allocations: 3.984 kB / 259.2 MB, free: 35.59 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.241, allocations: 1.849 MB / 261.1 MB, free: 33.65 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.2411, allocations: 15.69 kB / 261.1 MB, free: 33.64 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007116/0.2418, allocations: 203.8 kB / 261.3 MB, free: 33.44 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.2418, allocations: 8 kB / 261.3 MB, free: 33.43 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/0.2419, allocations: 27.98 kB / 261.3 MB, free: 33.41 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/0.2419, allocations: 11.94 kB / 261.3 MB, free: 33.39 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/0.2419, allocations: 7.938 kB / 261.4 MB, free: 33.39 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.2431, allocations: 1.413 MB / 262.8 MB, free: 31.78 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.2433, allocations: 168.5 kB / 262.9 MB, free: 31.59 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.721e-05/0.2434, allocations: 28 kB / 263 MB, free: 31.57 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/0.2438, allocations: 55.97 kB / 263 MB, free: 31.51 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.2439, allocations: 72.58 kB / 263.1 MB, free: 31.44 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/0.2439, allocations: 35.98 kB / 263.1 MB, free: 31.41 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001313/0.2441, allocations: 167.1 kB / 263.3 MB, free: 31.25 MB / 186.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2441, allocations: 0 / 263.3 MB, free: 31.25 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004311/0.2445, allocations: 148 kB / 263.4 MB, free: 31.1 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.0001432/0.2446, allocations: 127.1 kB / 263.6 MB, free: 30.96 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0007282/0.2454, allocations: 0.603 MB / 264.2 MB, free: 30.36 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2454, allocations: 0 / 264.2 MB, free: 30.36 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004234/0.2458, allocations: 381.1 kB / 264.5 MB, free: 29.99 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005335/0.2464, allocations: 99.09 kB / 264.6 MB, free: 29.9 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.2479, allocations: 1.242 MB / 265.9 MB, free: 28.59 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.2481, allocations: 0.873 MB / 266.7 MB, free: 27.68 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0002818/0.2484, allocations: 76.8 kB / 266.8 MB, free: 27.61 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.2486, allocations: 51.42 kB / 266.9 MB, free: 27.56 MB / 186.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2486, allocations: 3.938 kB / 266.9 MB, free: 27.56 MB / 186.7 MB Notification: Performance of Templates: time 0.008287/0.2569, allocations: 5.619 MB / 272.5 MB, free: 21.95 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)