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.001073/0.001073, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001081/0.001081, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0005136/0.0005139, allocations: 8 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2952, allocations: 47.58 MB / 326.4 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002228/0.2975, allocations: 1.918 MB / 328.4 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.2988, allocations: 0.7533 MB / 329.1 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.2989, allocations: 4.031 kB / 329.1 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.62e-05/0.299, allocations: 30.39 kB / 329.1 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.2993, allocations: 123.8 kB / 329.3 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.2996, allocations: 94.39 kB / 329.4 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004739/0.3001, allocations: 288.2 kB / 329.6 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.3003, allocations: 72.42 kB / 329.7 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000303/0.3006, allocations: 164.4 kB / 329.9 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.3008, allocations: 180.1 kB / 330 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.852e-05/0.3008, allocations: 20.75 kB / 330.1 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.511e-05/0.3009, allocations: 19.78 kB / 330.1 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.265e-05/0.301, allocations: 69.31 kB / 330.2 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.586e-05/0.3011, allocations: 85.36 kB / 330.2 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.3014, allocations: 293.6 kB / 330.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.3014, allocations: 0 / 330.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3014, allocations: 1.125 kB / 330.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.3014, allocations: 0 / 330.5 MB, free: 14.32 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.001644/0.303, allocations: 0.6693 MB / 331.2 MB, free: 13.79 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3031, allocations: 10 kB / 331.2 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.3032, allocations: 33.56 kB / 331.2 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/0.3037, allocations: 265.7 kB / 331.5 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000408/0.3041, allocations: 130.9 kB / 331.6 MB, free: 13.4 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.937e-05/0.3042, allocations: 33 kB / 331.7 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.3052, allocations: 406.8 kB / 332.1 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.3052, allocations: 9.078 kB / 332.1 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-05/0.3053, allocations: 14.44 kB / 332.1 MB, free: 13.13 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.3053, allocations: 7.062 kB / 332.1 MB, free: 13.13 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.3066, allocations: 453.9 kB / 332.5 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.3082, allocations: 0.9846 MB / 333.5 MB, free: 12.09 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.3095, allocations: 453 kB / 334 MB, free: 11.79 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.3095, allocations: 8 kB / 334 MB, free: 11.79 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.3095, allocations: 30.56 kB / 334 MB, free: 11.75 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 1.803e-06/0.3095, allocations: 0 / 334 MB, free: 11.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=38): time 0.005246/0.3148, allocations: 2.524 MB / 336.5 MB, free: 8.957 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.3149, allocations: 114.8 kB / 336.6 MB, free: 8.82 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.3151, allocations: 203.2 kB / 336.8 MB, free: 8.609 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.3151, allocations: 33.7 kB / 336.9 MB, free: 8.57 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.3153, allocations: 144.6 kB / 337 MB, free: 8.426 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.3154, allocations: 138 kB / 337.1 MB, free: 8.289 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.323e-05/0.3155, allocations: 4 kB / 337.1 MB, free: 8.285 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3156, allocations: 346.8 kB / 337.5 MB, free: 7.938 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.3159, allocations: 108.8 kB / 337.6 MB, free: 7.832 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.3163, allocations: 169.5 kB / 337.7 MB, free: 7.645 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004231/0.3167, allocations: 135.8 kB / 337.9 MB, free: 7.512 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3167, allocations: 0 / 337.9 MB, free: 7.512 MB / 270.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008359/0.3175, allocations: 373.2 kB / 338.2 MB, free: 7.141 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3176, allocations: 11.98 kB / 338.3 MB, free: 7.129 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3176, allocations: 0 / 338.3 MB, free: 7.129 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3176, allocations: 7.953 kB / 338.3 MB, free: 7.121 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007103/0.3183, allocations: 171.9 kB / 338.4 MB, free: 6.953 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.3183, allocations: 0 / 338.4 MB, free: 6.953 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.3186, allocations: 27.98 kB / 338.5 MB, free: 6.926 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.3186, allocations: 16 kB / 338.5 MB, free: 6.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.3188, allocations: 141.8 kB / 338.6 MB, free: 6.762 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.236e-05/0.3189, allocations: 27.7 kB / 338.6 MB, free: 6.734 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.423e-05/0.3189, allocations: 34.47 kB / 338.7 MB, free: 6.699 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.319, allocations: 7.953 kB / 338.7 MB, free: 6.691 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.319, allocations: 3.938 kB / 338.7 MB, free: 6.688 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.319, allocations: 7.984 kB / 338.7 MB, free: 6.68 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.3213, allocations: 1.397 MB / 340.1 MB, free: 5.188 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.3214, allocations: 4 kB / 340.1 MB, free: 5.184 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008777/0.3222, allocations: 204 kB / 340.3 MB, free: 4.984 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/0.3223, allocations: 7.984 kB / 340.3 MB, free: 4.977 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/0.3223, allocations: 8 kB / 340.3 MB, free: 4.969 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.3223, allocations: 8 kB / 340.3 MB, free: 4.961 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.3223, allocations: 11.88 kB / 340.3 MB, free: 4.949 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/0.3245, allocations: 1.149 MB / 341.5 MB, free: 3.715 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.3247, allocations: 136.8 kB / 341.6 MB, free: 3.562 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.453e-05/0.3247, allocations: 12 kB / 341.6 MB, free: 3.551 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004367/0.3252, allocations: 59.95 kB / 341.7 MB, free: 3.492 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.3253, allocations: 35.94 kB / 341.7 MB, free: 3.457 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/0.3253, allocations: 15.98 kB / 341.7 MB, free: 3.441 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.3255, allocations: 148.6 kB / 341.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3255, allocations: 4 kB / 341.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004708/0.3259, allocations: 84 kB / 342 MB, free: 3.211 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 (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.0001388/0.3261, allocations: 103.2 kB / 342.1 MB, free: 3.102 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.3272, allocations: 403.8 kB / 342.5 MB, free: 2.707 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3272, allocations: 0 / 342.5 MB, free: 2.707 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000704/0.3279, allocations: 284.2 kB / 342.7 MB, free: 2.43 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005732/0.3285, allocations: 60.59 kB / 342.8 MB, free: 2.367 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005196/0.3337, allocations: 1.745 MB / 344.5 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.3341, allocations: 0.7801 MB / 345.3 MB, free: 15.77 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001871/0.3343, allocations: 34.97 kB / 345.4 MB, free: 15.73 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.3344, allocations: 35.36 kB / 345.4 MB, free: 15.7 MB / 286.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3344, allocations: 0 / 345.4 MB, free: 15.7 MB / 286.1 MB Notification: Performance of Templates: time 0.007843/0.3423, allocations: 3.696 MB / 349.1 MB, free: 12 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Backlash.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: