Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash") translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001072/0.001072, allocations: 187.9 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.468/1.468, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001452/0.001452, allocations: 124 kB / 248.1 MB, free: 6.34 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.824e-05/1.826e-05, allocations: 0 / 298.1 MB, free: 8.25 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09675/0.09679, allocations: 44.5 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3292/0.4261, allocations: 72.95 MB / 415.5 MB, free: 22.84 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.4264, allocations: 68.08 kB / 415.6 MB, free: 22.8 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01925/0.4457, allocations: 7.478 MB / 423.1 MB, free: 16.69 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4457, allocations: 3.938 kB / 423.1 MB, free: 16.68 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.84e-05/0.4457, allocations: 8 kB / 423.1 MB, free: 16.68 MB / 315.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001195/0.4469, allocations: 0.6224 MB / 423.7 MB, free: 16.03 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.447, allocations: 12.03 kB / 423.7 MB, free: 16.02 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.446e-05/0.4471, allocations: 29.44 kB / 423.7 MB, free: 15.99 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.4474, allocations: 262.9 kB / 424 MB, free: 15.72 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003287/0.4478, allocations: 127.4 kB / 424.1 MB, free: 15.59 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.995e-05/0.4478, allocations: 16 kB / 424.1 MB, free: 15.57 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003928/0.4482, allocations: 256.2 kB / 424.4 MB, free: 15.41 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.4486, allocations: 280.3 kB / 424.7 MB, free: 15.19 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.4487, allocations: 5.406 kB / 424.7 MB, free: 15.18 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/0.4487, allocations: 0 / 424.7 MB, free: 15.18 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.4487, allocations: 8 kB / 424.7 MB, free: 15.18 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.4497, allocations: 0.9198 MB / 425.6 MB, free: 14.39 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003934/0.4501, allocations: 309.8 kB / 425.9 MB, free: 14.15 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.4504, allocations: 140.4 kB / 426 MB, free: 14.05 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.4504, allocations: 11.62 kB / 426 MB, free: 14.04 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.4504, allocations: 38.56 kB / 426.1 MB, free: 14 MB / 315.1 MB Notification: Performance of pre-optimization done (n=32): time 1.683e-06/0.4504, allocations: 0 / 426.1 MB, free: 14 MB / 315.1 MB Notification: Performance of matching and sorting (n=38): time 0.001894/0.4523, allocations: 1.758 MB / 427.8 MB, free: 12.18 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.4524, allocations: 110.8 kB / 427.9 MB, free: 12.05 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.4525, allocations: 157.7 kB / 428.1 MB, free: 11.9 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.4526, allocations: 25.7 kB / 428.1 MB, free: 11.87 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.4527, allocations: 155.2 kB / 428.3 MB, free: 11.74 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.303e-05/0.4527, allocations: 131.4 kB / 428.4 MB, free: 11.62 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.098e-05/0.4528, allocations: 1.125 kB / 428.4 MB, free: 11.62 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 6.89e-05/0.4528, allocations: 339.3 kB / 428.7 MB, free: 11.3 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.453, allocations: 110.8 kB / 428.8 MB, free: 11.23 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.4532, allocations: 171 kB / 429 MB, free: 11.11 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.4534, allocations: 111.9 kB / 429.1 MB, free: 11.04 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.4534, allocations: 0 / 429.1 MB, free: 11.04 MB / 315.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004259/0.4538, allocations: 340.3 kB / 429.5 MB, free: 10.79 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.4538, allocations: 4 kB / 429.5 MB, free: 10.78 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.4538, allocations: 0 / 429.5 MB, free: 10.78 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.4539, allocations: 4 kB / 429.5 MB, free: 10.78 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006939/0.4546, allocations: 171.6 kB / 429.6 MB, free: 10.61 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4546, allocations: 7.984 kB / 429.6 MB, free: 10.61 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.4548, allocations: 26.44 kB / 429.7 MB, free: 10.58 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.4548, allocations: 15.56 kB / 429.7 MB, free: 10.57 MB / 315.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.577e-05/0.4549, allocations: 112.6 kB / 429.8 MB, free: 10.45 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.101e-05/0.455, allocations: 27.72 kB / 429.8 MB, free: 10.43 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.508e-05/0.4551, allocations: 27.95 kB / 429.8 MB, free: 10.41 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4551, allocations: 7.938 kB / 429.9 MB, free: 10.41 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4551, allocations: 0 / 429.9 MB, free: 10.41 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.4551, allocations: 0 / 429.9 MB, free: 10.41 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.4563, allocations: 1.136 MB / 431 MB, free: 9.379 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.4563, allocations: 4 kB / 431 MB, free: 9.375 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008271/0.4571, allocations: 203.3 kB / 431.2 MB, free: 9.18 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.4571, allocations: 4 kB / 431.2 MB, free: 9.176 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.4572, allocations: 12.31 kB / 431.2 MB, free: 9.168 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.4572, allocations: 3.984 kB / 431.2 MB, free: 9.164 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.4572, allocations: 4 kB / 431.2 MB, free: 9.16 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007338/0.4579, allocations: 0.8057 MB / 432 MB, free: 8.41 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.906e-05/0.458, allocations: 124.8 kB / 432.1 MB, free: 8.281 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.762e-05/0.4581, allocations: 7.188 kB / 432.2 MB, free: 8.277 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004208/0.4585, allocations: 55.95 kB / 432.2 MB, free: 8.223 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.108e-05/0.4586, allocations: 50.14 kB / 432.3 MB, free: 8.18 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.4587, allocations: 11.98 kB / 432.3 MB, free: 8.168 MB / 315.1 MB Notification: Performance of sorting global known variables: time 7.088e-05/0.4587, allocations: 122.8 kB / 432.4 MB, free: 8.062 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4587, allocations: 0 / 432.4 MB, free: 8.062 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0004036/0.4592, allocations: 68 kB / 432.5 MB, free: 7.996 MB / 315.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (elastoBacklash2.phi_rel,elastoBacklash2.w_rel,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 (38): * Single equations (assignments): 38 * 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.0001321/0.4593, allocations: 112.5 kB / 432.6 MB, free: 7.883 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0003396/0.4596, allocations: 241.1 kB / 432.8 MB, free: 7.719 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4596, allocations: 0 / 432.8 MB, free: 7.719 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.4599, allocations: 164.9 kB / 433 MB, free: 7.605 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.4604, allocations: 65.17 kB / 433 MB, free: 7.559 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/0.4645, allocations: 1.323 MB / 434.3 MB, free: 6.27 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.4647, allocations: 0.7798 MB / 435.1 MB, free: 5.465 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 0.0001848/0.4649, allocations: 49.69 kB / 435.2 MB, free: 5.418 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.465, allocations: 31 kB / 435.2 MB, free: 5.391 MB / 315.1 MB Notification: Performance of SimCode: time 9.12e-07/0.465, allocations: 4 kB / 435.2 MB, free: 5.387 MB / 315.1 MB Notification: Performance of Templates: time 0.005765/0.4708, allocations: 3.477 MB / 438.7 MB, free: 1.969 MB / 315.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1)