Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009918/0.0009919, allocations: 182.3 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.535/1.535, allocations: 194.3 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001613/0.001613, allocations: 128.6 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.287e-05/2.288e-05, allocations: 0 / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08664/0.08668, allocations: 44.51 MB / 349.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3636/0.4503, allocations: 73.49 MB / 422.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.4506, allocations: 67.92 kB / 423 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02159/0.4722, allocations: 9.104 MB / 432.1 MB, free: 8.023 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.4723, allocations: 3.719 kB / 432.1 MB, free: 8.023 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.235e-05/0.4723, allocations: 11.81 kB / 432.1 MB, free: 8.02 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001062/0.4734, allocations: 0.7227 MB / 432.8 MB, free: 7.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.4734, allocations: 11.62 kB / 432.9 MB, free: 7.477 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.075e-05/0.4735, allocations: 58.2 kB / 432.9 MB, free: 7.445 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.4739, allocations: 305.4 kB / 433.2 MB, free: 7.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.212e-05/0.4739, allocations: 37.78 kB / 433.2 MB, free: 7.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.378e-05/0.474, allocations: 48.28 kB / 433.3 MB, free: 7.172 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006423/0.4747, allocations: 407.1 kB / 433.7 MB, free: 7.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.4747, allocations: 3.875 kB / 433.7 MB, free: 7.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.455e-05/0.4748, allocations: 17.41 kB / 433.7 MB, free: 7.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.4748, allocations: 11.56 kB / 433.7 MB, free: 7.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005376/0.4753, allocations: 371.6 kB / 434.1 MB, free: 7.035 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.4772, allocations: 1.4 MB / 435.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005865/0.4778, allocations: 491.7 kB / 436 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005023/0.4783, allocations: 334 kB / 436.3 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.4784, allocations: 12 kB / 436.3 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.4784, allocations: 35.31 kB / 436.3 MB, free: 6.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 2.274e-06/0.4784, allocations: 7.719 kB / 436.3 MB, free: 6.246 MB / 298.7 MB Notification: Performance of matching and sorting (n=103): time 0.005008/0.4834, allocations: 2.75 MB / 439.1 MB, free: 5.262 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.4835, allocations: 67.89 kB / 439.2 MB, free: 5.195 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.4837, allocations: 212.8 kB / 439.4 MB, free: 5.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.4837, allocations: 43.95 kB / 439.4 MB, free: 5.059 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.491e-05/0.4838, allocations: 199.4 kB / 439.6 MB, free: 4.918 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.4839, allocations: 342.7 kB / 439.9 MB, free: 4.668 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.484, allocations: 22.66 kB / 440 MB, free: 4.664 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.799e-05/0.4841, allocations: 361.1 kB / 440.3 MB, free: 4.336 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/0.4844, allocations: 228.9 kB / 440.5 MB, free: 4.328 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.4847, allocations: 297.3 kB / 440.8 MB, free: 4.281 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003343/0.485, allocations: 251.9 kB / 441.1 MB, free: 4.246 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4851, allocations: 0 / 441.1 MB, free: 4.246 MB / 298.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0008199/0.4859, allocations: 0.6992 MB / 441.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.4859, allocations: 7.562 kB / 441.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.4859, allocations: 0 / 441.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4859, allocations: 3.906 kB / 441.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007302/0.4867, allocations: 220 kB / 442 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.4867, allocations: 7.969 kB / 442 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.487, allocations: 57.72 kB / 442.1 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/0.4871, allocations: 30.45 kB / 442.1 MB, free: 4.047 MB / 298.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 (113): * Single equations (assignments): 113 * 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.0001185/0.4872, allocations: 157.1 kB / 442.2 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.518e-05/0.4873, allocations: 57.92 kB / 442.3 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.4875, allocations: 74.73 kB / 442.4 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.4875, allocations: 11.47 kB / 442.4 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.4875, allocations: 0 / 442.4 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.4875, allocations: 7.922 kB / 442.4 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.4896, allocations: 1.903 MB / 444.3 MB, free: 2.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.4896, allocations: 7.938 kB / 444.3 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007351/0.4904, allocations: 219 kB / 444.5 MB, free: 2.305 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.4904, allocations: 8 kB / 444.5 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.264e-05/0.4905, allocations: 29.7 kB / 444.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.4905, allocations: 11.98 kB / 444.6 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.332e-05/0.4905, allocations: 7.938 kB / 444.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.492, allocations: 1.451 MB / 446 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-05/0.4921, allocations: 126.9 kB / 446.2 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.591e-05/0.4922, allocations: 30.86 kB / 446.2 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/0.4926, allocations: 56.34 kB / 446.2 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.4927, allocations: 79.27 kB / 446.3 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.312e-05/0.4927, allocations: 35.23 kB / 446.3 MB, free: 0.668 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001125/0.4929, allocations: 168.7 kB / 446.5 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4929, allocations: 0 / 446.5 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004103/0.4933, allocations: 153.7 kB / 446.7 MB, free: 412 kB / 298.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 (103): * Single equations (assignments): 103 * 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.0001492/0.4934, allocations: 133.6 kB / 446.8 MB, free: 284 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008616/0.4943, allocations: 0.6349 MB / 447.4 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4943, allocations: 3.562 kB / 447.4 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000552/0.4949, allocations: 393.8 kB / 447.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005692/0.4954, allocations: 105.1 kB / 447.9 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.4975, allocations: 1.254 MB / 449.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.498, allocations: 0.8886 MB / 450.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003239/0.4983, allocations: 80.92 kB / 450.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.4985, allocations: 55.36 kB / 450.2 MB, free: 13.24 MB / 314.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4985, allocations: 0 / 450.2 MB, free: 13.24 MB / 314.7 MB Notification: Performance of Templates: time 0.01067/0.5091, allocations: 5.767 MB / 456 MB, free: 7.492 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1)