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.007969/0.007969, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.001701/0.001701, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.52/1.52, allocations: 205.1 MB / 222.6 MB, free: 4.387 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.001162/0.001162, allocations: 46.19 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09997/0.1011, allocations: 46.62 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003642/0.1048, allocations: 2.432 MB / 375.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1062, allocations: 0.7802 MB / 376.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.1064, allocations: 7.938 kB / 376.4 MB, free: 14.06 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.1066, allocations: 35.59 kB / 376.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.1068, allocations: 107.1 kB / 376.5 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.1071, allocations: 127.8 kB / 376.6 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004319/0.1076, allocations: 470.2 kB / 377.1 MB, free: 13.33 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.1078, allocations: 84.84 kB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.108, allocations: 191.4 kB / 377.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.1083, allocations: 207.2 kB / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.062e-05/0.1084, allocations: 44 kB / 377.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.719e-05/0.1084, allocations: 36 kB / 377.7 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.198e-05/0.1085, allocations: 87.72 kB / 377.7 MB, free: 12.69 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.1087, allocations: 175.3 kB / 377.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004413/0.1091, allocations: 414.6 kB / 378.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1092, allocations: 0 / 378.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1092, allocations: 0 / 378.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1092, allocations: 0 / 378.3 MB, free: 12.11 MB / 318.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.001544/0.1107, allocations: 0.6783 MB / 379 MB, free: 11.39 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.1108, allocations: 8.031 kB / 379 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.068e-05/0.1109, allocations: 36.55 kB / 379 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.1113, allocations: 283.4 kB / 379.3 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.1114, allocations: 88.27 kB / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.238e-05/0.1115, allocations: 24 kB / 379.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008978/0.1124, allocations: 375.2 kB / 379.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.1124, allocations: 11.84 kB / 379.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.1125, allocations: 16 kB / 379.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.1125, allocations: 11.98 kB / 379.8 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.1137, allocations: 387.5 kB / 380.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.115, allocations: 0.9625 MB / 381.2 MB, free: 9.086 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.116, allocations: 403.5 kB / 381.6 MB, free: 8.664 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005972/0.1166, allocations: 214.4 kB / 381.8 MB, free: 8.445 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.1166, allocations: 7.984 kB / 381.8 MB, free: 8.438 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.1167, allocations: 46.5 kB / 381.8 MB, free: 8.383 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.774e-06/0.1167, allocations: 0 / 381.8 MB, free: 8.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=38): time 0.00487/0.1216, allocations: 2.309 MB / 384.1 MB, free: 5.809 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.003e-05/0.1216, allocations: 110.8 kB / 384.2 MB, free: 5.676 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.1219, allocations: 199.5 kB / 384.4 MB, free: 5.473 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.1219, allocations: 37.7 kB / 384.5 MB, free: 5.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.1221, allocations: 144.7 kB / 384.6 MB, free: 5.281 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.1222, allocations: 137.9 kB / 384.8 MB, free: 5.145 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.1223, allocations: 78.06 kB / 384.8 MB, free: 5.059 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.1225, allocations: 338.8 kB / 385.2 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.1228, allocations: 116.8 kB / 385.3 MB, free: 4.605 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/0.1231, allocations: 161.5 kB / 385.4 MB, free: 4.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006197/0.1238, allocations: 292.9 kB / 385.7 MB, free: 4.125 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1238, allocations: 0 / 385.7 MB, free: 4.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007881/0.1246, allocations: 369.2 kB / 386.1 MB, free: 3.758 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.1246, allocations: 9.094 kB / 386.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.1246, allocations: 0 / 386.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.961e-05/0.1247, allocations: 12.03 kB / 386.1 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006907/0.1254, allocations: 143.8 kB / 386.2 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.1254, allocations: 11.94 kB / 386.3 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.1256, allocations: 23.98 kB / 386.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.1256, allocations: 12 kB / 386.3 MB, free: 3.551 MB / 318.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.0002983/0.1259, allocations: 149.7 kB / 386.4 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-05/0.126, allocations: 35.64 kB / 386.5 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.458e-05/0.1261, allocations: 25.53 kB / 386.5 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1261, allocations: 4 kB / 386.5 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.1261, allocations: 4 kB / 386.5 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1261, allocations: 3.984 kB / 386.5 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/0.1285, allocations: 1.33 MB / 387.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1285, allocations: 0 / 387.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008196/0.1294, allocations: 175.9 kB / 388 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/0.1294, allocations: 7.984 kB / 388 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.1294, allocations: 11.94 kB / 388 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.1294, allocations: 4 kB / 388 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.1294, allocations: 4 kB / 388 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.1315, allocations: 0.9516 MB / 389 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.1316, allocations: 128.8 kB / 389.1 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.766e-05/0.1317, allocations: 16.06 kB / 389.1 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004302/0.1321, allocations: 47.95 kB / 389.2 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.1322, allocations: 43.88 kB / 389.2 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.1323, allocations: 12 kB / 389.2 MB, free: 460 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.1324, allocations: 148.6 kB / 389.4 MB, free: 312 kB / 318.1 MB Notification: Performance of sort global known variables: time 2.204e-06/0.1324, allocations: 96 / 389.4 MB, free: 312 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004598/0.1329, allocations: 91.88 kB / 389.5 MB, free: 220 kB / 318.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.0001744/0.1331, allocations: 111.2 kB / 389.6 MB, free: 96 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.1341, allocations: 376.4 kB / 389.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1342, allocations: 0 / 389.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006784/0.1348, allocations: 248 kB / 390.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007091/0.1356, allocations: 81.81 kB / 390.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00492/0.1405, allocations: 1.428 MB / 391.7 MB, free: 13.92 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.1409, allocations: 0.7682 MB / 392.5 MB, free: 13.13 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001863/0.1411, allocations: 38.95 kB / 392.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.1412, allocations: 43.42 kB / 392.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1412, allocations: 0 / 392.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of Templates: time 0.00921/0.1505, allocations: 4.327 MB / 396.9 MB, free: 8.711 MB / 334.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)