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.0013/0.001301, allocations: 170.4 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.225/1.225, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001689/0.001689, allocations: 95.53 kB / 223.2 MB, free: 4.055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3e-05/3.004e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08518/0.08523, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2799/0.3652, allocations: 67.37 MB / 375 MB, free: 8.824 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.3654, allocations: 62.47 kB / 375.1 MB, free: 8.793 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01345/0.3789, allocations: 4.724 MB / 379.8 MB, free: 4.812 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3789, allocations: 0 / 379.8 MB, free: 4.812 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.379, allocations: 4 kB / 379.8 MB, free: 4.809 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.0008691/0.3798, allocations: 0.4961 MB / 380.3 MB, free: 4.281 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.3799, allocations: 16.03 kB / 380.3 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.238e-05/0.38, allocations: 19.81 kB / 380.3 MB, free: 4.246 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.3803, allocations: 220.5 kB / 380.5 MB, free: 4.004 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.3805, allocations: 64.11 kB / 380.6 MB, free: 3.941 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.993e-05/0.3805, allocations: 30.48 kB / 380.6 MB, free: 3.918 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.3809, allocations: 212.5 kB / 380.8 MB, free: 3.754 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.3809, allocations: 0 / 380.8 MB, free: 3.754 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.3809, allocations: 3.312 kB / 380.8 MB, free: 3.754 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.3809, allocations: 4 kB / 380.8 MB, free: 3.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003166/0.3813, allocations: 170.7 kB / 381 MB, free: 3.637 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008901/0.3822, allocations: 0.6633 MB / 381.7 MB, free: 3.031 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.3825, allocations: 209.9 kB / 381.9 MB, free: 2.863 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.3827, allocations: 103.6 kB / 382 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.3827, allocations: 3.984 kB / 382 MB, free: 2.785 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.3827, allocations: 37.94 kB / 382 MB, free: 2.742 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.554e-06/0.3827, allocations: 3.984 kB / 382 MB, free: 2.738 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.001519/0.3842, allocations: 1.194 MB / 383.2 MB, free: 1.512 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.3843, allocations: 85.05 kB / 383.3 MB, free: 1.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.3845, allocations: 153.4 kB / 383.5 MB, free: 1.266 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.3845, allocations: 25.7 kB / 383.5 MB, free: 1.234 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.864e-05/0.3846, allocations: 126.5 kB / 383.6 MB, free: 1.121 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.484e-05/0.3846, allocations: 92 kB / 383.7 MB, free: 1.043 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.303e-05/0.3846, allocations: 3.062 kB / 383.7 MB, free: 1.043 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.3848, allocations: 330.1 kB / 384 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.3849, allocations: 75.38 kB / 384.1 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.3851, allocations: 106.3 kB / 384.2 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.3852, allocations: 77.5 kB / 384.3 MB, free: 0.543 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3852, allocations: 4 kB / 384.3 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003781/0.3856, allocations: 262.2 kB / 384.5 MB, free: 344 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3856, allocations: 4 kB / 384.5 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3857, allocations: 0 / 384.5 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3857, allocations: 7.953 kB / 384.5 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004293/0.3861, allocations: 99.25 kB / 384.6 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.3861, allocations: 4 kB / 384.6 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.3863, allocations: 15.36 kB / 384.7 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.3863, allocations: 4.656 kB / 384.7 MB, free: 216 kB / 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 9.44e-05/0.3864, allocations: 122.2 kB / 384.8 MB, free: 96 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.163e-05/0.3865, allocations: 15.81 kB / 384.8 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.798e-05/0.3865, allocations: 27.33 kB / 384.8 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3865, allocations: 7.953 kB / 384.8 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3865, allocations: 0 / 384.8 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3866, allocations: 0 / 384.8 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.3876, allocations: 0.8439 MB / 385.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.3876, allocations: 0 / 385.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005264/0.3881, allocations: 115.7 kB / 385.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.3882, allocations: 4 kB / 385.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.3882, allocations: 11.61 kB / 385.8 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3882, allocations: 7.938 kB / 385.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3882, allocations: 4 kB / 385.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006522/0.3889, allocations: 0.5506 MB / 386.4 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.389, allocations: 107.4 kB / 386.5 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.3891, allocations: 6.688 kB / 386.5 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.3893, allocations: 37.41 kB / 386.5 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/0.3894, allocations: 23.16 kB / 386.5 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.3895, allocations: 7.984 kB / 386.5 MB, free: 14.42 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.991e-05/0.3896, allocations: 122.4 kB / 386.7 MB, free: 14.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3896, allocations: 0 / 386.7 MB, free: 14.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003386/0.3899, allocations: 55.06 kB / 386.7 MB, free: 14.27 MB / 282.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.0002015/0.3901, allocations: 107 kB / 386.8 MB, free: 14.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003135/0.3905, allocations: 168.8 kB / 387 MB, free: 14.04 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3905, allocations: 0 / 387 MB, free: 14.04 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.3906, allocations: 103.7 kB / 387.1 MB, free: 13.96 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.3911, allocations: 40.34 kB / 387.1 MB, free: 13.94 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/0.3945, allocations: 1.004 MB / 388.1 MB, free: 12.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.3949, allocations: 0.7364 MB / 388.9 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.395, allocations: 30.06 kB / 388.9 MB, free: 12.15 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.504e-05/0.3951, allocations: 23.42 kB / 388.9 MB, free: 12.13 MB / 282.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3951, allocations: 0 / 388.9 MB, free: 12.13 MB / 282.7 MB Notification: Performance of Templates: time 0.005386/0.4005, allocations: 2.298 MB / 391.2 MB, free: 9.84 MB / 282.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)