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.001109/0.001108, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.00113/0.00113, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0004577/0.0004579, allocations: 8 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2909, allocations: 47.59 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003063/0.2941, allocations: 2.046 MB / 328.5 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.2959, allocations: 0.7309 MB / 329.2 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004097/0.2963, allocations: 3.531 kB / 329.2 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.2966, allocations: 36.61 kB / 329.3 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004998/0.2971, allocations: 94.94 kB / 329.4 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006035/0.2977, allocations: 93.42 kB / 329.5 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006807/0.2984, allocations: 418.2 kB / 329.9 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002575/0.2987, allocations: 66.2 kB / 329.9 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003958/0.2991, allocations: 159.4 kB / 330.1 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004176/0.2995, allocations: 184.6 kB / 330.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.869e-05/0.2996, allocations: 20 kB / 330.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.2998, allocations: 23.59 kB / 330.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.603e-05/0.2999, allocations: 69.97 kB / 330.4 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.3, allocations: 80.83 kB / 330.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004045/0.3004, allocations: 287.9 kB / 330.7 MB, free: 14.17 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.3005, allocations: 0 / 330.7 MB, free: 14.17 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3005, allocations: 0 / 330.7 MB, free: 14.17 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.027e-05/0.3005, allocations: 1.281 kB / 330.7 MB, free: 14.17 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.001834/0.3023, allocations: 0.6738 MB / 331.4 MB, free: 13.64 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.3024, allocations: 8.5 kB / 331.4 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.3025, allocations: 33.66 kB / 331.5 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/0.303, allocations: 269.6 kB / 331.7 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004038/0.3034, allocations: 132.5 kB / 331.9 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.797e-05/0.3035, allocations: 28.75 kB / 331.9 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.3047, allocations: 415.2 kB / 332.3 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.3047, allocations: 2.281 kB / 332.3 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.3048, allocations: 10.03 kB / 332.3 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.3048, allocations: 11.02 kB / 332.3 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.3061, allocations: 457.7 kB / 332.8 MB, free: 12.8 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.3077, allocations: 0.9842 MB / 333.7 MB, free: 11.94 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.3088, allocations: 456 kB / 334.2 MB, free: 11.57 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006108/0.3095, allocations: 254.4 kB / 334.4 MB, free: 11.31 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.3095, allocations: 8.422 kB / 334.4 MB, free: 11.3 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.3096, allocations: 42.5 kB / 334.5 MB, free: 11.25 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 2.104e-06/0.3096, allocations: 0 / 334.5 MB, free: 11.25 MB / 270.1 MB Notification: Performance of matching and sorting (n=38): time 0.004939/0.3145, allocations: 2.507 MB / 337 MB, free: 8.477 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/0.3146, allocations: 110.8 kB / 337.1 MB, free: 8.344 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.3148, allocations: 207.2 kB / 337.3 MB, free: 8.129 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.3149, allocations: 33.7 kB / 337.3 MB, free: 8.09 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.315, allocations: 148.6 kB / 337.5 MB, free: 7.941 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.3151, allocations: 138 kB / 337.6 MB, free: 7.805 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.193e-05/0.3151, allocations: 4 kB / 337.6 MB, free: 7.801 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3153, allocations: 338.8 kB / 338 MB, free: 7.461 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/0.3156, allocations: 116.8 kB / 338.1 MB, free: 7.348 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.3159, allocations: 165.5 kB / 338.2 MB, free: 7.164 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.3163, allocations: 131.8 kB / 338.4 MB, free: 7.035 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3163, allocations: 0 / 338.4 MB, free: 7.035 MB / 270.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007624/0.317, allocations: 381.3 kB / 338.7 MB, free: 6.656 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3171, allocations: 4 kB / 338.7 MB, free: 6.652 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.3171, allocations: 3.953 kB / 338.7 MB, free: 6.648 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3171, allocations: 4 kB / 338.7 MB, free: 6.645 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006675/0.3178, allocations: 172.8 kB / 338.9 MB, free: 6.477 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.3178, allocations: 7.984 kB / 338.9 MB, free: 6.469 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.3181, allocations: 31.98 kB / 338.9 MB, free: 6.438 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.3181, allocations: 8 kB / 339 MB, free: 6.43 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.0001877/0.3183, allocations: 149.7 kB / 339.1 MB, free: 6.273 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.3184, allocations: 27.72 kB / 339.1 MB, free: 6.246 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.82e-05/0.3185, allocations: 29.52 kB / 339.2 MB, free: 6.215 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.3185, allocations: 7.953 kB / 339.2 MB, free: 6.207 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.3185, allocations: 4 kB / 339.2 MB, free: 6.203 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.3185, allocations: 7.984 kB / 339.2 MB, free: 6.195 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/0.3211, allocations: 1.389 MB / 340.6 MB, free: 4.711 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.3211, allocations: 3.938 kB / 340.6 MB, free: 4.707 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008105/0.3219, allocations: 204 kB / 340.8 MB, free: 4.508 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.3219, allocations: 4 kB / 340.8 MB, free: 4.504 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/0.322, allocations: 15.98 kB / 340.8 MB, free: 4.488 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.276e-06/0.322, allocations: 7.938 kB / 340.8 MB, free: 4.48 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.322, allocations: 7.953 kB / 340.8 MB, free: 4.473 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/0.324, allocations: 1.054 MB / 341.9 MB, free: 3.383 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.3242, allocations: 124.8 kB / 342 MB, free: 3.242 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.807e-05/0.3243, allocations: 11.98 kB / 342 MB, free: 3.23 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004029/0.3247, allocations: 63.95 kB / 342.1 MB, free: 3.168 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.3248, allocations: 39.89 kB / 342.1 MB, free: 3.129 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.3248, allocations: 20 kB / 342.1 MB, free: 3.109 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001446/0.325, allocations: 148.6 kB / 342.3 MB, free: 2.965 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.325, allocations: 4 kB / 342.3 MB, free: 2.961 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005135/0.3255, allocations: 79.94 kB / 342.3 MB, free: 2.883 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.0001443/0.3257, allocations: 107.2 kB / 342.4 MB, free: 2.77 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.3267, allocations: 403.7 kB / 342.8 MB, free: 2.375 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3267, allocations: 0 / 342.8 MB, free: 2.375 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006761/0.3274, allocations: 276.2 kB / 343.1 MB, free: 2.105 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007347/0.3282, allocations: 73 kB / 343.2 MB, free: 2.031 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004895/0.3331, allocations: 1.757 MB / 344.9 MB, free: 232 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.3335, allocations: 0.7646 MB / 345.7 MB, free: 15.43 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002356/0.3338, allocations: 42.91 kB / 345.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.3339, allocations: 31.42 kB / 345.8 MB, free: 15.36 MB / 286.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3339, allocations: 4 kB / 345.8 MB, free: 15.36 MB / 286.1 MB Notification: Performance of Templates: time 0.008884/0.3428, allocations: 3.704 MB / 349.5 MB, free: 11.66 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)