Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Mechanics.Rotational.Examples.Backlash") translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0009972/0.0009972, allocations: 91.02 kB / 16.31 MB, free: 6.008 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.001337/0.001337, allocations: 184 kB / 17.21 MB, free: 5.902 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.606/1.606, allocations: 205.4 MB / 223.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.0005525/0.0005528, allocations: 12 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.317, allocations: 47.59 MB / 327.7 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002454/0.3195, allocations: 2.049 MB / 329.8 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.3211, allocations: 0.7272 MB / 330.5 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.3212, allocations: 7.562 kB / 330.5 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.3214, allocations: 28.58 kB / 330.5 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.3216, allocations: 98.47 kB / 330.6 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.3219, allocations: 98.78 kB / 330.7 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004986/0.3224, allocations: 413 kB / 331.1 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.3226, allocations: 62.52 kB / 331.2 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.3229, allocations: 159.9 kB / 331.4 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002865/0.3232, allocations: 188.6 kB / 331.5 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.921e-05/0.3232, allocations: 19.09 kB / 331.6 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-05/0.3233, allocations: 24.75 kB / 331.6 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.251e-05/0.3234, allocations: 65.7 kB / 331.6 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.073e-05/0.3235, allocations: 76.3 kB / 331.7 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003264/0.3238, allocations: 291.8 kB / 332 MB, free: 14.21 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/0.3238, allocations: 0 / 332 MB, free: 14.21 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.3238, allocations: 1.125 kB / 332 MB, free: 14.21 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.3238, allocations: 0 / 332 MB, free: 14.21 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.001647/0.3255, allocations: 0.6775 MB / 332.7 MB, free: 13.67 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.3256, allocations: 9.156 kB / 332.7 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.3257, allocations: 37.97 kB / 332.7 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.3261, allocations: 265.3 kB / 333 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003602/0.3264, allocations: 131.7 kB / 333.1 MB, free: 13.28 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.652e-05/0.3265, allocations: 33.91 kB / 333.1 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009826/0.3275, allocations: 411 kB / 333.5 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.3275, allocations: 2.344 kB / 333.6 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.3276, allocations: 10.16 kB / 333.6 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.3276, allocations: 6.688 kB / 333.6 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.3289, allocations: 461.1 kB / 334 MB, free: 12.83 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.3303, allocations: 0.985 MB / 335 MB, free: 11.97 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.3314, allocations: 455.8 kB / 335.4 MB, free: 11.59 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006056/0.332, allocations: 250.9 kB / 335.7 MB, free: 11.33 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.3321, allocations: 15.92 kB / 335.7 MB, free: 11.32 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.3321, allocations: 30.56 kB / 335.7 MB, free: 11.28 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 1.593e-06/0.3321, allocations: 0 / 335.7 MB, free: 11.28 MB / 270.1 MB Notification: Performance of matching and sorting (n=38): time 0.004827/0.3369, allocations: 2.516 MB / 338.3 MB, free: 8.496 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.337, allocations: 110.8 kB / 338.4 MB, free: 8.363 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.3373, allocations: 203.2 kB / 338.6 MB, free: 8.152 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.3373, allocations: 33.7 kB / 338.6 MB, free: 8.113 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.3374, allocations: 148.6 kB / 338.7 MB, free: 7.965 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.3375, allocations: 138 kB / 338.9 MB, free: 7.828 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/0.3376, allocations: 4 kB / 338.9 MB, free: 7.824 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3377, allocations: 338.8 kB / 339.2 MB, free: 7.484 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/0.338, allocations: 112.8 kB / 339.3 MB, free: 7.375 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.3383, allocations: 173.4 kB / 339.5 MB, free: 7.184 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.3386, allocations: 131.9 kB / 339.6 MB, free: 7.055 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3386, allocations: 0 / 339.6 MB, free: 7.055 MB / 270.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007375/0.3394, allocations: 377 kB / 340 MB, free: 6.68 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.3394, allocations: 4 kB / 340 MB, free: 6.676 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.3394, allocations: 3.953 kB / 340 MB, free: 6.672 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3394, allocations: 4 kB / 340 MB, free: 6.668 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006674/0.3401, allocations: 171.9 kB / 340.2 MB, free: 6.5 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.3401, allocations: 4 kB / 340.2 MB, free: 6.496 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.3404, allocations: 31.97 kB / 340.2 MB, free: 6.465 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.3404, allocations: 15.94 kB / 340.2 MB, free: 6.449 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.0001565/0.3406, allocations: 141.8 kB / 340.4 MB, free: 6.301 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.996e-05/0.3407, allocations: 27.72 kB / 340.4 MB, free: 6.273 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.555e-05/0.3407, allocations: 33.52 kB / 340.4 MB, free: 6.238 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.3408, allocations: 7.953 kB / 340.4 MB, free: 6.23 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.3408, allocations: 4 kB / 340.4 MB, free: 6.227 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3408, allocations: 4 kB / 340.4 MB, free: 6.223 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/0.3433, allocations: 1.393 MB / 341.8 MB, free: 4.734 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3433, allocations: 0 / 341.8 MB, free: 4.734 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007984/0.3441, allocations: 211.9 kB / 342 MB, free: 4.527 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.3441, allocations: 4 kB / 342 MB, free: 4.523 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.3442, allocations: 11.98 kB / 342 MB, free: 4.512 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.3442, allocations: 4 kB / 342 MB, free: 4.508 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.494e-05/0.3442, allocations: 7.953 kB / 342.1 MB, free: 4.5 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.3462, allocations: 1.054 MB / 343.1 MB, free: 3.41 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.3463, allocations: 128.8 kB / 343.2 MB, free: 3.266 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/0.3464, allocations: 8 kB / 343.2 MB, free: 3.258 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.3468, allocations: 67.88 kB / 343.3 MB, free: 3.191 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.3469, allocations: 47.83 kB / 343.4 MB, free: 3.145 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.3469, allocations: 16 kB / 343.4 MB, free: 3.129 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.347, allocations: 148.6 kB / 343.5 MB, free: 2.984 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.347, allocations: 4 kB / 343.5 MB, free: 2.98 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000444/0.3475, allocations: 80 kB / 343.6 MB, free: 2.902 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.0001382/0.3476, allocations: 103.2 kB / 343.7 MB, free: 2.793 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0009835/0.3486, allocations: 408.1 kB / 344.1 MB, free: 2.395 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3486, allocations: 3.938 kB / 344.1 MB, free: 2.391 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006566/0.3493, allocations: 272.9 kB / 344.4 MB, free: 2.125 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007574/0.3501, allocations: 65.31 kB / 344.4 MB, free: 2.059 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004973/0.3551, allocations: 1.749 MB / 346.2 MB, free: 268 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.3555, allocations: 0.7684 MB / 346.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002266/0.3557, allocations: 38.97 kB / 347 MB, free: 15.43 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.3559, allocations: 35.42 kB / 347 MB, free: 15.39 MB / 286.1 MB Notification: Performance of SimCode: time 1.462e-06/0.3559, allocations: 4 kB / 347 MB, free: 15.39 MB / 286.1 MB Notification: Performance of Templates: time 0.007898/0.3638, allocations: 3.711 MB / 350.7 MB, free: 11.68 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1)