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.001605/0.001605, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002348/0.002348, allocations: 189.8 kB / 16.13 MB, free: 6.66 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.563/1.563, allocations: 205.1 MB / 222 MB, free: 4.938 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.001325/0.001324, allocations: 43.94 kB / 278 MB, free: 12.97 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2994, allocations: 46.62 MB / 324.7 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.005341/0.3048, allocations: 2.496 MB / 327.2 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.3062, allocations: 0.7677 MB / 327.9 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.3064, allocations: 4.438 kB / 327.9 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.3066, allocations: 28.16 kB / 328 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.3068, allocations: 94.22 kB / 328.1 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.3072, allocations: 111.1 kB / 328.2 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004575/0.3076, allocations: 444.5 kB / 328.6 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.3078, allocations: 72.16 kB / 328.7 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.3081, allocations: 160.6 kB / 328.8 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.3083, allocations: 196.1 kB / 329 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.113e-05/0.3084, allocations: 22.62 kB / 329 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.703e-05/0.3084, allocations: 21.94 kB / 329.1 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.3085, allocations: 74.23 kB / 329.1 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.3088, allocations: 164 kB / 329.3 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004739/0.3092, allocations: 393 kB / 329.7 MB, free: 14.08 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3092, allocations: 3.938 kB / 329.7 MB, free: 14.07 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3093, allocations: 0 / 329.7 MB, free: 14.07 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.3093, allocations: 0 / 329.7 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.001808/0.3111, allocations: 0.6763 MB / 330.4 MB, free: 13.51 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/0.3112, allocations: 9.906 kB / 330.4 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.3113, allocations: 35.31 kB / 330.4 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005319/0.3118, allocations: 270.2 kB / 330.7 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004148/0.3122, allocations: 133.7 kB / 330.8 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.111e-05/0.3123, allocations: 24.66 kB / 330.8 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.3134, allocations: 379 kB / 331.2 MB, free: 12.87 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/0.3134, allocations: 6.531 kB / 331.2 MB, free: 12.87 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.399e-05/0.3135, allocations: 10.53 kB / 331.2 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.3135, allocations: 5.969 kB / 331.2 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.3148, allocations: 392.8 kB / 331.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.3166, allocations: 0.9865 MB / 332.6 MB, free: 11.82 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.3179, allocations: 405.5 kB / 333 MB, free: 11.59 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006911/0.3186, allocations: 214.2 kB / 333.2 MB, free: 11.45 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.3187, allocations: 8 kB / 333.2 MB, free: 11.45 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/0.3187, allocations: 42.48 kB / 333.2 MB, free: 11.39 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 1.322e-06/0.3187, allocations: 0 / 333.2 MB, free: 11.39 MB / 270.1 MB Notification: Performance of matching and sorting (n=38): time 0.005063/0.3238, allocations: 2.317 MB / 335.6 MB, free: 8.812 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.816e-05/0.3239, allocations: 106.8 kB / 335.7 MB, free: 8.684 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.3241, allocations: 203.2 kB / 335.9 MB, free: 8.473 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.3242, allocations: 37.7 kB / 335.9 MB, free: 8.43 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.3243, allocations: 160.5 kB / 336 MB, free: 8.27 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.3244, allocations: 122.1 kB / 336.2 MB, free: 8.148 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.3246, allocations: 78.02 kB / 336.2 MB, free: 8.066 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.3248, allocations: 338.8 kB / 336.6 MB, free: 7.727 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.3251, allocations: 112.8 kB / 336.7 MB, free: 7.617 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/0.3255, allocations: 165.4 kB / 336.8 MB, free: 7.434 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007058/0.3262, allocations: 297.1 kB / 337.1 MB, free: 7.125 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3262, allocations: 4 kB / 337.1 MB, free: 7.121 MB / 270.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008246/0.327, allocations: 365 kB / 337.5 MB, free: 6.758 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.3271, allocations: 4 kB / 337.5 MB, free: 6.754 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3271, allocations: 0 / 337.5 MB, free: 6.754 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-05/0.3271, allocations: 8.094 kB / 337.5 MB, free: 6.746 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007273/0.3279, allocations: 147.8 kB / 337.7 MB, free: 6.602 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.3279, allocations: 7.984 kB / 337.7 MB, free: 6.594 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.3281, allocations: 23.98 kB / 337.7 MB, free: 6.57 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.3281, allocations: 16 kB / 337.7 MB, free: 6.555 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.0001741/0.3283, allocations: 141.8 kB / 337.8 MB, free: 6.406 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.701e-05/0.3284, allocations: 35.66 kB / 337.9 MB, free: 6.371 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.8e-05/0.3285, allocations: 37.52 kB / 337.9 MB, free: 6.332 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3285, allocations: 4 kB / 337.9 MB, free: 6.328 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.3285, allocations: 0 / 337.9 MB, free: 6.328 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.3285, allocations: 3.984 kB / 337.9 MB, free: 6.324 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.3308, allocations: 1.323 MB / 339.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3309, allocations: 0 / 339.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008256/0.3317, allocations: 172 kB / 339.4 MB, free: 4.738 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/0.3317, allocations: 4 kB / 339.4 MB, free: 4.734 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/0.3317, allocations: 19.92 kB / 339.4 MB, free: 4.715 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.3318, allocations: 4 kB / 339.4 MB, free: 4.711 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.3318, allocations: 4.094 kB / 339.4 MB, free: 4.707 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.3338, allocations: 0.9557 MB / 340.4 MB, free: 3.715 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.3339, allocations: 124.8 kB / 340.5 MB, free: 3.574 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.904e-05/0.334, allocations: 27.92 kB / 340.5 MB, free: 3.547 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003998/0.3344, allocations: 39.95 kB / 340.6 MB, free: 3.508 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.3345, allocations: 43.86 kB / 340.6 MB, free: 3.465 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/0.3346, allocations: 16 kB / 340.6 MB, free: 3.449 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.3347, allocations: 152.6 kB / 340.8 MB, free: 3.301 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3348, allocations: 0 / 340.8 MB, free: 3.301 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004655/0.3352, allocations: 84 kB / 340.9 MB, free: 3.219 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.0001835/0.3354, allocations: 107.2 kB / 341 MB, free: 3.105 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.3364, allocations: 363.5 kB / 341.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3364, allocations: 0 / 341.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006437/0.3371, allocations: 251.8 kB / 341.6 MB, free: 2.504 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007692/0.3379, allocations: 74.98 kB / 341.7 MB, free: 2.434 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005025/0.3429, allocations: 1.536 MB / 343.2 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.3433, allocations: 0.7646 MB / 344 MB, free: 56 kB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001929/0.3435, allocations: 42.95 kB / 344 MB, free: 12 kB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.3437, allocations: 31.47 kB / 344 MB, free: 15.98 MB / 286.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3437, allocations: 3.938 kB / 344 MB, free: 15.97 MB / 286.1 MB Notification: Performance of Templates: time 0.008101/0.3518, allocations: 3.892 MB / 347.9 MB, free: 12.09 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)