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.00101/0.00101, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001007/0.001008, allocations: 177.3 kB / 15.95 MB, free: 216 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.645/1.645, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0004796/0.0004797, allocations: 12 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2767, allocations: 47.59 MB / 326.4 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002117/0.2789, allocations: 1.919 MB / 328.4 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.2801, allocations: 0.7483 MB / 329.1 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.2802, allocations: 3.312 kB / 329.1 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.674e-05/0.2803, allocations: 39.45 kB / 329.2 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.2806, allocations: 120.3 kB / 329.3 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.2808, allocations: 93.34 kB / 329.4 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003568/0.2812, allocations: 292.7 kB / 329.6 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.2814, allocations: 56.92 kB / 329.7 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.2816, allocations: 163.9 kB / 329.9 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.2818, allocations: 180.4 kB / 330 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.932e-05/0.2819, allocations: 27.89 kB / 330.1 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.039e-05/0.2819, allocations: 24.47 kB / 330.1 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.682e-05/0.282, allocations: 66.83 kB / 330.2 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.46e-05/0.2821, allocations: 79.27 kB / 330.2 MB, free: 14.56 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.2824, allocations: 290.3 kB / 330.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2824, allocations: 0 / 330.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2824, allocations: 0 / 330.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.2824, allocations: 1.25 kB / 330.5 MB, free: 14.34 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.001508/0.2839, allocations: 0.6733 MB / 331.2 MB, free: 13.81 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.284, allocations: 9.531 kB / 331.2 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.2841, allocations: 33.31 kB / 331.2 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/0.2844, allocations: 261.8 kB / 331.5 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003925/0.2849, allocations: 135.5 kB / 331.6 MB, free: 13.43 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.276e-05/0.2849, allocations: 29.59 kB / 331.6 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.286, allocations: 417.1 kB / 332.1 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.286, allocations: 2.188 kB / 332.1 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.764e-05/0.286, allocations: 13.95 kB / 332.1 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.2861, allocations: 6.969 kB / 332.1 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.2874, allocations: 457 kB / 332.5 MB, free: 12.97 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.2887, allocations: 0.9768 MB / 333.5 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.2899, allocations: 463.2 kB / 334 MB, free: 11.8 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.2899, allocations: 7.984 kB / 334 MB, free: 11.8 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.2899, allocations: 38.56 kB / 334 MB, free: 11.75 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 1.864e-06/0.2899, allocations: 0 / 334 MB, free: 11.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=38): time 0.004895/0.2948, allocations: 2.524 MB / 336.5 MB, free: 8.961 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.151e-05/0.2949, allocations: 106.8 kB / 336.6 MB, free: 8.832 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.2952, allocations: 199.2 kB / 336.8 MB, free: 8.625 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.2952, allocations: 29.7 kB / 336.9 MB, free: 8.59 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.2953, allocations: 152.6 kB / 337 MB, free: 8.438 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.255e-05/0.2954, allocations: 134 kB / 337.1 MB, free: 8.305 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/0.2954, allocations: 12 kB / 337.1 MB, free: 8.293 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.2956, allocations: 342.8 kB / 337.5 MB, free: 7.949 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.2959, allocations: 108.8 kB / 337.6 MB, free: 7.844 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.2962, allocations: 169.5 kB / 337.8 MB, free: 7.656 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.2965, allocations: 135.8 kB / 337.9 MB, free: 7.523 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2965, allocations: 0 / 337.9 MB, free: 7.523 MB / 270.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007438/0.2973, allocations: 373 kB / 338.2 MB, free: 7.152 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.2973, allocations: 8.094 kB / 338.3 MB, free: 7.145 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.2973, allocations: 7.984 kB / 338.3 MB, free: 7.137 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.2974, allocations: 3.953 kB / 338.3 MB, free: 7.133 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006986/0.2981, allocations: 167.8 kB / 338.4 MB, free: 6.969 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.2981, allocations: 4 kB / 338.4 MB, free: 6.965 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.2983, allocations: 28.92 kB / 338.5 MB, free: 6.938 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.2983, allocations: 12 kB / 338.5 MB, free: 6.926 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.0001371/0.2985, allocations: 141.8 kB / 338.6 MB, free: 6.777 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.397e-05/0.2986, allocations: 31.7 kB / 338.6 MB, free: 6.746 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.169e-05/0.2986, allocations: 41.45 kB / 338.7 MB, free: 6.703 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.2986, allocations: 7.953 kB / 338.7 MB, free: 6.695 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.2987, allocations: 4 kB / 338.7 MB, free: 6.691 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2987, allocations: 3.984 kB / 338.7 MB, free: 6.688 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.301, allocations: 1.389 MB / 340.1 MB, free: 5.203 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.301, allocations: 4 kB / 340.1 MB, free: 5.199 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008543/0.3018, allocations: 204 kB / 340.3 MB, free: 5 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.3019, allocations: 4 kB / 340.3 MB, free: 4.996 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.3019, allocations: 11.98 kB / 340.3 MB, free: 4.984 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3019, allocations: 8 kB / 340.3 MB, free: 4.977 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.3019, allocations: 11.89 kB / 340.3 MB, free: 4.965 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.304, allocations: 1.145 MB / 341.5 MB, free: 3.734 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.3042, allocations: 136.8 kB / 341.6 MB, free: 3.582 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.103e-05/0.3042, allocations: 8 kB / 341.6 MB, free: 3.574 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004294/0.3047, allocations: 59.95 kB / 341.7 MB, free: 3.516 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.3048, allocations: 39.94 kB / 341.7 MB, free: 3.477 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.3048, allocations: 19.98 kB / 341.7 MB, free: 3.457 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.305, allocations: 148.6 kB / 341.9 MB, free: 3.312 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.305, allocations: 0 / 341.9 MB, free: 3.312 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004489/0.3054, allocations: 84 kB / 342 MB, free: 3.23 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.0001695/0.3056, allocations: 103.2 kB / 342.1 MB, free: 3.121 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.3067, allocations: 408 kB / 342.5 MB, free: 2.723 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3067, allocations: 0 / 342.5 MB, free: 2.723 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007175/0.3074, allocations: 280 kB / 342.7 MB, free: 2.449 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005803/0.308, allocations: 56.88 kB / 342.8 MB, free: 2.391 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005199/0.3132, allocations: 1.753 MB / 344.5 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.3136, allocations: 0.7763 MB / 345.3 MB, free: 15.79 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002051/0.3138, allocations: 38.95 kB / 345.4 MB, free: 15.75 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.314, allocations: 39.42 kB / 345.4 MB, free: 15.71 MB / 286.1 MB Notification: Performance of SimCode: time 1.092e-06/0.314, allocations: 0 / 345.4 MB, free: 15.71 MB / 286.1 MB Notification: Performance of Templates: time 0.007523/0.3215, allocations: 3.689 MB / 349.1 MB, free: 12.02 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Backlash.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: