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.001014/0.001015, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.285/1.285, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001592/0.001592, allocations: 111.4 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.616e-05/2.618e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06849/0.06853, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2882/0.3568, allocations: 68.2 MB / 375.8 MB, free: 8.039 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.357, allocations: 66.72 kB / 375.9 MB, free: 8.004 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02482/0.3819, allocations: 9.107 MB / 385 MB, free: 356 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3819, allocations: 0 / 385 MB, free: 356 kB / 266.7 MB Notification: Performance of Transformations before backend: time 2.162e-05/0.3819, allocations: 12 kB / 385 MB, free: 344 kB / 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.00122/0.3831, allocations: 0.7209 MB / 385.7 MB, free: 15.6 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.3832, allocations: 8.031 kB / 385.7 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.3833, allocations: 59.34 kB / 385.8 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.3837, allocations: 308.1 kB / 386.1 MB, free: 15.22 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/0.3837, allocations: 31.88 kB / 386.1 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.83e-05/0.3838, allocations: 55.58 kB / 386.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006572/0.3845, allocations: 400.5 kB / 386.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.3845, allocations: 0 / 386.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/0.3846, allocations: 22.73 kB / 386.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.3846, allocations: 12 kB / 386.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006194/0.3852, allocations: 366 kB / 387 MB, free: 14.63 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.3874, allocations: 1.401 MB / 388.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006799/0.3881, allocations: 499 kB / 388.9 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006197/0.3887, allocations: 338.2 kB / 389.2 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.354e-05/0.3888, allocations: 16.55 kB / 389.2 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.3888, allocations: 38.81 kB / 389.2 MB, free: 12.94 MB / 282.7 MB Notification: Performance of pre-optimization done (n=67): time 1.904e-06/0.3888, allocations: 0 / 389.2 MB, free: 12.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=103): time 0.005836/0.3947, allocations: 2.754 MB / 392 MB, free: 10.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.3947, allocations: 64.41 kB / 392.1 MB, free: 10.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.3949, allocations: 216.7 kB / 392.3 MB, free: 10.4 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.404e-05/0.395, allocations: 50.38 kB / 392.3 MB, free: 10.36 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.3951, allocations: 191.1 kB / 392.5 MB, free: 10.2 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000225/0.3954, allocations: 345.5 kB / 392.8 MB, free: 9.906 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.3954, allocations: 19.94 kB / 392.9 MB, free: 9.902 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3956, allocations: 363.1 kB / 393.2 MB, free: 9.559 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/0.3959, allocations: 230.3 kB / 393.4 MB, free: 9.422 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003979/0.3963, allocations: 299.8 kB / 393.7 MB, free: 9.219 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004088/0.3967, allocations: 251.1 kB / 394 MB, free: 9.059 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3967, allocations: 0 / 394 MB, free: 9.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001013/0.3978, allocations: 0.6905 MB / 394.7 MB, free: 8.555 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3978, allocations: 4 kB / 394.7 MB, free: 8.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3978, allocations: 0 / 394.7 MB, free: 8.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.3978, allocations: 4 kB / 394.7 MB, free: 8.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008009/0.3986, allocations: 225.9 kB / 394.9 MB, free: 8.332 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.3987, allocations: 7.938 kB / 394.9 MB, free: 8.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/0.399, allocations: 63.95 kB / 395 MB, free: 8.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.895e-05/0.3991, allocations: 30.86 kB / 395 MB, free: 8.254 MB / 282.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.0001371/0.3992, allocations: 160 kB / 395.2 MB, free: 8.117 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.327e-05/0.3993, allocations: 51.34 kB / 395.2 MB, free: 8.066 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.3995, allocations: 72.77 kB / 395.3 MB, free: 8.047 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.3995, allocations: 12 kB / 395.3 MB, free: 8.035 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.3995, allocations: 3.953 kB / 395.3 MB, free: 8.031 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.3995, allocations: 3.984 kB / 395.3 MB, free: 8.027 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002582/0.4021, allocations: 1.905 MB / 397.2 MB, free: 6.469 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.4021, allocations: 4 kB / 397.2 MB, free: 6.465 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008086/0.4029, allocations: 214.5 kB / 397.4 MB, free: 6.262 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.24e-05/0.403, allocations: 8 kB / 397.4 MB, free: 6.254 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.968e-05/0.403, allocations: 30.73 kB / 397.5 MB, free: 6.238 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/0.403, allocations: 16.09 kB / 397.5 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.403, allocations: 4 kB / 397.5 MB, free: 6.219 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.4048, allocations: 1.449 MB / 398.9 MB, free: 4.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.4051, allocations: 183.5 kB / 399.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-05/0.4052, allocations: 19.06 kB / 399.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004027/0.4056, allocations: 65.36 kB / 399.2 MB, free: 4.703 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.4057, allocations: 73.45 kB / 399.3 MB, free: 4.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-05/0.4057, allocations: 36.36 kB / 399.3 MB, free: 4.613 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001705/0.4059, allocations: 180.7 kB / 399.5 MB, free: 4.465 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.4059, allocations: 0 / 399.5 MB, free: 4.465 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005126/0.4064, allocations: 159 kB / 399.6 MB, free: 4.336 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.0001707/0.4066, allocations: 138.8 kB / 399.8 MB, free: 4.203 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009057/0.4075, allocations: 0.6319 MB / 400.4 MB, free: 3.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4075, allocations: 0 / 400.4 MB, free: 3.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000532/0.4081, allocations: 401.3 kB / 400.8 MB, free: 3.469 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005493/0.4086, allocations: 93.31 kB / 400.9 MB, free: 3.402 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.4105, allocations: 1.274 MB / 402.2 MB, free: 2.203 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.411, allocations: 0.877 MB / 403 MB, free: 1.301 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002996/0.4113, allocations: 80.92 kB / 403.1 MB, free: 1.219 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.4115, allocations: 54.73 kB / 403.2 MB, free: 1.168 MB / 282.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4115, allocations: 4 kB / 403.2 MB, free: 1.164 MB / 282.7 MB Notification: Performance of Templates: time 0.01002/0.4215, allocations: 5.775 MB / 408.9 MB, free: 11.4 MB / 298.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)