Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Backlash") translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 194.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 55.91 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2485, allocations: 46.63 MB / 325.3 MB, free: 1.867 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004455/0.253, allocations: 2.444 MB / 327.7 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.2546, allocations: 0.7744 MB / 328.5 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.2547, allocations: 3.688 kB / 328.5 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.2549, allocations: 39.2 kB / 328.6 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.2552, allocations: 102.5 kB / 328.7 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.2555, allocations: 131.7 kB / 328.8 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004805/0.256, allocations: 464.2 kB / 329.2 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002169/0.2562, allocations: 86.31 kB / 329.3 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.2565, allocations: 175.3 kB / 329.5 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002676/0.2568, allocations: 208 kB / 329.7 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.315e-05/0.2569, allocations: 38.16 kB / 329.7 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.454e-05/0.2569, allocations: 37.78 kB / 329.8 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.954e-05/0.257, allocations: 89.09 kB / 329.9 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002053/0.2573, allocations: 182 kB / 330 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004434/0.2577, allocations: 401.8 kB / 330.4 MB, free: 14 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2577, allocations: 1.125 kB / 330.4 MB, free: 14 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2577, allocations: 0 / 330.4 MB, free: 14 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.2577, allocations: 0 / 330.4 MB, free: 14 MB / 270.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.001722/0.2595, allocations: 0.6887 MB / 331.1 MB, free: 13.43 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.2595, allocations: 10.16 kB / 331.1 MB, free: 13.43 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.2597, allocations: 34.34 kB / 331.2 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004467/0.2601, allocations: 274.6 kB / 331.4 MB, free: 13.13 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004188/0.2605, allocations: 124.8 kB / 331.6 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.04e-05/0.2606, allocations: 33.16 kB / 331.6 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.2617, allocations: 375.9 kB / 332 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.2617, allocations: 8.953 kB / 332 MB, free: 12.78 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.693e-05/0.2618, allocations: 10.31 kB / 332 MB, free: 12.77 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.2618, allocations: 6.594 kB / 332 MB, free: 12.77 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.2631, allocations: 394.2 kB / 332.4 MB, free: 12.59 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.2647, allocations: 0.975 MB / 333.3 MB, free: 11.72 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.2657, allocations: 411.5 kB / 333.7 MB, free: 11.29 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006017/0.2664, allocations: 210.4 kB / 334 MB, free: 11.07 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.2664, allocations: 7.984 kB / 334 MB, free: 11.07 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.2664, allocations: 46.94 kB / 334 MB, free: 11.01 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 4.098e-06/0.2664, allocations: 0 / 334 MB, free: 11.01 MB / 270.1 MB Notification: Performance of matching and sorting (n=38): time 0.004865/0.2713, allocations: 2.312 MB / 336.3 MB, free: 8.434 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.2714, allocations: 106.8 kB / 336.4 MB, free: 8.305 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.2716, allocations: 211.1 kB / 336.6 MB, free: 8.086 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.2717, allocations: 33.7 kB / 336.7 MB, free: 8.047 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.2718, allocations: 148.6 kB / 336.8 MB, free: 7.898 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.2719, allocations: 138 kB / 336.9 MB, free: 7.762 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.272, allocations: 78.02 kB / 337 MB, free: 7.68 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.2722, allocations: 334.8 kB / 337.3 MB, free: 7.344 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003037/0.2725, allocations: 109.8 kB / 337.5 MB, free: 7.238 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.2729, allocations: 177.4 kB / 337.6 MB, free: 7.043 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006576/0.2735, allocations: 289 kB / 337.9 MB, free: 6.742 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2735, allocations: 0 / 337.9 MB, free: 6.742 MB / 270.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008018/0.2744, allocations: 365 kB / 338.3 MB, free: 6.379 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.2744, allocations: 4 kB / 338.3 MB, free: 6.375 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.2744, allocations: 8 kB / 338.3 MB, free: 6.367 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.2744, allocations: 4.094 kB / 338.3 MB, free: 6.363 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006867/0.2751, allocations: 151.8 kB / 338.4 MB, free: 6.215 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.2751, allocations: 4 kB / 338.4 MB, free: 6.211 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.2754, allocations: 31.91 kB / 338.5 MB, free: 6.18 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.2754, allocations: 12 kB / 338.5 MB, free: 6.168 MB / 270.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000154/0.2756, allocations: 141.8 kB / 338.6 MB, free: 6.02 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.732e-05/0.2757, allocations: 35.66 kB / 338.6 MB, free: 5.984 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.694e-05/0.2757, allocations: 33.52 kB / 338.7 MB, free: 5.949 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.2758, allocations: 4 kB / 338.7 MB, free: 5.945 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.2758, allocations: 0 / 338.7 MB, free: 5.945 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.2758, allocations: 0 / 338.7 MB, free: 5.945 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/0.2781, allocations: 1.33 MB / 340 MB, free: 4.52 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2781, allocations: 0 / 340 MB, free: 4.52 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008344/0.2789, allocations: 172 kB / 340.2 MB, free: 4.352 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.279, allocations: 4 kB / 340.2 MB, free: 4.348 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/0.279, allocations: 15.92 kB / 340.2 MB, free: 4.332 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.279, allocations: 8 kB / 340.2 MB, free: 4.324 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.279, allocations: 4 kB / 340.2 MB, free: 4.32 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.281, allocations: 0.9558 MB / 341.2 MB, free: 3.328 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.2811, allocations: 124.8 kB / 341.3 MB, free: 3.188 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.409e-05/0.2812, allocations: 15.94 kB / 341.3 MB, free: 3.172 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000418/0.2816, allocations: 43.94 kB / 341.3 MB, free: 3.129 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.2817, allocations: 39.89 kB / 341.4 MB, free: 3.09 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.2818, allocations: 16 kB / 341.4 MB, free: 3.074 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.2819, allocations: 152.6 kB / 341.6 MB, free: 2.926 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2819, allocations: 4 kB / 341.6 MB, free: 2.922 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004362/0.2823, allocations: 84 kB / 341.6 MB, free: 2.84 MB / 270.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001398/0.2825, allocations: 103.2 kB / 341.7 MB, free: 2.73 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001/0.2835, allocations: 383.4 kB / 342.1 MB, free: 2.355 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2835, allocations: 0 / 342.1 MB, free: 2.355 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006545/0.2842, allocations: 247.8 kB / 342.4 MB, free: 2.113 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007623/0.2849, allocations: 94.84 kB / 342.4 MB, free: 2.027 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004978/0.2899, allocations: 1.436 MB / 343.9 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.2903, allocations: 0.7643 MB / 344.6 MB, free: 15.75 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.2905, allocations: 42.95 kB / 344.7 MB, free: 15.71 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.2906, allocations: 27.44 kB / 344.7 MB, free: 15.68 MB / 286.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2906, allocations: 0 / 344.7 MB, free: 15.68 MB / 286.1 MB Notification: Performance of Templates: time 0.007818/0.2984, allocations: 4.27 MB / 349 MB, free: 11.41 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1)