Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Mechanics.Rotational.Examples.Backlash") translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.00591/0.00591, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001162/0.001162, allocations: 193.2 kB / 16.67 MB, free: 5.938 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.494/1.494, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.001333/0.001334, allocations: 51.11 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1218, allocations: 46.63 MB / 373.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004629/0.1265, allocations: 2.425 MB / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.1282, allocations: 0.7841 MB / 376.4 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.1283, allocations: 7.938 kB / 376.4 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.1285, allocations: 39.58 kB / 376.4 MB, free: 14.06 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.1288, allocations: 107.1 kB / 376.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000384/0.1292, allocations: 127.8 kB / 376.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004749/0.1297, allocations: 470.2 kB / 377.1 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.1299, allocations: 88.91 kB / 377.2 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002406/0.1301, allocations: 183.4 kB / 377.4 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.1304, allocations: 203.2 kB / 377.6 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.308e-05/0.1305, allocations: 36 kB / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.652e-05/0.1305, allocations: 44 kB / 377.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.1307, allocations: 87.72 kB / 377.7 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002086/0.1309, allocations: 179.3 kB / 377.9 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005582/0.1314, allocations: 414.4 kB / 378.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.1315, allocations: 4 kB / 378.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1315, allocations: 0 / 378.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.1315, allocations: 0 / 378.3 MB, free: 12.15 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.001847/0.1333, allocations: 0.6936 MB / 379 MB, free: 11.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.1334, allocations: 12.03 kB / 379 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.1335, allocations: 32.75 kB / 379.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005468/0.1341, allocations: 275.6 kB / 379.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.1342, allocations: 84.27 kB / 379.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.692e-05/0.1343, allocations: 35.95 kB / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009584/0.1353, allocations: 375.2 kB / 379.8 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.1353, allocations: 3.938 kB / 379.8 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.06e-05/0.1354, allocations: 12 kB / 379.8 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.1354, allocations: 4 kB / 379.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.1366, allocations: 403.5 kB / 380.2 MB, free: 10.13 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.138, allocations: 0.9394 MB / 381.2 MB, free: 9.133 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.139, allocations: 415.5 kB / 381.6 MB, free: 8.699 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005851/0.1396, allocations: 218.4 kB / 381.8 MB, free: 8.477 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.1397, allocations: 4 kB / 381.8 MB, free: 8.473 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.1397, allocations: 46.5 kB / 381.8 MB, free: 8.418 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.1397, allocations: 0 / 381.8 MB, free: 8.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=38): time 0.004974/0.1447, allocations: 2.318 MB / 384.1 MB, free: 5.836 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.1448, allocations: 106.8 kB / 384.3 MB, free: 5.707 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.1451, allocations: 207.5 kB / 384.5 MB, free: 5.496 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.1451, allocations: 29.7 kB / 384.5 MB, free: 5.461 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.1452, allocations: 152.8 kB / 384.6 MB, free: 5.305 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.1454, allocations: 150.7 kB / 384.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.1456, allocations: 78.05 kB / 384.9 MB, free: 5.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002136/0.1458, allocations: 334.8 kB / 385.2 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/0.1461, allocations: 112.8 kB / 385.3 MB, free: 4.625 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/0.1465, allocations: 165.5 kB / 385.5 MB, free: 4.445 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006756/0.1472, allocations: 300.9 kB / 385.7 MB, free: 4.133 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1472, allocations: 0 / 385.7 MB, free: 4.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008121/0.148, allocations: 369.4 kB / 386.1 MB, free: 3.766 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.148, allocations: 4 kB / 386.1 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.148, allocations: 4 kB / 386.1 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.491e-05/0.1481, allocations: 4 kB / 386.1 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007314/0.1488, allocations: 151.8 kB / 386.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.1488, allocations: 3.938 kB / 386.3 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.1491, allocations: 27.98 kB / 386.3 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.1491, allocations: 12 kB / 386.3 MB, free: 3.562 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.0002147/0.1493, allocations: 149.7 kB / 386.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.1494, allocations: 31.8 kB / 386.5 MB, free: 3.375 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.638e-05/0.1495, allocations: 33.53 kB / 386.5 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.1496, allocations: 4 kB / 386.5 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.1496, allocations: 0 / 386.5 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.1496, allocations: 7.984 kB / 386.5 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002493/0.1521, allocations: 1.342 MB / 387.9 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1521, allocations: 0 / 387.9 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008441/0.153, allocations: 175.9 kB / 388 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.153, allocations: 4 kB / 388.1 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.459e-05/0.153, allocations: 15.94 kB / 388.1 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.153, allocations: 4 kB / 388.1 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.153, allocations: 4 kB / 388.1 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.1551, allocations: 0.9478 MB / 389 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.1553, allocations: 136.9 kB / 389.2 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-05/0.1553, allocations: 11.94 kB / 389.2 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004136/0.1558, allocations: 44.08 kB / 389.2 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.1559, allocations: 47.88 kB / 389.3 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.1559, allocations: 16 kB / 389.3 MB, free: 452 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.1561, allocations: 148.6 kB / 389.4 MB, free: 304 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1561, allocations: 96 / 389.4 MB, free: 304 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004325/0.1565, allocations: 87.94 kB / 389.5 MB, free: 216 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.0001465/0.1567, allocations: 111.1 kB / 389.6 MB, free: 92 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.1577, allocations: 363.8 kB / 390 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.1578, allocations: 4 kB / 390 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006884/0.1584, allocations: 244 kB / 390.2 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007672/0.1592, allocations: 77.28 kB / 390.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004853/0.1641, allocations: 1.428 MB / 391.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.1644, allocations: 0.772 MB / 392.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001677/0.1646, allocations: 42.95 kB / 392.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.1647, allocations: 35.42 kB / 392.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1647, allocations: 4 kB / 392.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of Templates: time 0.008313/0.1731, allocations: 4.335 MB / 396.9 MB, free: 8.711 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1)