Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Backlash.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.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Backlash") translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007495/0.007496, allocations: 166 kB / 15.11 MB, free: 5.969 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.277/1.277, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001637/0.001637, allocations: 118.5 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003405, allocations: 8 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.236, allocations: 38.77 MB / 312.9 MB, free: 38.84 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08892/0.3249, allocations: 67.47 MB / 380.3 MB, free: 7.074 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.3252, allocations: 67.97 kB / 380.4 MB, free: 7.008 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01469/0.3399, allocations: 4.726 MB / 385.1 MB, free: 2.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.416e-06/0.3401, allocations: 4 kB / 385.1 MB, free: 2.266 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.789e-05/0.3401, allocations: 0 / 385.1 MB, free: 2.266 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001254/0.3414, allocations: 0.5142 MB / 385.7 MB, free: 1.703 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.717e-05/0.3414, allocations: 15.97 kB / 385.7 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.702e-05/0.3415, allocations: 15.81 kB / 385.7 MB, free: 1.672 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.342, allocations: 219.3 kB / 385.9 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/0.3422, allocations: 77.66 kB / 386 MB, free: 1.336 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.256e-05/0.3423, allocations: 23.86 kB / 386 MB, free: 1.312 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006744/0.343, allocations: 263.1 kB / 386.3 MB, free: 1.043 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.343, allocations: 0 / 386.3 MB, free: 1.043 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.3431, allocations: 8 kB / 386.3 MB, free: 1.035 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.3431, allocations: 4 kB / 386.3 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007473/0.3439, allocations: 260.4 kB / 386.5 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.3449, allocations: 0.6683 MB / 387.2 MB, free: 64 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006655/0.3456, allocations: 269.1 kB / 387.5 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.3456, allocations: 8 kB / 387.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.3457, allocations: 34.56 kB / 387.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.723e-06/0.3457, allocations: 0 / 387.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.003402/0.3491, allocations: 1.548 MB / 389 MB, free: 14.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.33e-05/0.3492, allocations: 89.11 kB / 389.1 MB, free: 13.9 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.3494, allocations: 150.5 kB / 389.3 MB, free: 13.74 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.3494, allocations: 29.7 kB / 389.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.264e-05/0.3495, allocations: 120.4 kB / 389.4 MB, free: 13.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.359e-05/0.3496, allocations: 90.66 kB / 389.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.504e-05/0.3496, allocations: 4 kB / 389.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3498, allocations: 330.8 kB / 389.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.35, allocations: 71.91 kB / 389.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.3502, allocations: 107.4 kB / 390 MB, free: 12.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.3504, allocations: 83.92 kB / 390.1 MB, free: 12.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3504, allocations: 0 / 390.1 MB, free: 12.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004755/0.3509, allocations: 235.8 kB / 390.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.3509, allocations: 8 kB / 390.3 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3509, allocations: 0 / 390.3 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3509, allocations: 7.891 kB / 390.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.3514, allocations: 103.9 kB / 390.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.3514, allocations: 0 / 390.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.3516, allocations: 15.98 kB / 390.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.3516, allocations: 16 kB / 390.5 MB, free: 12.51 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001711/0.3518, allocations: 129.8 kB / 390.6 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.829e-05/0.3519, allocations: 19.72 kB / 390.6 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.068e-05/0.3519, allocations: 25.52 kB / 390.6 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3519, allocations: 4 kB / 390.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.3519, allocations: 8.891 kB / 390.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.352, allocations: 0 / 390.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.3535, allocations: 0.929 MB / 391.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.3535, allocations: 4 kB / 391.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000511/0.354, allocations: 124 kB / 391.7 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.354, allocations: 7.922 kB / 391.7 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.354, allocations: 8 kB / 391.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.354, allocations: 4 kB / 391.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3541, allocations: 0 / 391.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.3553, allocations: 0.7207 MB / 392.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.3554, allocations: 108.9 kB / 392.6 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.3555, allocations: 8 kB / 392.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.3557, allocations: 31.97 kB / 392.6 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.691e-05/0.3558, allocations: 23.97 kB / 392.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.3559, allocations: 11.94 kB / 392.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.238e-05/0.356, allocations: 120 kB / 392.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.356, allocations: 0 / 392.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003384/0.3563, allocations: 56 kB / 392.8 MB, free: 10.01 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (elastoBacklash.phi_rel,elastoBacklash.w_rel,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.0001624/0.3565, allocations: 103.2 kB / 392.9 MB, free: 9.902 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005759/0.3571, allocations: 243.9 kB / 393.1 MB, free: 9.664 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3571, allocations: 0 / 393.1 MB, free: 9.664 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003487/0.3574, allocations: 156 kB / 393.3 MB, free: 9.512 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.3578, allocations: 38.12 kB / 393.3 MB, free: 9.477 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/0.3616, allocations: 1.291 MB / 394.6 MB, free: 8.148 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.362, allocations: 0.7406 MB / 395.4 MB, free: 7.383 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.3621, allocations: 29.94 kB / 395.4 MB, free: 7.355 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.128e-05/0.3622, allocations: 27.42 kB / 395.4 MB, free: 7.328 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3622, allocations: 0 / 395.4 MB, free: 7.328 MB / 298.7 MB Notification: Performance of Templates: time 0.005366/0.3675, allocations: 2.298 MB / 397.7 MB, free: 5.055 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1)