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.001336/0.001336, allocations: 107.3 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 194.4 kB / 16.25 MB, free: 6.625 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.532/1.532, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.001287/0.001287, allocations: 47.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3044, allocations: 46.62 MB / 324.8 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.006777/0.3113, allocations: 2.488 MB / 327.3 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.3135, allocations: 0.7675 MB / 328.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001909/0.3137, allocations: 5.25 kB / 328.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.314, allocations: 36.08 kB / 328.1 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003273/0.3144, allocations: 89.86 kB / 328.2 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006311/0.315, allocations: 107.4 kB / 328.3 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009089/0.3159, allocations: 468.1 kB / 328.8 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004051/0.3163, allocations: 75.28 kB / 328.9 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004169/0.3168, allocations: 181.6 kB / 329 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004682/0.3173, allocations: 208.5 kB / 329.2 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.3174, allocations: 41.72 kB / 329.3 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.3176, allocations: 38.5 kB / 329.3 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.3177, allocations: 88.69 kB / 329.4 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003149/0.318, allocations: 180.8 kB / 329.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007349/0.3188, allocations: 409.7 kB / 330 MB, free: 14.08 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.49e-05/0.3188, allocations: 0 / 330 MB, free: 14.08 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.3188, allocations: 0 / 330 MB, free: 14.08 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.3189, allocations: 1.75 kB / 330 MB, free: 14.08 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.002568/0.3214, allocations: 0.6764 MB / 330.7 MB, free: 13.52 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.304e-05/0.3215, allocations: 8.969 kB / 330.7 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.3217, allocations: 34.78 kB / 330.7 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00057/0.3223, allocations: 278.9 kB / 331 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005365/0.3228, allocations: 133.5 kB / 331.1 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.323, allocations: 24.84 kB / 331.1 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.3245, allocations: 375.3 kB / 331.5 MB, free: 12.87 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.913e-05/0.3245, allocations: 13.09 kB / 331.5 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.662e-05/0.3246, allocations: 6.875 kB / 331.5 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.3246, allocations: 5.75 kB / 331.5 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.3265, allocations: 397.7 kB / 331.9 MB, free: 12.67 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002213/0.3287, allocations: 0.9794 MB / 332.9 MB, free: 11.81 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.3302, allocations: 405 kB / 333.3 MB, free: 11.45 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000777/0.331, allocations: 226.4 kB / 333.5 MB, free: 11.22 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/0.3311, allocations: 8.375 kB / 333.5 MB, free: 11.21 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.3311, allocations: 34.56 kB / 333.5 MB, free: 11.17 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 3.827e-06/0.3311, allocations: 3.938 kB / 333.5 MB, free: 11.16 MB / 270.1 MB Notification: Performance of matching and sorting (n=38): time 0.006692/0.3378, allocations: 2.316 MB / 335.9 MB, free: 8.582 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.729e-05/0.338, allocations: 118.7 kB / 336 MB, free: 8.441 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.3383, allocations: 199.2 kB / 336.2 MB, free: 8.234 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.13e-05/0.3384, allocations: 33.7 kB / 336.2 MB, free: 8.195 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.3385, allocations: 152.6 kB / 336.4 MB, free: 8.043 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.3387, allocations: 130.1 kB / 336.5 MB, free: 7.914 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.3389, allocations: 82.02 kB / 336.6 MB, free: 7.828 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.3391, allocations: 334.8 kB / 336.9 MB, free: 7.492 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004162/0.3395, allocations: 108.8 kB / 337 MB, free: 7.387 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000503/0.34, allocations: 173.4 kB / 337.2 MB, free: 7.195 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009157/0.3409, allocations: 293.2 kB / 337.5 MB, free: 6.891 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.341, allocations: 4 kB / 337.5 MB, free: 6.887 MB / 270.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000993/0.342, allocations: 365.1 kB / 337.8 MB, free: 6.523 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.342, allocations: 7.938 kB / 337.8 MB, free: 6.516 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.342, allocations: 0 / 337.8 MB, free: 6.516 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.342, allocations: 4 kB / 337.8 MB, free: 6.512 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007118/0.3428, allocations: 147.9 kB / 338 MB, free: 6.367 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.3428, allocations: 4 kB / 338 MB, free: 6.363 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.343, allocations: 23.98 kB / 338 MB, free: 6.34 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.3431, allocations: 15.98 kB / 338 MB, free: 6.324 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.0001846/0.3433, allocations: 149.8 kB / 338.2 MB, free: 6.168 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.3434, allocations: 27.66 kB / 338.2 MB, free: 6.141 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.032e-05/0.3435, allocations: 33.52 kB / 338.2 MB, free: 6.105 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.3435, allocations: 4 kB / 338.2 MB, free: 6.102 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.3436, allocations: 0 / 338.2 MB, free: 6.102 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.3436, allocations: 0.9375 kB / 338.2 MB, free: 6.102 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003257/0.3468, allocations: 1.334 MB / 339.6 MB, free: 4.672 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.3469, allocations: 4 kB / 339.6 MB, free: 4.668 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/0.348, allocations: 167.9 kB / 339.7 MB, free: 4.504 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/0.348, allocations: 4.094 kB / 339.7 MB, free: 4.5 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.943e-05/0.3481, allocations: 19.88 kB / 339.8 MB, free: 4.48 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.3481, allocations: 7.984 kB / 339.8 MB, free: 4.473 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.3481, allocations: 3.938 kB / 339.8 MB, free: 4.469 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002718/0.3508, allocations: 0.9558 MB / 340.7 MB, free: 3.477 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/0.3511, allocations: 124.8 kB / 340.8 MB, free: 3.336 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.533e-05/0.3512, allocations: 15.94 kB / 340.9 MB, free: 3.32 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006167/0.3518, allocations: 52.06 kB / 340.9 MB, free: 3.27 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.352, allocations: 39.95 kB / 340.9 MB, free: 3.23 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.834e-05/0.352, allocations: 8 kB / 341 MB, free: 3.223 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002072/0.3522, allocations: 156.6 kB / 341.1 MB, free: 3.07 MB / 270.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3522, allocations: 0 / 341.1 MB, free: 3.07 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006293/0.3529, allocations: 84 kB / 341.2 MB, free: 2.988 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.0001982/0.3531, allocations: 103.2 kB / 341.3 MB, free: 2.879 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.3547, allocations: 395.6 kB / 341.7 MB, free: 2.492 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3547, allocations: 0 / 341.7 MB, free: 2.492 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.3557, allocations: 243.7 kB / 341.9 MB, free: 2.254 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.357, allocations: 72.66 kB / 342 MB, free: 2.188 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006868/0.3638, allocations: 1.541 MB / 343.5 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/0.3644, allocations: 0.7684 MB / 344.3 MB, free: 15.8 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002498/0.3646, allocations: 42.95 kB / 344.3 MB, free: 15.75 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.3648, allocations: 39.36 kB / 344.4 MB, free: 15.71 MB / 286.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3648, allocations: 0 / 344.4 MB, free: 15.71 MB / 286.1 MB Notification: Performance of Templates: time 0.01001/0.3748, allocations: 4.076 MB / 348.5 MB, free: 11.64 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)