Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001127/0.001127, allocations: 166.8 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.217/1.217, allocations: 170.7 MB / 178.7 MB, free: 15.63 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001535/0.001534, allocations: 103.5 kB / 218 MB, free: 8.398 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.245e-05/1.247e-05, allocations: 4 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0804/0.08043, allocations: 38.78 MB / 301 MB, free: 3.633 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.297/0.3775, allocations: 67.54 MB / 368.5 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001892/0.3777, allocations: 69.34 kB / 368.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02385/0.4016, allocations: 9.027 MB / 377.6 MB, free: 9.371 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4017, allocations: 0 / 377.6 MB, free: 9.371 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.64e-05/0.4017, allocations: 12 kB / 377.6 MB, free: 9.359 MB / 266.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.00123/0.4029, allocations: 0.7188 MB / 378.3 MB, free: 8.621 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.403, allocations: 12.03 kB / 378.4 MB, free: 8.609 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.4031, allocations: 59.16 kB / 378.4 MB, free: 8.555 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.4035, allocations: 312.7 kB / 378.7 MB, free: 8.238 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.4035, allocations: 12 kB / 378.7 MB, free: 8.227 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.199e-05/0.4036, allocations: 28 kB / 378.8 MB, free: 8.199 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005822/0.4042, allocations: 344.1 kB / 379.1 MB, free: 7.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005807/0.4048, allocations: 344.8 kB / 379.4 MB, free: 7.719 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.4048, allocations: 7.844 kB / 379.4 MB, free: 7.711 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.4048, allocations: 0 / 379.4 MB, free: 7.711 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.4049, allocations: 15.98 kB / 379.5 MB, free: 7.695 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.4069, allocations: 1.309 MB / 380.8 MB, free: 6.676 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005963/0.4076, allocations: 472.3 kB / 381.2 MB, free: 6.395 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005496/0.4081, allocations: 309.3 kB / 381.5 MB, free: 6.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.631e-05/0.4082, allocations: 12.55 kB / 381.5 MB, free: 6.168 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.4082, allocations: 49.95 kB / 381.6 MB, free: 6.117 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 2.414e-06/0.4082, allocations: 0 / 381.6 MB, free: 6.117 MB / 266.7 MB Notification: Performance of matching and sorting (n=103): time 0.003624/0.4119, allocations: 2.219 MB / 383.8 MB, free: 4.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.4119, allocations: 60.72 kB / 383.9 MB, free: 4.199 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.4122, allocations: 199 kB / 384.1 MB, free: 4.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.4122, allocations: 25.7 kB / 384.1 MB, free: 3.988 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.4124, allocations: 212.3 kB / 384.3 MB, free: 3.816 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/0.4127, allocations: 333.1 kB / 384.6 MB, free: 3.523 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.4127, allocations: 0 / 384.6 MB, free: 3.523 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.4129, allocations: 366.7 kB / 385 MB, free: 3.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003232/0.4132, allocations: 209.7 kB / 385.2 MB, free: 3.062 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003799/0.4136, allocations: 275.1 kB / 385.5 MB, free: 2.883 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/0.414, allocations: 237.2 kB / 385.7 MB, free: 2.742 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.414, allocations: 4 kB / 385.7 MB, free: 2.738 MB / 266.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0008956/0.4149, allocations: 0.6275 MB / 386.3 MB, free: 2.266 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.4149, allocations: 8 kB / 386.3 MB, free: 2.258 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.4149, allocations: 0 / 386.3 MB, free: 2.258 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.4149, allocations: 4 kB / 386.3 MB, free: 2.254 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008527/0.4158, allocations: 224.6 kB / 386.5 MB, free: 2.043 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.4158, allocations: 4 kB / 386.5 MB, free: 2.039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003444/0.4162, allocations: 39.95 kB / 386.6 MB, free: 2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/0.4162, allocations: 31.33 kB / 386.6 MB, free: 1.977 MB / 266.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.0001267/0.4164, allocations: 120.8 kB / 386.7 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.289e-05/0.4165, allocations: 47.44 kB / 386.8 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/0.4166, allocations: 60.05 kB / 386.8 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.4166, allocations: 12 kB / 386.9 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.4167, allocations: 0 / 386.9 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.4167, allocations: 7.969 kB / 386.9 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/0.419, allocations: 1.746 MB / 388.6 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.419, allocations: 4 kB / 388.6 MB, free: 328 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008264/0.4199, allocations: 219.5 kB / 388.8 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/0.4199, allocations: 8 kB / 388.8 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.154e-05/0.4199, allocations: 8 kB / 388.8 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.217e-05/0.42, allocations: 11.98 kB / 388.9 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.899e-06/0.42, allocations: 11.94 kB / 388.9 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.4215, allocations: 1.389 MB / 390.3 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.4218, allocations: 181.5 kB / 390.4 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.533e-05/0.4218, allocations: 7.438 kB / 390.4 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.4222, allocations: 47.95 kB / 390.5 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.4224, allocations: 67.41 kB / 390.5 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.681e-05/0.4224, allocations: 34.8 kB / 390.6 MB, free: 14.52 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001438/0.4226, allocations: 157.8 kB / 390.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4226, allocations: 3.938 kB / 390.7 MB, free: 14.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004663/0.423, allocations: 120 kB / 390.9 MB, free: 14.27 MB / 282.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.0001754/0.4232, allocations: 122.4 kB / 391 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008512/0.4241, allocations: 0.5866 MB / 391.6 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4241, allocations: 0 / 391.6 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004961/0.4246, allocations: 370.3 kB / 391.9 MB, free: 13.47 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006255/0.4252, allocations: 81.62 kB / 392 MB, free: 13.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.4273, allocations: 1.213 MB / 393.2 MB, free: 12.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/0.4277, allocations: 0.8767 MB / 394.1 MB, free: 11.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003125/0.4281, allocations: 72.91 kB / 394.2 MB, free: 11.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.4282, allocations: 51.42 kB / 394.2 MB, free: 11.22 MB / 282.7 MB Notification: Performance of SimCode: time 3.9e-07/0.4282, allocations: 0 / 394.2 MB, free: 11.22 MB / 282.7 MB Notification: Performance of Templates: time 0.01003/0.4383, allocations: 5.515 MB / 399.7 MB, free: 5.711 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1)