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.006056/0.006056, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001354/0.001354, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.479/1.479, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.001275/0.001275, allocations: 54.45 kB / 326.5 MB, free: 14.35 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1091, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003726/0.1129, allocations: 2.429 MB / 375.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.1149, allocations: 0.7802 MB / 376.4 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002455/0.1151, allocations: 11.94 kB / 376.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.1154, allocations: 43.58 kB / 376.4 MB, free: 14.03 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003927/0.1158, allocations: 95.11 kB / 376.5 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005711/0.1164, allocations: 135.8 kB / 376.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006016/0.117, allocations: 470.2 kB / 377.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.1172, allocations: 84.86 kB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002789/0.1175, allocations: 187.4 kB / 377.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003069/0.1178, allocations: 215.2 kB / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.514e-05/0.1179, allocations: 36 kB / 377.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.087e-05/0.118, allocations: 40 kB / 377.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.56e-05/0.1181, allocations: 79.75 kB / 377.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.1183, allocations: 179.3 kB / 377.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004372/0.1187, allocations: 414.6 kB / 378.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.1187, allocations: 0 / 378.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1188, allocations: 0 / 378.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.1188, allocations: 3.938 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.001658/0.1204, allocations: 0.6861 MB / 379 MB, free: 11.39 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.1205, allocations: 8.031 kB / 379 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.1206, allocations: 36.56 kB / 379.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.1211, allocations: 271.5 kB / 379.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.1212, allocations: 88.2 kB / 379.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.624e-05/0.1213, allocations: 28 kB / 379.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009762/0.1223, allocations: 375.2 kB / 379.8 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.1223, allocations: 7.906 kB / 379.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.1224, allocations: 8 kB / 379.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.1224, allocations: 8 kB / 379.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.1236, allocations: 395.5 kB / 380.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.125, allocations: 0.9663 MB / 381.2 MB, free: 9.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.1261, allocations: 399.6 kB / 381.6 MB, free: 8.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006152/0.1268, allocations: 218.4 kB / 381.8 MB, free: 8.457 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.1268, allocations: 8 kB / 381.8 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.1268, allocations: 30.56 kB / 381.8 MB, free: 8.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.154e-06/0.1268, allocations: 7.938 kB / 381.8 MB, free: 8.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=38): time 0.005102/0.132, allocations: 2.313 MB / 384.1 MB, free: 5.824 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/0.1321, allocations: 106.8 kB / 384.2 MB, free: 5.695 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.1324, allocations: 207.2 kB / 384.4 MB, free: 5.484 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.1324, allocations: 29.7 kB / 384.5 MB, free: 5.449 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.1326, allocations: 144.7 kB / 384.6 MB, free: 5.301 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.1327, allocations: 141.9 kB / 384.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.1329, allocations: 74.11 kB / 384.8 MB, free: 5.078 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.133, allocations: 338.8 kB / 385.2 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003314/0.1333, allocations: 104.8 kB / 385.3 MB, free: 4.637 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.1337, allocations: 173.4 kB / 385.4 MB, free: 4.449 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006935/0.1344, allocations: 297.1 kB / 385.7 MB, free: 4.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1344, allocations: 0 / 385.7 MB, free: 4.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009311/0.1354, allocations: 372.9 kB / 386.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.1354, allocations: 4 kB / 386.1 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.1354, allocations: 4 kB / 386.1 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/0.1355, allocations: 0 / 386.1 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007559/0.1362, allocations: 151.8 kB / 386.2 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.968e-05/0.1363, allocations: 7.938 kB / 386.2 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/0.1365, allocations: 23.98 kB / 386.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.1366, allocations: 19.98 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.0002081/0.1368, allocations: 145.7 kB / 386.4 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.1369, allocations: 27.66 kB / 386.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.84e-05/0.137, allocations: 37.52 kB / 386.5 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.137, allocations: 4 kB / 386.5 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.1371, allocations: 0 / 386.5 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.1371, allocations: 4 kB / 386.5 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002817/0.1399, allocations: 1.33 MB / 387.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.1399, allocations: 4 kB / 387.8 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008663/0.1408, allocations: 179.8 kB / 388 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/0.1408, allocations: 0 / 388 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.337e-05/0.1409, allocations: 20.41 kB / 388 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/0.1409, allocations: 7.984 kB / 388 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1409, allocations: 0 / 388 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/0.1433, allocations: 0.9554 MB / 389 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.1435, allocations: 128.8 kB / 389.1 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.17e-05/0.1435, allocations: 11.94 kB / 389.1 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004227/0.144, allocations: 47.94 kB / 389.2 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.1441, allocations: 35.95 kB / 389.2 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.1441, allocations: 16 kB / 389.2 MB, free: 472 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.1443, allocations: 160.5 kB / 389.4 MB, free: 312 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1443, allocations: 0 / 389.4 MB, free: 312 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004674/0.1448, allocations: 80 kB / 389.5 MB, free: 232 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.0001554/0.1449, allocations: 111.1 kB / 389.6 MB, free: 108 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.1461, allocations: 372.3 kB / 389.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.1461, allocations: 0 / 389.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007444/0.1468, allocations: 244.5 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.0008242/0.1477, allocations: 81.45 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.005158/0.1529, 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.0003932/0.1533, allocations: 0.7681 MB / 392.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002027/0.1535, allocations: 38.97 kB / 392.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.1536, allocations: 35.42 kB / 392.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1536, allocations: 0 / 392.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of Templates: time 0.009655/0.1633, allocations: 4.471 MB / 397 MB, free: 8.59 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)