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.001602/0.001602, 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.387/1.387, allocations: 170.7 MB / 178.7 MB, free: 15.57 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.001742/0.001741, allocations: 103.5 kB / 218 MB, free: 8.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.396e-05/1.399e-05, allocations: 4 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07139/0.07141, allocations: 38.77 MB / 301 MB, free: 3.633 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2689/0.3404, allocations: 66.71 MB / 367.7 MB, free: 1.629 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.3406, allocations: 68.33 kB / 367.8 MB, free: 1.594 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01226/0.3529, allocations: 4.685 MB / 372.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.353, allocations: 0.75 kB / 372.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.353, allocations: 4 kB / 372.4 MB, free: 13.73 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007994/0.3538, allocations: 0.4968 MB / 372.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3538, allocations: 8.031 kB / 373 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.49e-05/0.3539, allocations: 23.81 kB / 373 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.3541, allocations: 231.7 kB / 373.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/0.3543, allocations: 61.67 kB / 373.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.3544, allocations: 15.86 kB / 373.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002844/0.3547, allocations: 164.7 kB / 373.4 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.355, allocations: 182.1 kB / 373.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.355, allocations: 0 / 373.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.355, allocations: 4 kB / 373.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.3551, allocations: 7.984 kB / 373.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000853/0.3559, allocations: 0.619 MB / 374.2 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.3562, allocations: 192 kB / 374.4 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.3564, allocations: 85.41 kB / 374.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.3564, allocations: 8 kB / 374.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.3564, allocations: 34.25 kB / 374.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.142e-06/0.3564, allocations: 0 / 374.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.001368/0.3578, allocations: 1.133 MB / 375.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.3579, allocations: 85.05 kB / 375.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.783e-05/0.358, allocations: 130.7 kB / 375.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.358, allocations: 25.7 kB / 375.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.97e-05/0.3581, allocations: 127.4 kB / 376.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.197e-05/0.3581, allocations: 89.28 kB / 376.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.402e-05/0.3582, allocations: 4 kB / 376.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3583, allocations: 333.8 kB / 376.5 MB, free: 9.781 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.3584, allocations: 64.31 kB / 376.5 MB, free: 9.746 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.3585, allocations: 103.3 kB / 376.6 MB, free: 9.668 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.3586, allocations: 72.91 kB / 376.7 MB, free: 9.621 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3586, allocations: 0 / 376.7 MB, free: 9.621 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000351/0.359, allocations: 227 kB / 376.9 MB, free: 9.445 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.359, allocations: 4 kB / 376.9 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.359, allocations: 3.984 kB / 376.9 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3591, allocations: 7.938 kB / 376.9 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004282/0.3595, allocations: 99.88 kB / 377 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.3595, allocations: 8 kB / 377 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.3597, allocations: 11.98 kB / 377.1 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.3597, allocations: 7.25 kB / 377.1 MB, free: 9.309 MB / 266.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 () * 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 8.237e-05/0.3598, allocations: 116.9 kB / 377.2 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.3599, allocations: 15.81 kB / 377.2 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.127e-05/0.3599, allocations: 23.98 kB / 377.2 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3599, allocations: 0 / 377.2 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3599, allocations: 0 / 377.2 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3599, allocations: 4 kB / 377.2 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008971/0.3608, allocations: 0.7817 MB / 378 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.3609, allocations: 0 / 378 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005158/0.3614, allocations: 119.5 kB / 378.1 MB, free: 8.297 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3614, allocations: 7.938 kB / 378.1 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.3614, allocations: 7.953 kB / 378.1 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3614, allocations: 0 / 378.1 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3614, allocations: 4 kB / 378.1 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005299/0.362, allocations: 0.5406 MB / 378.7 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.976e-05/0.3621, allocations: 111.1 kB / 378.8 MB, free: 7.648 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.3621, allocations: 0 / 378.8 MB, free: 7.648 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.3624, allocations: 27.97 kB / 378.8 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.3624, allocations: 31.3 kB / 378.8 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.3625, allocations: 4 kB / 378.9 MB, free: 7.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.037e-05/0.3625, allocations: 113.8 kB / 379 MB, free: 7.488 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3625, allocations: 0 / 379 MB, free: 7.488 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003195/0.3629, allocations: 44 kB / 379 MB, free: 7.445 MB / 266.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 () * 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.0001359/0.363, allocations: 114.8 kB / 379.1 MB, free: 7.324 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002404/0.3633, allocations: 154.3 kB / 379.3 MB, free: 7.219 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3633, allocations: 4 kB / 379.3 MB, free: 7.215 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.3634, allocations: 90.05 kB / 379.4 MB, free: 7.152 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.3638, allocations: 35.25 kB / 379.4 MB, free: 7.125 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.367, allocations: 0.981 MB / 380.4 MB, free: 6.148 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.3673, allocations: 0.744 MB / 381.1 MB, free: 5.379 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.3674, allocations: 26.06 kB / 381.1 MB, free: 5.348 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.012e-05/0.3675, allocations: 27.42 kB / 381.2 MB, free: 5.32 MB / 266.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3675, allocations: 0 / 381.2 MB, free: 5.32 MB / 266.7 MB Notification: Performance of Templates: time 0.004611/0.3721, allocations: 2.159 MB / 383.3 MB, free: 3.168 MB / 266.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)