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.001341/0.001341, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001422, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.584/1.584, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001225/0.001225, allocations: 56.39 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2473, allocations: 46.63 MB / 325.3 MB, free: 1.848 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003558/0.2509, allocations: 2.435 MB / 327.7 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.2522, allocations: 0.7717 MB / 328.5 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.2523, allocations: 8 kB / 328.5 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.2525, allocations: 47.89 kB / 328.6 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.2527, allocations: 102.8 kB / 328.7 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.2531, allocations: 126.1 kB / 328.8 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004885/0.2536, allocations: 469.2 kB / 329.3 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.2538, allocations: 82.7 kB / 329.3 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.254, allocations: 178.1 kB / 329.5 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002496/0.2543, allocations: 212.7 kB / 329.7 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.765e-05/0.2544, allocations: 37.91 kB / 329.8 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.424e-05/0.2544, allocations: 37.09 kB / 329.8 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.143e-05/0.2545, allocations: 86.61 kB / 329.9 MB, free: 14.4 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.2547, allocations: 173.9 kB / 330 MB, free: 14.28 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004197/0.2552, allocations: 410.1 kB / 330.4 MB, free: 13.98 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2552, allocations: 0 / 330.4 MB, free: 13.98 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2552, allocations: 0 / 330.4 MB, free: 13.98 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.2552, allocations: 4 kB / 330.4 MB, free: 13.98 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.001545/0.2567, allocations: 0.6809 MB / 331.1 MB, free: 13.41 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2568, allocations: 9.562 kB / 331.1 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.64e-05/0.2569, allocations: 34.44 kB / 331.2 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.2572, allocations: 271.4 kB / 331.4 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003822/0.2576, allocations: 134.5 kB / 331.6 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.283e-05/0.2577, allocations: 23.47 kB / 331.6 MB, free: 13.01 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008982/0.2586, allocations: 374.9 kB / 332 MB, free: 12.77 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.2586, allocations: 14.16 kB / 332 MB, free: 12.76 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.618e-05/0.2587, allocations: 10.41 kB / 332 MB, free: 12.75 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.2587, allocations: 10.86 kB / 332 MB, free: 12.75 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.2599, allocations: 389 kB / 332.4 MB, free: 12.57 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.2612, allocations: 0.9824 MB / 333.4 MB, free: 11.69 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.2623, allocations: 403.5 kB / 333.7 MB, free: 11.27 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006248/0.2629, allocations: 218.4 kB / 334 MB, free: 11.05 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.263, allocations: 4 kB / 334 MB, free: 11.04 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.263, allocations: 42.94 kB / 334 MB, free: 10.99 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 1.854e-06/0.263, allocations: 0 / 334 MB, free: 10.99 MB / 270.1 MB Notification: Performance of matching and sorting (n=38): time 0.00481/0.2678, allocations: 2.316 MB / 336.3 MB, free: 8.41 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/0.2679, allocations: 110.8 kB / 336.4 MB, free: 8.277 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.2681, allocations: 199.2 kB / 336.6 MB, free: 8.07 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/0.2682, allocations: 33.7 kB / 336.7 MB, free: 8.031 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.915e-05/0.2683, allocations: 156.5 kB / 336.8 MB, free: 7.875 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.2684, allocations: 126.1 kB / 336.9 MB, free: 7.75 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.2685, allocations: 86.02 kB / 337 MB, free: 7.66 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.2686, allocations: 339.7 kB / 337.3 MB, free: 7.32 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000333/0.269, allocations: 104.8 kB / 337.5 MB, free: 7.219 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/0.2693, allocations: 177.4 kB / 337.6 MB, free: 7.023 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006596/0.27, allocations: 285 kB / 337.9 MB, free: 6.727 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.27, allocations: 0 / 337.9 MB, free: 6.727 MB / 270.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008172/0.2708, allocations: 373 kB / 338.3 MB, free: 6.355 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.2709, allocations: 4 kB / 338.3 MB, free: 6.352 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2709, allocations: 4 kB / 338.3 MB, free: 6.348 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.2709, allocations: 4 kB / 338.3 MB, free: 6.344 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000723/0.2716, allocations: 147.8 kB / 338.4 MB, free: 6.199 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.2717, allocations: 3.938 kB / 338.4 MB, free: 6.195 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.2719, allocations: 35.97 kB / 338.5 MB, free: 6.16 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.2719, allocations: 12 kB / 338.5 MB, free: 6.148 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.0001314/0.272, allocations: 141.8 kB / 338.6 MB, free: 6 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.2722, allocations: 31.66 kB / 338.6 MB, free: 5.969 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.116e-05/0.2722, allocations: 33.52 kB / 338.7 MB, free: 5.934 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.2722, allocations: 4 kB / 338.7 MB, free: 5.93 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.2723, allocations: 0 / 338.7 MB, free: 5.93 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.2723, allocations: 8 kB / 338.7 MB, free: 5.922 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/0.2746, allocations: 1.327 MB / 340 MB, free: 4.5 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.2746, allocations: 7.938 kB / 340 MB, free: 4.492 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008599/0.2754, allocations: 168 kB / 340.2 MB, free: 4.328 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.2754, allocations: 4 kB / 340.2 MB, free: 4.324 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.2755, allocations: 15.92 kB / 340.2 MB, free: 4.309 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2755, allocations: 4 kB / 340.2 MB, free: 4.305 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2755, allocations: 4 kB / 340.2 MB, free: 4.301 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/0.2775, allocations: 0.9558 MB / 341.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.2776, allocations: 124.8 kB / 341.3 MB, free: 3.168 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.323e-05/0.2777, allocations: 15.94 kB / 341.3 MB, free: 3.152 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004177/0.2781, allocations: 51.94 kB / 341.4 MB, free: 3.102 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.793e-05/0.2782, allocations: 39.89 kB / 341.4 MB, free: 3.062 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.2783, allocations: 8 kB / 341.4 MB, free: 3.055 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.2784, allocations: 152.6 kB / 341.6 MB, free: 2.906 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2784, allocations: 0 / 341.6 MB, free: 2.906 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004333/0.2788, allocations: 84 kB / 341.6 MB, free: 2.824 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.0001254/0.279, allocations: 115.2 kB / 341.7 MB, free: 2.703 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.28, allocations: 384.5 kB / 342.1 MB, free: 2.328 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.28, allocations: 0 / 342.1 MB, free: 2.328 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007103/0.2807, allocations: 252 kB / 342.4 MB, free: 2.082 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007801/0.2815, allocations: 85.58 kB / 342.5 MB, free: 2.004 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005162/0.2867, allocations: 1.428 MB / 343.9 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.2871, allocations: 0.7721 MB / 344.7 MB, free: 15.73 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001781/0.2873, allocations: 34.97 kB / 344.7 MB, free: 15.69 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.2874, allocations: 35.42 kB / 344.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2874, allocations: 0 / 344.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of Templates: time 0.008006/0.2955, allocations: 4.278 MB / 349 MB, free: 11.38 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)