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.009008/0.009008, allocations: 100.2 kB / 15.73 MB, free: 6.012 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.001657/0.001657, allocations: 197.4 kB / 16.68 MB, free: 5.934 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.568/1.568, 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.001492/0.001493, allocations: 53.8 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1198, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003963/0.1238, allocations: 2.44 MB / 375.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.1253, allocations: 0.7802 MB / 376.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.1254, allocations: 7.938 kB / 376.4 MB, free: 14.06 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.1256, allocations: 43.58 kB / 376.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.1259, allocations: 103.1 kB / 376.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.1262, allocations: 119.8 kB / 376.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000482/0.1267, allocations: 470.2 kB / 377.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.1269, allocations: 88.84 kB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.1272, allocations: 187.4 kB / 377.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.1274, allocations: 207.2 kB / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.454e-05/0.1275, allocations: 36 kB / 377.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.676e-05/0.1275, allocations: 40 kB / 377.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.525e-05/0.1276, allocations: 91.72 kB / 377.7 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.1278, allocations: 175.3 kB / 377.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004875/0.1283, allocations: 414.6 kB / 378.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1283, allocations: 0 / 378.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1283, allocations: 0 / 378.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1283, allocations: 0 / 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.001651/0.13, allocations: 0.6823 MB / 379 MB, free: 11.39 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.1301, allocations: 8.031 kB / 379 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.269e-05/0.1302, allocations: 36.56 kB / 379 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/0.1306, allocations: 279.4 kB / 379.3 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.1307, allocations: 88.27 kB / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-05/0.1308, allocations: 24 kB / 379.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009125/0.1318, allocations: 379.2 kB / 379.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.1318, allocations: 7.906 kB / 379.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.1318, allocations: 8 kB / 379.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.1319, allocations: 12 kB / 379.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.1331, allocations: 395.5 kB / 380.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.1344, allocations: 0.9547 MB / 381.2 MB, free: 9.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.1354, allocations: 407.5 kB / 381.6 MB, free: 8.672 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006062/0.136, allocations: 214.4 kB / 381.8 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.1361, allocations: 3.984 kB / 381.8 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.884e-05/0.1362, allocations: 46.5 kB / 381.8 MB, free: 8.395 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.255e-06/0.1362, allocations: 0 / 381.8 MB, free: 8.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=38): time 0.005046/0.1412, allocations: 2.309 MB / 384.1 MB, free: 5.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.997e-05/0.1413, allocations: 110.8 kB / 384.2 MB, free: 5.688 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.1416, allocations: 199.2 kB / 384.4 MB, free: 5.484 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/0.1416, allocations: 37.7 kB / 384.5 MB, free: 5.441 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.1418, allocations: 148.7 kB / 384.6 MB, free: 5.289 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.1419, allocations: 137.9 kB / 384.8 MB, free: 5.152 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.1421, allocations: 70.12 kB / 384.8 MB, free: 5.074 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1422, allocations: 346.7 kB / 385.2 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.1426, allocations: 108.8 kB / 385.3 MB, free: 4.621 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003493/0.1429, allocations: 161.5 kB / 385.4 MB, free: 4.445 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006688/0.1436, allocations: 297.1 kB / 385.7 MB, free: 4.137 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1436, allocations: 4 kB / 385.7 MB, free: 4.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008115/0.1444, allocations: 368.9 kB / 386.1 MB, free: 3.766 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.1445, allocations: 7.984 kB / 386.1 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/0.1445, allocations: 0 / 386.1 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.1445, allocations: 4 kB / 386.1 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000693/0.1452, allocations: 151.8 kB / 386.2 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.1453, allocations: 4 kB / 386.2 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.1455, allocations: 27.98 kB / 386.3 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.1455, allocations: 16 kB / 386.3 MB, free: 3.559 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.000166/0.1457, allocations: 145.7 kB / 386.4 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.466e-05/0.1458, allocations: 31.64 kB / 386.5 MB, free: 3.375 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.006e-05/0.1459, allocations: 37.53 kB / 386.5 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1459, allocations: 4 kB / 386.5 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.1459, allocations: 4 kB / 386.5 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1459, allocations: 3.984 kB / 386.5 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/0.1485, allocations: 1.327 MB / 387.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1485, allocations: 7.938 kB / 387.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008335/0.1493, allocations: 168 kB / 388 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.1493, allocations: 4 kB / 388 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.1494, allocations: 15.94 kB / 388 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.1494, allocations: 4.094 kB / 388 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1494, allocations: 3.938 kB / 388 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/0.1514, allocations: 0.9555 MB / 389 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.1516, allocations: 128.8 kB / 389.1 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.133e-05/0.1516, allocations: 15.94 kB / 389.1 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004127/0.152, allocations: 43.95 kB / 389.2 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.1522, allocations: 43.89 kB / 389.2 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.1522, allocations: 15.98 kB / 389.2 MB, free: 464 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.1523, allocations: 148.6 kB / 389.4 MB, free: 316 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1524, allocations: 0 / 389.4 MB, free: 316 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004463/0.1528, allocations: 80 kB / 389.5 MB, free: 236 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.0001397/0.153, allocations: 115.1 kB / 389.6 MB, free: 108 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.154, allocations: 376.3 kB / 389.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.154, allocations: 0 / 389.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006839/0.1547, allocations: 249 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.0007192/0.1554, allocations: 72.62 kB / 390.2 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005176/0.1606, allocations: 1.432 MB / 391.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.161, allocations: 0.7681 MB / 392.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002023/0.1612, allocations: 42.95 kB / 392.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.1614, allocations: 31.61 kB / 392.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1614, allocations: 4 kB / 392.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of Templates: time 0.008704/0.1701, 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)