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.005849/0.005849, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001259/0.001259, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.534/1.534, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.001182/0.001182, allocations: 50.48 kB / 326.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1171, allocations: 46.62 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003897/0.121, allocations: 2.428 MB / 375.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.1225, allocations: 0.7879 MB / 376.4 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.1227, allocations: 4 kB / 376.4 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.1228, allocations: 39.58 kB / 376.4 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.1231, allocations: 111 kB / 376.5 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.1234, allocations: 127.8 kB / 376.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004539/0.1239, allocations: 466.2 kB / 377.1 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.1241, allocations: 92.83 kB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.1243, allocations: 191.4 kB / 377.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.1246, allocations: 203.3 kB / 377.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.597e-05/0.1247, allocations: 36 kB / 377.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.358e-05/0.1247, allocations: 43.94 kB / 377.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.733e-05/0.1248, allocations: 87.72 kB / 377.7 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.125, allocations: 179.3 kB / 377.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003972/0.1254, allocations: 410.6 kB / 378.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1254, allocations: 0 / 378.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1254, allocations: 0 / 378.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1254, allocations: 4 kB / 378.3 MB, free: 12.12 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.00157/0.127, allocations: 0.6783 MB / 379 MB, free: 11.39 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.1271, allocations: 8.031 kB / 379 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.134e-05/0.1272, allocations: 36.56 kB / 379 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004528/0.1276, allocations: 279.4 kB / 379.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.1277, allocations: 88.27 kB / 379.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.319e-05/0.1278, allocations: 35.98 kB / 379.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009334/0.1288, allocations: 375.2 kB / 379.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.1288, allocations: 7.906 kB / 379.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.408e-05/0.1289, allocations: 12 kB / 379.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.1289, allocations: 4 kB / 379.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.1301, allocations: 395.5 kB / 380.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.1314, allocations: 0.9547 MB / 381.2 MB, free: 9.102 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.1325, allocations: 399.6 kB / 381.6 MB, free: 8.684 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006462/0.1331, allocations: 218.4 kB / 381.8 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.1332, allocations: 7.984 kB / 381.8 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.1332, allocations: 42.48 kB / 381.8 MB, free: 8.402 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.754e-06/0.1332, allocations: 8 kB / 381.8 MB, free: 8.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=38): time 0.004691/0.1379, allocations: 2.305 MB / 384.1 MB, free: 5.824 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.96e-05/0.138, allocations: 106.8 kB / 384.2 MB, free: 5.695 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.1382, allocations: 207.2 kB / 384.4 MB, free: 5.484 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.1383, allocations: 33.64 kB / 384.5 MB, free: 5.445 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.1384, allocations: 144.7 kB / 384.6 MB, free: 5.297 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.1385, allocations: 141.9 kB / 384.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.1387, allocations: 78.11 kB / 384.8 MB, free: 5.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1388, allocations: 334.8 kB / 385.2 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/0.1391, allocations: 104.8 kB / 385.3 MB, free: 4.633 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/0.1395, allocations: 169.4 kB / 385.4 MB, free: 4.449 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007254/0.1403, allocations: 301.1 kB / 385.7 MB, free: 4.137 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1403, allocations: 0 / 385.7 MB, free: 4.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008871/0.1412, allocations: 368.9 kB / 386.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/0.1412, allocations: 4 kB / 386.1 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.1413, allocations: 4 kB / 386.1 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.1413, allocations: 7.938 kB / 386.1 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007242/0.142, allocations: 147.8 kB / 386.2 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.142, allocations: 4 kB / 386.2 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.1423, allocations: 31.97 kB / 386.3 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.1423, 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.0001747/0.1425, allocations: 145.7 kB / 386.4 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.1426, allocations: 31.66 kB / 386.5 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.824e-05/0.1427, allocations: 33.52 kB / 386.5 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.1427, allocations: 4 kB / 386.5 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.1427, allocations: 4.938 kB / 386.5 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1427, allocations: 4 kB / 386.5 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002449/0.1452, allocations: 1.334 MB / 387.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.1452, allocations: 0 / 387.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008533/0.1461, allocations: 172 kB / 388 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/0.1461, allocations: 7.938 kB / 388 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/0.1461, allocations: 19.92 kB / 388 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.1462, allocations: 8 kB / 388 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.1462, allocations: 4 kB / 388 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.1485, allocations: 0.9477 MB / 389 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000228/0.1487, allocations: 124.8 kB / 389.1 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.664e-05/0.1488, allocations: 15.94 kB / 389.1 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004187/0.1492, allocations: 43.94 kB / 389.2 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.1493, allocations: 43.89 kB / 389.2 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.1494, allocations: 19.98 kB / 389.2 MB, free: 464 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.1495, allocations: 148.6 kB / 389.4 MB, free: 316 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.493e-06/0.1495, allocations: 0 / 389.4 MB, free: 316 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004695/0.15, allocations: 87.94 kB / 389.5 MB, free: 228 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.000176/0.1502, allocations: 103.2 kB / 389.6 MB, free: 112 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.1512, allocations: 372.3 kB / 389.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1512, allocations: 0 / 389.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006529/0.1519, allocations: 247.6 kB / 390.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007753/0.1527, allocations: 82.2 kB / 390.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005163/0.1578, allocations: 1.436 MB / 391.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.1583, allocations: 0.7682 MB / 392.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001848/0.1584, allocations: 38.91 kB / 392.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.1586, allocations: 35.42 kB / 392.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1586, allocations: 0 / 392.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of Templates: time 0.009745/0.1683, allocations: 4.331 MB / 396.9 MB, free: 8.727 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)