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.001495/0.001495, allocations: 104.8 kB / 17.05 MB, free: 6.027 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.0011/0.0011, allocations: 196 kB / 18 MB, free: 5.105 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.471/1.471, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001425/0.001425, allocations: 48.22 kB / 327.8 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1292, allocations: 46.63 MB / 374.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004026/0.1333, allocations: 2.443 MB / 376.9 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.1349, allocations: 0.7763 MB / 377.7 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.1351, allocations: 7.938 kB / 377.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.1353, allocations: 43.58 kB / 377.7 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.1356, allocations: 99.11 kB / 377.8 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004707/0.1361, allocations: 127.8 kB / 378 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005392/0.1366, allocations: 466.2 kB / 378.4 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.1369, allocations: 96.84 kB / 378.5 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.1371, allocations: 179.5 kB / 378.7 MB, free: 352 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.1374, allocations: 215.2 kB / 378.9 MB, free: 136 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.792e-05/0.1375, allocations: 36 kB / 378.9 MB, free: 100 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.174e-05/0.1375, allocations: 36 kB / 379 MB, free: 64 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2599/0.3975, allocations: 82.69 kB / 379.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003598/0.3979, allocations: 174.2 kB / 379.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006705/0.3986, allocations: 414.2 kB / 379.6 MB, free: 10.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.3986, allocations: 0 / 379.6 MB, free: 10.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.3986, allocations: 0.5625 kB / 379.6 MB, free: 10.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.3986, allocations: 1.094 kB / 379.6 MB, free: 10.18 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.001667/0.4003, allocations: 0.6802 MB / 380.3 MB, free: 9.746 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.4003, allocations: 9.625 kB / 380.3 MB, free: 9.746 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.4005, allocations: 37.97 kB / 380.4 MB, free: 9.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005321/0.401, allocations: 279 kB / 380.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.4011, allocations: 83.58 kB / 380.7 MB, free: 9.441 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.878e-05/0.4012, allocations: 27.39 kB / 380.7 MB, free: 9.441 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.4023, allocations: 385.6 kB / 381.1 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.4023, allocations: 5.312 kB / 381.1 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.701e-05/0.4023, allocations: 9.812 kB / 381.1 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.4024, allocations: 6.156 kB / 381.1 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.4038, allocations: 392.3 kB / 381.5 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.4054, allocations: 0.9615 MB / 382.5 MB, free: 8.883 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.4065, allocations: 403.9 kB / 382.9 MB, free: 8.809 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006825/0.4072, allocations: 216.2 kB / 383.1 MB, free: 8.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.4073, allocations: 6.922 kB / 383.1 MB, free: 8.781 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.4073, allocations: 40.77 kB / 383.1 MB, free: 8.742 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.274e-06/0.4073, allocations: 0 / 383.1 MB, free: 8.742 MB / 318.1 MB Notification: Performance of matching and sorting (n=38): time 0.005102/0.4124, allocations: 2.313 MB / 385.4 MB, free: 7.398 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/0.4125, allocations: 114.8 kB / 385.6 MB, free: 7.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.4128, allocations: 203.8 kB / 385.8 MB, free: 7.168 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.4129, allocations: 32.95 kB / 385.8 MB, free: 7.137 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.413, allocations: 154.8 kB / 385.9 MB, free: 7.008 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.4132, allocations: 133.3 kB / 386.1 MB, free: 6.906 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.4134, allocations: 75.67 kB / 386.1 MB, free: 6.863 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4135, allocations: 338 kB / 386.5 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003527/0.4138, allocations: 112 kB / 386.6 MB, free: 6.504 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/0.4142, allocations: 164.8 kB / 386.7 MB, free: 6.418 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007176/0.4149, allocations: 293.7 kB / 387 MB, free: 6.273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.415, allocations: 0 / 387 MB, free: 6.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009261/0.4159, allocations: 375.7 kB / 387.4 MB, free: 6.129 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.4159, allocations: 8.781 kB / 387.4 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.4159, allocations: 5.812 kB / 387.4 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/0.416, allocations: 4.094 kB / 387.4 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007592/0.4167, allocations: 144.8 kB / 387.6 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.4168, allocations: 5.359 kB / 387.6 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.4171, allocations: 26.8 kB / 387.6 MB, free: 6.109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.4171, allocations: 16.88 kB / 387.6 MB, free: 6.102 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.0001784/0.4173, allocations: 149.3 kB / 387.7 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.4174, allocations: 25.45 kB / 387.8 MB, free: 5.953 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.814e-05/0.4175, allocations: 37.69 kB / 387.8 MB, free: 5.918 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.4175, allocations: 5.375 kB / 387.8 MB, free: 5.918 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/0.4175, allocations: 1.531 kB / 387.8 MB, free: 5.918 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.4175, allocations: 2.781 kB / 387.8 MB, free: 5.918 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003034/0.4206, allocations: 1.337 MB / 389.2 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.4206, allocations: 2.5 kB / 389.2 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.4217, allocations: 168.3 kB / 389.3 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-05/0.4217, allocations: 8.531 kB / 389.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.554e-05/0.4218, allocations: 11.31 kB / 389.3 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.2e-05/0.4218, allocations: 8.188 kB / 389.3 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/0.4218, allocations: 9.688 kB / 389.4 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002499/0.4243, allocations: 0.9436 MB / 390.3 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002579/0.4246, allocations: 131.2 kB / 390.4 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.59e-05/0.4246, allocations: 13.31 kB / 390.4 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004472/0.4251, allocations: 50.3 kB / 390.5 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.4253, allocations: 37.56 kB / 390.5 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.304e-05/0.4253, allocations: 15.39 kB / 390.5 MB, free: 4.387 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002016/0.4255, allocations: 146.4 kB / 390.7 MB, free: 4.293 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4255, allocations: 5.125 kB / 390.7 MB, free: 4.289 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006373/0.4262, allocations: 82.5 kB / 390.8 MB, free: 4.277 MB / 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.0002127/0.4264, allocations: 118.8 kB / 390.9 MB, free: 4.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.4277, allocations: 361.1 kB / 391.2 MB, free: 4.102 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.4277, allocations: 0 / 391.2 MB, free: 4.102 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007041/0.4284, allocations: 263.9 kB / 391.5 MB, free: 4.035 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007668/0.4292, allocations: 72.36 kB / 391.6 MB, free: 4.008 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005637/0.4348, allocations: 1.43 MB / 393 MB, free: 3.359 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.4353, allocations: 0.7688 MB / 393.8 MB, free: 2.652 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003159/0.4356, allocations: 38.92 kB / 393.8 MB, free: 2.645 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.4358, allocations: 31.48 kB / 393.8 MB, free: 2.641 MB / 318.1 MB Notification: Performance of SimCode: time 2.124e-06/0.4358, allocations: 1.125 kB / 393.8 MB, free: 2.641 MB / 318.1 MB Notification: Performance of Templates: time 0.01244/0.4482, allocations: 4.481 MB / 398.3 MB, free: 1.594 MB / 318.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)