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.0008626/0.0008625, allocations: 90.75 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.001337/0.001337, 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.576/1.576, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.000439/0.000439, allocations: 12 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2287, allocations: 47.59 MB / 326.5 MB, free: 1.613 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002038/0.2308, allocations: 2.041 MB / 328.5 MB, free: 0 / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.2322, allocations: 0.7346 MB / 329.2 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.2323, allocations: 8.312 kB / 329.3 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.2324, allocations: 31.98 kB / 329.3 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.2326, allocations: 90.73 kB / 329.4 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.2329, allocations: 98.72 kB / 329.5 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004349/0.2334, allocations: 409.8 kB / 329.9 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.2336, allocations: 65.52 kB / 329.9 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002267/0.2338, allocations: 164.2 kB / 330.1 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.234, allocations: 180.7 kB / 330.3 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.565e-05/0.2341, allocations: 19.28 kB / 330.3 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.724e-05/0.2342, allocations: 24.59 kB / 330.3 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.2342, allocations: 66.16 kB / 330.4 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.785e-05/0.2343, allocations: 84.36 kB / 330.5 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.2346, allocations: 287 kB / 330.7 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2346, allocations: 1.25 kB / 330.7 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2346, allocations: 0 / 330.7 MB, free: 14.4 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.2346, allocations: 0 / 330.7 MB, free: 14.4 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.001451/0.2361, allocations: 0.6785 MB / 331.4 MB, free: 13.86 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.2361, allocations: 8.469 kB / 331.4 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.307e-05/0.2362, allocations: 34.38 kB / 331.5 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.2366, allocations: 260.8 kB / 331.7 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003501/0.237, allocations: 135.8 kB / 331.9 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.065e-05/0.237, allocations: 29.12 kB / 331.9 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000942/0.238, allocations: 416.3 kB / 332.3 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.238, allocations: 1 kB / 332.3 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.932e-05/0.2381, allocations: 15.11 kB / 332.3 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-06/0.2381, allocations: 6.062 kB / 332.3 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.2393, allocations: 457.6 kB / 332.8 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.2407, allocations: 0.9812 MB / 333.7 MB, free: 12.17 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.2418, allocations: 462 kB / 334.2 MB, free: 11.71 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000603/0.2424, allocations: 246.4 kB / 334.4 MB, free: 11.46 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.2424, allocations: 4.438 kB / 334.4 MB, free: 11.46 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.2425, allocations: 50.5 kB / 334.5 MB, free: 11.4 MB / 270.1 MB Notification: Performance of pre-optimization done (n=32): time 2.635e-06/0.2425, allocations: 0 / 334.5 MB, free: 11.4 MB / 270.1 MB Notification: Performance of matching and sorting (n=38): time 0.004902/0.2474, allocations: 2.516 MB / 337 MB, free: 8.621 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.963e-05/0.2475, allocations: 114.8 kB / 337.1 MB, free: 8.484 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.2477, allocations: 203.2 kB / 337.3 MB, free: 8.273 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.2477, allocations: 29.7 kB / 337.3 MB, free: 8.238 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.2479, allocations: 144.7 kB / 337.5 MB, free: 8.094 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.248, allocations: 137.9 kB / 337.6 MB, free: 7.957 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.248, allocations: 8 kB / 337.6 MB, free: 7.949 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.2482, allocations: 338.8 kB / 338 MB, free: 7.609 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.2485, allocations: 116.8 kB / 338.1 MB, free: 7.496 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.2488, allocations: 173.4 kB / 338.2 MB, free: 7.305 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/0.2492, allocations: 123.9 kB / 338.4 MB, free: 7.184 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2492, allocations: 4 kB / 338.4 MB, free: 7.18 MB / 270.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007417/0.2499, allocations: 373 kB / 338.7 MB, free: 6.809 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2499, allocations: 4 kB / 338.7 MB, free: 6.805 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.25, allocations: 7.953 kB / 338.7 MB, free: 6.797 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.25, allocations: 5.031 kB / 338.7 MB, free: 6.793 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006726/0.2507, allocations: 171.8 kB / 338.9 MB, free: 6.625 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.2507, allocations: 3.984 kB / 338.9 MB, free: 6.621 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.2509, allocations: 31.98 kB / 338.9 MB, free: 6.59 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.2509, allocations: 12 kB / 339 MB, free: 6.578 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.0001706/0.2511, allocations: 145.7 kB / 339.1 MB, free: 6.426 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.183e-05/0.2512, allocations: 27.72 kB / 339.1 MB, free: 6.398 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.491e-05/0.2513, allocations: 33.52 kB / 339.2 MB, free: 6.363 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.2513, allocations: 7.953 kB / 339.2 MB, free: 6.355 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.2513, allocations: 4 kB / 339.2 MB, free: 6.352 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.2513, allocations: 7.922 kB / 339.2 MB, free: 6.344 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.2536, allocations: 1.385 MB / 340.6 MB, free: 4.863 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.2536, allocations: 11.92 kB / 340.6 MB, free: 4.852 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008017/0.2544, allocations: 196 kB / 340.8 MB, free: 4.66 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.444e-05/0.2544, allocations: 4 kB / 340.8 MB, free: 4.656 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.641e-05/0.2545, allocations: 19.98 kB / 340.8 MB, free: 4.637 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.2545, allocations: 7.938 kB / 340.8 MB, free: 4.629 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.2545, allocations: 3.953 kB / 340.8 MB, free: 4.625 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/0.2564, allocations: 1.054 MB / 341.9 MB, free: 3.535 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.2566, allocations: 124.8 kB / 342 MB, free: 3.395 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/0.2566, allocations: 11.98 kB / 342 MB, free: 3.383 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004054/0.257, allocations: 63.95 kB / 342.1 MB, free: 3.32 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.885e-05/0.2572, allocations: 39.89 kB / 342.1 MB, free: 3.281 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.365e-05/0.2572, allocations: 20 kB / 342.1 MB, free: 3.262 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.2573, allocations: 156.5 kB / 342.3 MB, free: 3.109 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2573, allocations: 0 / 342.3 MB, free: 3.109 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004485/0.2578, allocations: 80 kB / 342.3 MB, free: 3.031 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.0001149/0.2579, allocations: 107.2 kB / 342.4 MB, free: 2.918 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0009383/0.2589, allocations: 395.8 kB / 342.8 MB, free: 2.531 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2589, allocations: 0 / 342.8 MB, free: 2.531 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006805/0.2596, allocations: 280 kB / 343.1 MB, free: 2.258 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007002/0.2603, allocations: 77.75 kB / 343.2 MB, free: 2.18 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004844/0.2651, allocations: 1.749 MB / 344.9 MB, free: 392 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.2655, allocations: 0.7685 MB / 345.7 MB, free: 15.59 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001784/0.2657, allocations: 42.89 kB / 345.7 MB, free: 15.54 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.2658, allocations: 31.42 kB / 345.8 MB, free: 15.51 MB / 286.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2658, allocations: 4 kB / 345.8 MB, free: 15.51 MB / 286.1 MB Notification: Performance of Templates: time 0.006956/0.2728, allocations: 3.704 MB / 349.5 MB, free: 11.81 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)