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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 97.48 kB / 15.36 MB, free: 0.7305 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.002037/0.002037, allocations: 171.9 kB / 16.26 MB, free: 6.656 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.686/1.686, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004876/0.0004874, allocations: 16.47 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3165, allocations: 47.59 MB / 327 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002639/0.3193, allocations: 2.129 MB / 329.2 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.3207, allocations: 0.7541 MB / 329.9 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.3209, allocations: 8.781 kB / 329.9 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.321, allocations: 27.5 kB / 329.9 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.3212, allocations: 95.61 kB / 330 MB, free: 15 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.3216, allocations: 106.2 kB / 330.1 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005519/0.3222, allocations: 436 kB / 330.6 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.3224, allocations: 75.03 kB / 330.6 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002551/0.3227, allocations: 163.9 kB / 330.8 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.3229, allocations: 189.4 kB / 331 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.718e-05/0.323, allocations: 18.97 kB / 331 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.129e-05/0.3231, allocations: 20.09 kB / 331 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.051e-05/0.3232, allocations: 70.39 kB / 331.1 MB, free: 14.35 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.3234, allocations: 187.9 kB / 331.3 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004319/0.3238, allocations: 376.6 kB / 331.6 MB, free: 13.94 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.3238, allocations: 0.875 kB / 331.6 MB, free: 13.94 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3238, allocations: 4 kB / 331.7 MB, free: 13.93 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.3239, allocations: 3.938 kB / 331.7 MB, free: 13.93 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.001598/0.3255, allocations: 0.6762 MB / 332.3 MB, free: 13.39 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.3255, allocations: 9.812 kB / 332.3 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.161e-05/0.3256, allocations: 34.16 kB / 332.4 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.326, allocations: 266.5 kB / 332.6 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004096/0.3264, allocations: 140.2 kB / 332.8 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.593e-05/0.3265, allocations: 24.97 kB / 332.8 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.3276, allocations: 413.1 kB / 333.2 MB, free: 12.75 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.3276, allocations: 6 kB / 333.2 MB, free: 12.75 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.605e-05/0.3276, allocations: 9.969 kB / 333.2 MB, free: 12.74 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.3276, allocations: 7.219 kB / 333.2 MB, free: 12.74 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.3291, allocations: 464.9 kB / 333.7 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.3305, allocations: 0.9885 MB / 334.7 MB, free: 11.55 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.3316, allocations: 455.5 kB / 335.1 MB, free: 11.07 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006777/0.3323, allocations: 250.4 kB / 335.4 MB, free: 10.82 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.3323, allocations: 7.984 kB / 335.4 MB, free: 10.81 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.3324, allocations: 42.56 kB / 335.4 MB, free: 10.76 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 1.873e-06/0.3324, allocations: 3.938 kB / 335.4 MB, free: 10.76 MB / 270.1 MB Notification: Performance of matching and sorting (n=38): time 0.004937/0.3373, allocations: 2.509 MB / 337.9 MB, free: 7.984 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/0.3374, allocations: 110.8 kB / 338 MB, free: 7.852 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.3377, allocations: 207.2 kB / 338.2 MB, free: 7.637 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.3377, allocations: 29.7 kB / 338.3 MB, free: 7.602 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.3378, allocations: 148.6 kB / 338.4 MB, free: 7.453 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.964e-05/0.3379, allocations: 138 kB / 338.5 MB, free: 7.316 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.18e-05/0.338, allocations: 41.7 kB / 338.6 MB, free: 7.27 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3381, allocations: 330.8 kB / 338.9 MB, free: 6.938 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003126/0.3384, allocations: 116.8 kB / 339 MB, free: 6.824 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003664/0.3388, allocations: 181.3 kB / 339.2 MB, free: 6.625 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006369/0.3395, allocations: 305.1 kB / 339.5 MB, free: 6.309 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3395, allocations: 0 / 339.5 MB, free: 6.309 MB / 270.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008052/0.3403, allocations: 377 kB / 339.9 MB, free: 5.934 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.3403, allocations: 4 kB / 339.9 MB, free: 5.93 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.3403, allocations: 0 / 339.9 MB, free: 5.93 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.3404, allocations: 4 kB / 339.9 MB, free: 5.926 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008809/0.3413, allocations: 171.9 kB / 340 MB, free: 5.758 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.019e-05/0.3413, allocations: 11.92 kB / 340 MB, free: 5.746 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.3415, allocations: 27.98 kB / 340.1 MB, free: 5.719 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.3415, allocations: 8 kB / 340.1 MB, free: 5.711 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.0001776/0.3417, allocations: 149.8 kB / 340.2 MB, free: 5.555 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.706e-05/0.3418, allocations: 35.56 kB / 340.3 MB, free: 5.52 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.32e-05/0.3419, allocations: 29.52 kB / 340.3 MB, free: 5.488 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.3419, allocations: 8 kB / 340.3 MB, free: 5.48 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.3419, allocations: 0 / 340.3 MB, free: 5.48 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.3419, allocations: 7.984 kB / 340.3 MB, free: 5.473 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/0.3445, allocations: 1.386 MB / 341.7 MB, free: 3.992 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.3446, allocations: 4.188 kB / 341.7 MB, free: 3.988 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000892/0.3455, allocations: 203.7 kB / 341.9 MB, free: 3.789 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.3455, allocations: 8 kB / 341.9 MB, free: 3.781 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.3455, allocations: 24.39 kB / 341.9 MB, free: 3.758 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.3455, allocations: 0 / 341.9 MB, free: 3.758 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3456, allocations: 4 kB / 341.9 MB, free: 3.754 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.3479, allocations: 1.057 MB / 343 MB, free: 2.66 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.348, allocations: 132.8 kB / 343.1 MB, free: 2.512 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.238e-05/0.3481, allocations: 19.92 kB / 343.1 MB, free: 2.492 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004168/0.3485, allocations: 59.95 kB / 343.2 MB, free: 2.434 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.3487, allocations: 39.88 kB / 343.2 MB, free: 2.395 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.3487, allocations: 15.98 kB / 343.2 MB, free: 2.379 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.3489, allocations: 152.6 kB / 343.4 MB, free: 2.23 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3489, allocations: 0 / 343.4 MB, free: 2.23 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005359/0.3494, allocations: 76 kB / 343.5 MB, free: 2.156 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.0001637/0.3496, allocations: 115.2 kB / 343.6 MB, free: 2.035 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.3506, allocations: 403.7 kB / 344 MB, free: 1.641 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3507, allocations: 0 / 344 MB, free: 1.641 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007132/0.3514, allocations: 284 kB / 344.3 MB, free: 1.363 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007854/0.3522, allocations: 69.41 kB / 344.3 MB, free: 1.297 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005474/0.3576, allocations: 1.768 MB / 346.1 MB, free: 15.48 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004948/0.3582, allocations: 0.7685 MB / 346.9 MB, free: 14.68 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002045/0.3584, allocations: 34.97 kB / 346.9 MB, free: 14.65 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.3585, allocations: 35.42 kB / 346.9 MB, free: 14.61 MB / 286.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3585, allocations: 0 / 346.9 MB, free: 14.61 MB / 286.1 MB Notification: Performance of Templates: time 0.008041/0.3666, allocations: 3.864 MB / 350.8 MB, free: 10.75 MB / 286.1 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)