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.001208/0.001207, 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.001498/0.001498, allocations: 199.3 kB / 16.14 MB, free: 6.664 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.542/1.542, allocations: 205.1 MB / 222 MB, free: 4.762 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.001252/0.001252, allocations: 55.92 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3131, allocations: 46.63 MB / 324.7 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003533/0.3167, allocations: 2.481 MB / 327.2 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.3181, allocations: 0.7717 MB / 327.9 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.3182, allocations: 7.969 kB / 327.9 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.3184, allocations: 31.17 kB / 328 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.3186, allocations: 92.09 kB / 328.1 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.319, allocations: 113.7 kB / 328.2 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004936/0.3195, allocations: 445.2 kB / 328.6 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.3197, allocations: 63.97 kB / 328.7 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.32, allocations: 161 kB / 328.8 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.3202, allocations: 199.9 kB / 329 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.248e-05/0.3203, allocations: 22.22 kB / 329 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.834e-05/0.3204, allocations: 22.41 kB / 329.1 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.482e-05/0.3205, allocations: 78.41 kB / 329.1 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.3207, allocations: 155.6 kB / 329.3 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004727/0.3212, allocations: 391.5 kB / 329.7 MB, free: 14.18 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.3212, allocations: 5.219 kB / 329.7 MB, free: 14.18 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3212, allocations: 0 / 329.7 MB, free: 14.18 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.3212, allocations: 0 / 329.7 MB, free: 14.18 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.001777/0.323, allocations: 0.6763 MB / 330.3 MB, free: 13.62 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.3231, allocations: 9.969 kB / 330.4 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.3232, allocations: 43.12 kB / 330.4 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.3236, allocations: 270.2 kB / 330.7 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003859/0.324, allocations: 130 kB / 330.8 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.442e-05/0.3241, allocations: 24.78 kB / 330.8 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009989/0.3251, allocations: 382.6 kB / 331.2 MB, free: 12.97 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.3251, allocations: 6.531 kB / 331.2 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.751e-05/0.3252, allocations: 10.53 kB / 331.2 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.3252, allocations: 5.156 kB / 331.2 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.3264, allocations: 398.7 kB / 331.6 MB, free: 12.77 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.328, allocations: 0.9784 MB / 332.6 MB, free: 11.92 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.329, allocations: 399.9 kB / 333 MB, free: 11.66 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005714/0.3296, allocations: 226.4 kB / 333.2 MB, free: 11.43 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.3297, allocations: 4 kB / 333.2 MB, free: 11.42 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.3297, allocations: 42.56 kB / 333.2 MB, free: 11.37 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 1.713e-06/0.3297, allocations: 0 / 333.2 MB, free: 11.37 MB / 270.1 MB Notification: Performance of matching and sorting (n=38): time 0.004516/0.3342, allocations: 2.325 MB / 335.6 MB, free: 8.781 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.3343, allocations: 106.8 kB / 335.7 MB, free: 8.652 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.3345, allocations: 203.2 kB / 335.9 MB, free: 8.441 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.3345, allocations: 33.7 kB / 335.9 MB, free: 8.402 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.833e-05/0.3346, allocations: 149.5 kB / 336 MB, free: 8.254 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.905e-05/0.3348, allocations: 130.1 kB / 336.2 MB, free: 8.125 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.3349, allocations: 82.02 kB / 336.2 MB, free: 8.039 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.335, allocations: 334.8 kB / 336.6 MB, free: 7.703 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002959/0.3353, allocations: 108.8 kB / 336.7 MB, free: 7.598 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.3357, allocations: 173.3 kB / 336.9 MB, free: 7.406 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006112/0.3363, allocations: 292.9 kB / 337.1 MB, free: 7.102 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.3363, allocations: 4 kB / 337.1 MB, free: 7.098 MB / 270.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007943/0.3371, allocations: 365 kB / 337.5 MB, free: 6.734 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.3371, allocations: 4 kB / 337.5 MB, free: 6.73 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.3371, allocations: 7.938 kB / 337.5 MB, free: 6.723 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3372, allocations: 0 / 337.5 MB, free: 6.723 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006648/0.3378, allocations: 143.9 kB / 337.7 MB, free: 6.582 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.3378, allocations: 4 kB / 337.7 MB, free: 6.578 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.3381, allocations: 31.98 kB / 337.7 MB, free: 6.547 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.3381, allocations: 12 kB / 337.7 MB, free: 6.535 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.0001665/0.3383, allocations: 149.7 kB / 337.8 MB, free: 6.379 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.396e-05/0.3384, allocations: 27.66 kB / 337.9 MB, free: 6.352 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.593e-05/0.3385, allocations: 37.52 kB / 337.9 MB, free: 6.312 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.3385, allocations: 4 kB / 337.9 MB, free: 6.309 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.3385, allocations: 4 kB / 337.9 MB, free: 6.305 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3385, allocations: 0 / 337.9 MB, free: 6.305 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.3407, allocations: 1.327 MB / 339.2 MB, free: 4.883 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3407, allocations: 4 kB / 339.2 MB, free: 4.879 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007821/0.3415, allocations: 172 kB / 339.4 MB, free: 4.711 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.3415, allocations: 4 kB / 339.4 MB, free: 4.707 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.3416, allocations: 15.88 kB / 339.4 MB, free: 4.691 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.3416, allocations: 7.984 kB / 339.4 MB, free: 4.684 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3416, allocations: 4 kB / 339.4 MB, free: 4.68 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.3434, allocations: 0.9597 MB / 340.4 MB, free: 3.684 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.3435, allocations: 124.8 kB / 340.5 MB, free: 3.543 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.523e-05/0.3436, allocations: 15.94 kB / 340.5 MB, free: 3.527 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004044/0.344, allocations: 47.94 kB / 340.6 MB, free: 3.48 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.3441, allocations: 31.95 kB / 340.6 MB, free: 3.449 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/0.3442, allocations: 19.98 kB / 340.6 MB, free: 3.43 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.3443, allocations: 152.6 kB / 340.8 MB, free: 3.281 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3443, allocations: 0 / 340.8 MB, free: 3.281 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004663/0.3448, allocations: 84 kB / 340.9 MB, free: 3.199 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.0001395/0.3449, allocations: 107.2 kB / 341 MB, free: 3.086 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0009716/0.3459, allocations: 355.8 kB / 341.3 MB, free: 2.738 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.3459, allocations: 4 kB / 341.3 MB, free: 2.734 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006253/0.3466, allocations: 260 kB / 341.6 MB, free: 2.48 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007782/0.3473, allocations: 65.41 kB / 341.6 MB, free: 2.418 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004666/0.352, allocations: 1.543 MB / 343.2 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.3524, allocations: 0.7646 MB / 344 MB, free: 32 kB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0002221/0.3526, allocations: 43 kB / 344 MB, free: 15.98 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.3528, allocations: 31.38 kB / 344 MB, free: 15.96 MB / 286.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3528, allocations: 3.938 kB / 344 MB, free: 15.95 MB / 286.1 MB Notification: Performance of Templates: time 0.007152/0.3599, allocations: 3.889 MB / 347.9 MB, free: 12.07 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (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)