Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Mechanics.Rotational.Examples.Backlash") translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001099/0.0011, allocations: 101 kB / 16.5 MB, free: 6.688 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.001101/0.001101, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.513/1.513, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.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.001158/0.001158, allocations: 43.94 kB / 279.3 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09919/0.1004, allocations: 46.63 MB / 326 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003912/0.1043, allocations: 2.485 MB / 328.4 MB, free: 2.398 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1055, allocations: 0.7727 MB / 329.2 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.1057, allocations: 4 kB / 329.2 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.1058, allocations: 27.72 kB / 329.2 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.106, allocations: 95.3 kB / 329.3 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.1063, allocations: 111.9 kB / 329.4 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000351/0.1067, allocations: 438.2 kB / 329.9 MB, free: 0.957 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.1069, allocations: 81.31 kB / 330 MB, free: 0.875 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.1071, allocations: 163.4 kB / 330.1 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.1073, allocations: 187.3 kB / 330.3 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.048e-05/0.1073, allocations: 24 kB / 330.3 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.459e-05/0.1074, allocations: 24 kB / 330.3 MB, free: 496 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.878e-05/0.1075, allocations: 71.72 kB / 330.4 MB, free: 424 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.1076, allocations: 175.1 kB / 330.6 MB, free: 248 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.108, allocations: 383 kB / 331 MB, free: 15.87 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.108, allocations: 3.984 kB / 331 MB, free: 15.86 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.108, allocations: 0 / 331 MB, free: 15.86 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.719e-06/0.108, allocations: 0 / 331 MB, free: 15.86 MB / 286.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.001537/0.1096, allocations: 0.6784 MB / 331.6 MB, free: 15.14 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1096, allocations: 8.031 kB / 331.6 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.95e-05/0.1097, allocations: 36.56 kB / 331.7 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.1101, allocations: 279.5 kB / 332 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003885/0.1105, allocations: 132.2 kB / 332.1 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.348e-05/0.1106, allocations: 31.91 kB / 332.1 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008603/0.1114, allocations: 375.2 kB / 332.5 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.1115, allocations: 8 kB / 332.5 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.1115, allocations: 8 kB / 332.5 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.1115, allocations: 8 kB / 332.5 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.1126, allocations: 387.6 kB / 332.9 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.114, allocations: 0.9812 MB / 333.9 MB, free: 12.78 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000997/0.115, allocations: 399.6 kB / 334.3 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000582/0.1156, allocations: 222.4 kB / 334.5 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.1156, allocations: 7.984 kB / 334.5 MB, free: 12.13 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.1156, allocations: 38.55 kB / 334.5 MB, free: 12.08 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.543e-06/0.1157, allocations: 0 / 334.5 MB, free: 12.08 MB / 286.1 MB Notification: Performance of matching and sorting (n=38): time 0.004532/0.1202, allocations: 2.32 MB / 336.8 MB, free: 9.496 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.1203, allocations: 114.8 kB / 337 MB, free: 9.359 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.1205, allocations: 199.2 kB / 337.1 MB, free: 9.152 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.1205, allocations: 29.7 kB / 337.2 MB, free: 9.117 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.76e-05/0.1206, allocations: 152.6 kB / 337.3 MB, free: 8.965 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.1207, allocations: 138 kB / 337.5 MB, free: 8.828 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.1209, allocations: 78.11 kB / 337.5 MB, free: 8.746 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.121, allocations: 334.8 kB / 337.9 MB, free: 8.41 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/0.1213, allocations: 108.8 kB / 338 MB, free: 8.305 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.1217, allocations: 169.5 kB / 338.1 MB, free: 8.117 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006144/0.1223, allocations: 290.2 kB / 338.4 MB, free: 7.816 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1223, allocations: 0 / 338.4 MB, free: 7.816 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008099/0.1231, allocations: 375.9 kB / 338.8 MB, free: 7.445 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.1231, allocations: 4 kB / 338.8 MB, free: 7.441 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1232, allocations: 4 kB / 338.8 MB, free: 7.438 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.1232, allocations: 4 kB / 338.8 MB, free: 7.434 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006936/0.1239, allocations: 147.9 kB / 338.9 MB, free: 7.289 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.1239, allocations: 3.984 kB / 338.9 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.1242, allocations: 31.98 kB / 339 MB, free: 7.254 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.1242, allocations: 8 kB / 339 MB, free: 7.246 MB / 286.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.0001491/0.1243, allocations: 141.8 kB / 339.1 MB, free: 7.098 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.1244, allocations: 39.56 kB / 339.2 MB, free: 7.059 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.706e-05/0.1245, allocations: 33.45 kB / 339.2 MB, free: 7.023 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.1245, allocations: 4 kB / 339.2 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1245, allocations: 0 / 339.2 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.1246, allocations: 7.984 kB / 339.2 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/0.1268, allocations: 1.316 MB / 340.5 MB, free: 5.602 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.1268, allocations: 4 kB / 340.5 MB, free: 5.598 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007944/0.1276, allocations: 164 kB / 340.7 MB, free: 5.438 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.1276, allocations: 8 kB / 340.7 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.1276, allocations: 20.02 kB / 340.7 MB, free: 5.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1277, allocations: 7.938 kB / 340.7 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.1277, allocations: 7.938 kB / 340.7 MB, free: 5.395 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.1296, allocations: 0.9591 MB / 341.7 MB, free: 4.398 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.1297, allocations: 124.8 kB / 341.8 MB, free: 4.258 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.531e-05/0.1298, allocations: 15.92 kB / 341.8 MB, free: 4.242 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/0.1302, allocations: 47.95 kB / 341.9 MB, free: 4.195 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.1303, allocations: 39.94 kB / 341.9 MB, free: 4.156 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.1303, allocations: 12 kB / 341.9 MB, free: 4.145 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001228/0.1304, allocations: 148.6 kB / 342.1 MB, free: 4 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1304, allocations: 0 / 342.1 MB, free: 4 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004169/0.1309, allocations: 80 kB / 342.1 MB, free: 3.922 MB / 286.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.0001565/0.131, allocations: 115.1 kB / 342.3 MB, free: 3.801 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009688/0.132, allocations: 364.7 kB / 342.6 MB, free: 3.445 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.132, allocations: 0 / 342.6 MB, free: 3.445 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006361/0.1327, allocations: 252 kB / 342.9 MB, free: 3.199 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007484/0.1334, allocations: 68.98 kB / 342.9 MB, free: 3.133 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004849/0.1383, allocations: 1.535 MB / 344.5 MB, free: 1.547 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.1387, allocations: 0.7685 MB / 345.2 MB, free: 0.75 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001804/0.1389, allocations: 46.94 kB / 345.3 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.139, allocations: 39.36 kB / 345.3 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.139, allocations: 0 / 345.3 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of Templates: time 0.008364/0.1474, allocations: 3.874 MB / 349.2 MB, free: 12.79 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1)