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.006985/0.006985, allocations: 164.3 kB / 15.11 MB, free: 5.973 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.407/1.407, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.00159/0.00159, allocations: 118.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003143, allocations: 12 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2069, allocations: 38.76 MB / 312.9 MB, free: 38.74 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08974/0.2967, allocations: 68.3 MB / 381.2 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.297, allocations: 71.91 kB / 381.3 MB, free: 6.152 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02495/0.322, allocations: 9.1 MB / 390.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.322, allocations: 0 / 390.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.147e-05/0.322, allocations: 12 kB / 390.4 MB, free: 13.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.001326/0.3234, allocations: 0.7499 MB / 391.1 MB, free: 12.22 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3234, allocations: 19.95 kB / 391.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.926e-05/0.3235, allocations: 55.34 kB / 391.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.3239, allocations: 310.1 kB / 391.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/0.324, allocations: 37 kB / 391.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.94e-05/0.3241, allocations: 51.98 kB / 391.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008736/0.3249, allocations: 466.3 kB / 392 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.325, allocations: 3.906 kB / 392 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/0.325, allocations: 20 kB / 392.1 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.325, allocations: 12 kB / 392.1 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.3261, allocations: 491.7 kB / 392.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002334/0.3284, allocations: 1.398 MB / 393.9 MB, free: 9.273 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009018/0.3293, allocations: 0.5483 MB / 394.5 MB, free: 8.719 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.9e-05/0.3294, allocations: 16.5 kB / 394.5 MB, free: 8.703 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.3294, allocations: 39.12 kB / 394.5 MB, free: 8.656 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 2.004e-06/0.3294, allocations: 4 kB / 394.6 MB, free: 8.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=103): time 0.007256/0.3367, allocations: 3.286 MB / 397.8 MB, free: 5.293 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.3368, allocations: 64.41 kB / 397.9 MB, free: 5.215 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.3371, allocations: 218.2 kB / 398.1 MB, free: 5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.933e-05/0.3371, allocations: 41.7 kB / 398.2 MB, free: 4.953 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.3373, allocations: 197.2 kB / 398.3 MB, free: 4.754 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/0.3375, allocations: 342.9 kB / 398.7 MB, free: 4.414 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.3376, allocations: 24 kB / 398.7 MB, free: 4.391 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.3378, allocations: 362.8 kB / 399.1 MB, free: 4.027 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005802/0.3384, allocations: 289.8 kB / 399.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006424/0.339, allocations: 361.4 kB / 399.7 MB, free: 3.383 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006045/0.3396, allocations: 318.9 kB / 400 MB, free: 3.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3396, allocations: 0 / 400 MB, free: 3.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001455/0.3411, allocations: 0.8055 MB / 400.8 MB, free: 2.262 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.3411, allocations: 7.984 kB / 400.8 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.3412, allocations: 7.984 kB / 400.8 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.3412, allocations: 4 kB / 400.8 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008323/0.342, allocations: 219.7 kB / 401 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/0.3421, allocations: 7.953 kB / 401.1 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004109/0.3425, allocations: 55.97 kB / 401.1 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/0.3425, allocations: 31.98 kB / 401.1 MB, free: 1.934 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 () * Number of clocked 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.0003218/0.3429, allocations: 201 kB / 401.3 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.911e-05/0.343, allocations: 55.34 kB / 401.4 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001731/0.3432, allocations: 69.39 kB / 401.5 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.3432, allocations: 12 kB / 401.5 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.3432, allocations: 0 / 401.5 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.3432, allocations: 7.938 kB / 401.5 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003119/0.3463, allocations: 2.025 MB / 403.5 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.3464, allocations: 11.98 kB / 403.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008094/0.3472, allocations: 212.3 kB / 403.7 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/0.3472, allocations: 8 kB / 403.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.468e-05/0.3473, allocations: 27.98 kB / 403.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.928e-06/0.3473, allocations: 11.94 kB / 403.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.3473, allocations: 4 kB / 403.8 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002432/0.3497, allocations: 1.645 MB / 405.4 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/0.35, allocations: 180.4 kB / 405.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.47e-05/0.3501, allocations: 20 kB / 405.6 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/0.3505, allocations: 67.92 kB / 405.7 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.3507, allocations: 68.84 kB / 405.7 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.156e-05/0.3507, allocations: 39.94 kB / 405.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001895/0.3509, allocations: 174 kB / 406 MB, free: 12.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3509, allocations: 0 / 406 MB, free: 12.78 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005765/0.3515, allocations: 156 kB / 406.1 MB, free: 12.63 MB / 314.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 () * Number of clocked 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.0002181/0.3517, allocations: 142.9 kB / 406.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.3532, allocations: 0.7465 MB / 407 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3532, allocations: 4 kB / 407 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007252/0.3539, allocations: 462.5 kB / 407.4 MB, free: 11.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005994/0.3546, allocations: 101.4 kB / 407.5 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.3573, allocations: 1.825 MB / 409.4 MB, free: 9.262 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005046/0.3579, allocations: 0.8852 MB / 410.3 MB, free: 8.348 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003372/0.3582, allocations: 76.92 kB / 410.3 MB, free: 8.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.3584, allocations: 55.42 kB / 410.4 MB, free: 8.215 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.3584, allocations: 0 / 410.4 MB, free: 8.215 MB / 314.7 MB Notification: Performance of Templates: time 0.01129/0.3697, allocations: 5.746 MB / 416.1 MB, free: 2.5 MB / 314.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)