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.001964/0.001965, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002134/0.002134, allocations: 188.9 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.626/1.626, 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.001103/0.001103, allocations: 43.94 kB / 278.2 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3058, allocations: 46.64 MB / 324.8 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003499/0.3093, allocations: 2.485 MB / 327.3 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.3107, allocations: 0.7672 MB / 328.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.3108, allocations: 4.812 kB / 328.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.311, allocations: 27.38 kB / 328.1 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.3112, allocations: 99.47 kB / 328.2 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.3115, allocations: 101.9 kB / 328.3 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005008/0.312, allocations: 464.5 kB / 328.8 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000253/0.3123, allocations: 87.59 kB / 328.9 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003148/0.3126, allocations: 186.4 kB / 329 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002817/0.3129, allocations: 204.4 kB / 329.2 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.022e-05/0.313, allocations: 36.72 kB / 329.3 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-05/0.3131, allocations: 42.59 kB / 329.3 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.432e-05/0.3132, allocations: 85.45 kB / 329.4 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001932/0.3134, allocations: 180.2 kB / 329.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004425/0.3138, allocations: 409.6 kB / 330 MB, free: 14.08 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3139, allocations: 4 kB / 330 MB, free: 14.07 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3139, allocations: 1.031 kB / 330 MB, free: 14.07 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.3139, allocations: 0 / 330 MB, free: 14.07 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.001522/0.3154, allocations: 0.6732 MB / 330.7 MB, free: 13.52 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3155, allocations: 13.86 kB / 330.7 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.873e-05/0.3155, allocations: 33.75 kB / 330.7 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.3159, allocations: 276 kB / 331 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003655/0.3163, allocations: 128.5 kB / 331.1 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.3163, allocations: 32.75 kB / 331.1 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008865/0.3172, allocations: 371 kB / 331.5 MB, free: 12.87 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.3173, allocations: 9.969 kB / 331.5 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/0.3173, allocations: 14.34 kB / 331.5 MB, free: 12.85 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.3173, allocations: 6.469 kB / 331.5 MB, free: 12.85 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.3185, allocations: 390.1 kB / 331.9 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.3198, allocations: 0.9821 MB / 332.9 MB, free: 11.81 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.3209, allocations: 402.6 kB / 333.3 MB, free: 11.45 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005619/0.3215, allocations: 214.4 kB / 333.5 MB, free: 11.23 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.3215, allocations: 8.375 kB / 333.5 MB, free: 11.22 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.3215, allocations: 38.56 kB / 333.5 MB, free: 11.18 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 1.613e-06/0.3215, allocations: 3.938 kB / 333.5 MB, free: 11.17 MB / 270.1 MB Notification: Performance of matching and sorting (n=38): time 0.004543/0.3261, allocations: 2.316 MB / 335.9 MB, free: 8.59 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.363e-05/0.3262, allocations: 118.7 kB / 336 MB, free: 8.449 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.3264, allocations: 203.2 kB / 336.2 MB, free: 8.238 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.3264, allocations: 33.7 kB / 336.2 MB, free: 8.199 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.966e-05/0.3265, allocations: 148.6 kB / 336.4 MB, free: 8.051 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.865e-05/0.3267, allocations: 134.1 kB / 336.5 MB, free: 7.918 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.3268, allocations: 74.03 kB / 336.6 MB, free: 7.84 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3269, allocations: 342.8 kB / 336.9 MB, free: 7.496 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/0.3272, allocations: 108.8 kB / 337 MB, free: 7.391 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.3275, allocations: 169.4 kB / 337.2 MB, free: 7.203 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006376/0.3282, allocations: 293.2 kB / 337.4 MB, free: 6.898 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3282, allocations: 0 / 337.4 MB, free: 6.898 MB / 270.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008393/0.329, allocations: 365 kB / 337.8 MB, free: 6.535 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.3291, allocations: 15.92 kB / 337.8 MB, free: 6.52 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.3291, allocations: 0 / 337.8 MB, free: 6.52 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.3291, allocations: 4 kB / 337.8 MB, free: 6.516 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006914/0.3298, allocations: 147.9 kB / 338 MB, free: 6.371 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.3298, allocations: 4 kB / 338 MB, free: 6.367 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.3301, allocations: 23.98 kB / 338 MB, free: 6.344 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.3301, allocations: 15.98 kB / 338 MB, free: 6.328 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.0001629/0.3303, allocations: 141.8 kB / 338.2 MB, free: 6.18 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.062e-05/0.3304, allocations: 35.64 kB / 338.2 MB, free: 6.145 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.495e-05/0.3304, allocations: 29.53 kB / 338.2 MB, free: 6.113 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.3305, allocations: 4 kB / 338.2 MB, free: 6.109 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.3305, allocations: 4.938 kB / 338.2 MB, free: 6.105 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.3305, allocations: 3.984 kB / 338.2 MB, free: 6.102 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.3327, allocations: 1.334 MB / 339.6 MB, free: 4.672 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.3328, allocations: 4 kB / 339.6 MB, free: 4.668 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008422/0.3336, allocations: 164.1 kB / 339.7 MB, free: 4.508 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.046e-06/0.3336, allocations: 11.92 kB / 339.7 MB, free: 4.496 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.808e-05/0.3337, allocations: 19.94 kB / 339.8 MB, free: 4.477 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.3337, allocations: 4 kB / 339.8 MB, free: 4.473 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3337, allocations: 3.938 kB / 339.8 MB, free: 4.469 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.3356, allocations: 0.9558 MB / 340.7 MB, free: 3.477 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.3358, allocations: 128.8 kB / 340.8 MB, free: 3.332 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/0.3359, allocations: 11.94 kB / 340.9 MB, free: 3.32 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004048/0.3363, allocations: 43.95 kB / 340.9 MB, free: 3.277 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.3364, allocations: 39.95 kB / 340.9 MB, free: 3.238 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.663e-05/0.3365, allocations: 15.98 kB / 341 MB, free: 3.223 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.3366, allocations: 148.6 kB / 341.1 MB, free: 3.078 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3366, allocations: 0 / 341.1 MB, free: 3.078 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.00048/0.3371, allocations: 84 kB / 341.2 MB, free: 2.996 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.0001504/0.3372, allocations: 107.2 kB / 341.3 MB, free: 2.883 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.3383, allocations: 391.6 kB / 341.7 MB, free: 2.5 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3383, allocations: 4 kB / 341.7 MB, free: 2.496 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006353/0.339, allocations: 249 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.0007894/0.3398, allocations: 68.55 kB / 342 MB, free: 2.191 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004894/0.3447, allocations: 1.546 MB / 343.5 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.345, allocations: 0.7604 MB / 344.3 MB, free: 15.8 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002207/0.3453, allocations: 46.91 kB / 344.3 MB, free: 15.76 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.3454, allocations: 35.42 kB / 344.4 MB, free: 15.72 MB / 286.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3454, allocations: 0 / 344.4 MB, free: 15.72 MB / 286.1 MB Notification: Performance of Templates: time 0.008036/0.3534, allocations: 4.082 MB / 348.5 MB, free: 11.64 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)