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.0007991/0.000799, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006856/0.006856, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.7/1.7, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004345/0.0004348, allocations: 8 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3087, allocations: 47.6 MB / 327 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002348/0.3111, allocations: 2.121 MB / 329.2 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.3125, allocations: 0.7538 MB / 329.9 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.3127, allocations: 5.125 kB / 329.9 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.3128, allocations: 31.19 kB / 329.9 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.3131, allocations: 94.38 kB / 330 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.3134, allocations: 107 kB / 330.1 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004957/0.3139, allocations: 448.5 kB / 330.6 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.3141, allocations: 63.31 kB / 330.6 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.3144, allocations: 164 kB / 330.8 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.3146, allocations: 191.8 kB / 331 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.689e-05/0.3147, allocations: 19.84 kB / 331 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.888e-05/0.3148, allocations: 21.5 kB / 331 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.186e-05/0.3149, allocations: 64.95 kB / 331.1 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.3151, allocations: 185.6 kB / 331.3 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003826/0.3154, allocations: 375.9 kB / 331.6 MB, free: 13.96 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.3155, allocations: 4 kB / 331.6 MB, free: 13.95 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.3155, allocations: 7.922 kB / 331.7 MB, free: 13.95 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.3155, allocations: 1.438 kB / 331.7 MB, free: 13.95 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.001543/0.317, allocations: 0.6668 MB / 332.3 MB, free: 13.41 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3171, allocations: 9.469 kB / 332.3 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.656e-05/0.3172, allocations: 42.5 kB / 332.4 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.3176, allocations: 271.4 kB / 332.6 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003676/0.318, allocations: 135.9 kB / 332.8 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-05/0.318, allocations: 25.22 kB / 332.8 MB, free: 13.01 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009739/0.319, allocations: 409.3 kB / 333.2 MB, free: 12.77 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.319, allocations: 5.125 kB / 333.2 MB, free: 12.77 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.786e-05/0.3191, allocations: 11.28 kB / 333.2 MB, free: 12.76 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.3191, allocations: 5.312 kB / 333.2 MB, free: 12.76 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.3204, allocations: 466.7 kB / 333.7 MB, free: 12.57 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.3219, allocations: 0.9919 MB / 334.7 MB, free: 11.55 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.3231, allocations: 455.5 kB / 335.1 MB, free: 11.08 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006845/0.3238, allocations: 254.4 kB / 335.4 MB, free: 10.82 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.3238, allocations: 4 kB / 335.4 MB, free: 10.82 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.3239, allocations: 38.5 kB / 335.4 MB, free: 10.77 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 2.825e-06/0.3239, allocations: 0 / 335.4 MB, free: 10.77 MB / 270.1 MB Notification: Performance of matching and sorting (n=38): time 0.005361/0.3292, allocations: 2.517 MB / 337.9 MB, free: 7.988 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.743e-05/0.3293, allocations: 114.8 kB / 338 MB, free: 7.852 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.3296, allocations: 199.2 kB / 338.2 MB, free: 7.645 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.3296, allocations: 33.7 kB / 338.3 MB, free: 7.605 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.3297, allocations: 148.6 kB / 338.4 MB, free: 7.457 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.3299, allocations: 138 kB / 338.5 MB, free: 7.32 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.286e-05/0.3299, allocations: 37.7 kB / 338.6 MB, free: 7.277 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3301, allocations: 334.8 kB / 338.9 MB, free: 6.941 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.3304, allocations: 116.8 kB / 339 MB, free: 6.828 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.3308, allocations: 177.4 kB / 339.2 MB, free: 6.633 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006528/0.3314, allocations: 309.1 kB / 339.5 MB, free: 6.312 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3314, allocations: 0 / 339.5 MB, free: 6.312 MB / 270.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008015/0.3322, allocations: 373 kB / 339.8 MB, free: 5.941 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3323, allocations: 4 kB / 339.9 MB, free: 5.938 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3323, allocations: 4.094 kB / 339.9 MB, free: 5.934 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.3323, allocations: 7.984 kB / 339.9 MB, free: 5.926 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00072/0.333, allocations: 171.8 kB / 340 MB, free: 5.758 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.3331, allocations: 4 kB / 340 MB, free: 5.754 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.3333, allocations: 27.98 kB / 340.1 MB, free: 5.727 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.3333, allocations: 12 kB / 340.1 MB, free: 5.715 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.0001829/0.3335, allocations: 141.8 kB / 340.2 MB, free: 5.566 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.3336, allocations: 35.56 kB / 340.2 MB, free: 5.531 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.176e-05/0.3337, allocations: 33.52 kB / 340.3 MB, free: 5.496 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.3337, allocations: 8 kB / 340.3 MB, free: 5.488 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.3337, allocations: 4 kB / 340.3 MB, free: 5.484 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.3338, allocations: 7.984 kB / 340.3 MB, free: 5.477 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002513/0.3363, allocations: 1.397 MB / 341.7 MB, free: 3.984 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3363, allocations: 0 / 341.7 MB, free: 3.984 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008641/0.3372, allocations: 204 kB / 341.9 MB, free: 3.785 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.3372, allocations: 4 kB / 341.9 MB, free: 3.781 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/0.3372, allocations: 15.92 kB / 341.9 MB, free: 3.766 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3372, allocations: 4 kB / 341.9 MB, free: 3.762 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.3372, allocations: 8 kB / 341.9 MB, free: 3.754 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.3394, allocations: 1.054 MB / 343 MB, free: 2.664 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.3396, allocations: 128.8 kB / 343.1 MB, free: 2.52 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.623e-05/0.3397, allocations: 19.92 kB / 343.1 MB, free: 2.5 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004217/0.3401, allocations: 63.89 kB / 343.2 MB, free: 2.438 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.3402, allocations: 47.88 kB / 343.2 MB, free: 2.391 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.3403, allocations: 8 kB / 343.2 MB, free: 2.383 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001512/0.3404, allocations: 156.6 kB / 343.4 MB, free: 2.23 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3404, allocations: 0 / 343.4 MB, free: 2.23 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004569/0.3409, allocations: 80 kB / 343.5 MB, free: 2.152 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.0001601/0.3411, allocations: 107.2 kB / 343.6 MB, free: 2.039 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.3422, allocations: 403.7 kB / 344 MB, free: 1.645 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.3422, allocations: 4 kB / 344 MB, free: 1.641 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007144/0.3429, allocations: 280 kB / 344.3 MB, free: 1.367 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007821/0.3437, allocations: 69.41 kB / 344.3 MB, free: 1.301 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005273/0.349, allocations: 1.772 MB / 346.1 MB, free: 15.48 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.3493, allocations: 0.7646 MB / 346.9 MB, free: 14.69 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002157/0.3496, allocations: 42.97 kB / 346.9 MB, free: 14.64 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.3497, allocations: 31.42 kB / 346.9 MB, free: 14.61 MB / 286.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3497, allocations: 0 / 346.9 MB, free: 14.61 MB / 286.1 MB Notification: Performance of Templates: time 0.008176/0.3579, allocations: 3.848 MB / 350.8 MB, free: 10.77 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)