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.001104/0.001104, allocations: 91.5 kB / 16.65 MB, free: 6.59 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.001104/0.001104, allocations: 182.3 kB / 17.56 MB, free: 6.203 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.552/1.552, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004672/0.0004672, allocations: 8.375 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1153, allocations: 47.58 MB / 328.3 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002991/0.1184, allocations: 2.127 MB / 330.4 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1198, allocations: 0.765 MB / 331.2 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.12, allocations: 7.938 kB / 331.2 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.1201, allocations: 23.78 kB / 331.2 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.1204, allocations: 95.23 kB / 331.3 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.1208, allocations: 107.9 kB / 331.4 MB, free: 0.625 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004657/0.1213, allocations: 442.2 kB / 331.9 MB, free: 196 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.1215, allocations: 73.31 kB / 331.9 MB, free: 120 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.1217, allocations: 163.4 kB / 332.1 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.1219, allocations: 187.2 kB / 332.3 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.156e-05/0.122, allocations: 20 kB / 332.3 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.03e-05/0.1221, allocations: 20 kB / 332.3 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.643e-05/0.1221, allocations: 71.73 kB / 332.4 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.1223, allocations: 188.9 kB / 332.6 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.1227, allocations: 374.9 kB / 332.9 MB, free: 15.11 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1227, allocations: 4 kB / 332.9 MB, free: 15.1 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1227, allocations: 0 / 332.9 MB, free: 15.1 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1227, allocations: 0 / 332.9 MB, free: 15.1 MB / 286.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.001723/0.1244, allocations: 0.6784 MB / 333.6 MB, free: 14.38 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.1245, allocations: 15.97 kB / 333.6 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.402e-05/0.1246, allocations: 32.56 kB / 333.7 MB, free: 14.33 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.125, allocations: 275.5 kB / 333.9 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003657/0.1253, allocations: 132.2 kB / 334.1 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.414e-05/0.1254, allocations: 24 kB / 334.1 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009543/0.1264, allocations: 415.2 kB / 334.5 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.1264, allocations: 3.906 kB / 334.5 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/0.1264, allocations: 12 kB / 334.5 MB, free: 13.42 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1265, allocations: 8 kB / 334.5 MB, free: 13.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.1278, allocations: 463.5 kB / 335 MB, free: 12.96 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.1295, allocations: 0.9774 MB / 335.9 MB, free: 11.92 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.1306, allocations: 459.5 kB / 336.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006504/0.1313, allocations: 250.4 kB / 336.6 MB, free: 11.19 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.1313, allocations: 7.984 kB / 336.6 MB, free: 11.18 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.1314, allocations: 42.5 kB / 336.7 MB, free: 11.13 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 2.355e-06/0.1314, allocations: 0 / 336.7 MB, free: 11.13 MB / 286.1 MB Notification: Performance of matching and sorting (n=38): time 0.005699/0.1371, allocations: 2.509 MB / 339.2 MB, free: 8.355 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.691e-05/0.1372, allocations: 110.8 kB / 339.3 MB, free: 8.223 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.1374, allocations: 207.2 kB / 339.5 MB, free: 8.008 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.1375, allocations: 29.7 kB / 339.5 MB, free: 7.973 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.1376, allocations: 152.6 kB / 339.7 MB, free: 7.82 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.1377, allocations: 141.9 kB / 339.8 MB, free: 7.68 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.175e-05/0.1378, allocations: 37.7 kB / 339.9 MB, free: 7.637 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1379, allocations: 334.8 kB / 340.2 MB, free: 7.301 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.1383, allocations: 120.7 kB / 340.3 MB, free: 7.184 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.1386, allocations: 169.5 kB / 340.5 MB, free: 6.996 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006673/0.1393, allocations: 300.9 kB / 340.8 MB, free: 6.688 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1393, allocations: 0 / 340.8 MB, free: 6.688 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008791/0.1402, allocations: 394 kB / 341.2 MB, free: 6.297 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1402, allocations: 4 kB / 341.2 MB, free: 6.293 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.1402, allocations: 4 kB / 341.2 MB, free: 6.289 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1403, allocations: 0 / 341.2 MB, free: 6.289 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007186/0.141, allocations: 167.9 kB / 341.3 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.141, allocations: 11.92 kB / 341.3 MB, free: 6.113 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.1412, allocations: 27.98 kB / 341.4 MB, free: 6.086 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.1413, allocations: 12 kB / 341.4 MB, free: 6.074 MB / 286.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.0001744/0.1414, allocations: 145.8 kB / 341.5 MB, free: 5.922 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.1416, allocations: 31.66 kB / 341.5 MB, free: 5.891 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.828e-05/0.1417, allocations: 33.52 kB / 341.6 MB, free: 5.855 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.1417, allocations: 4 kB / 341.6 MB, free: 5.852 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.1417, allocations: 4 kB / 341.6 MB, free: 5.848 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.1417, allocations: 3.984 kB / 341.6 MB, free: 5.844 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/0.1442, allocations: 1.389 MB / 343 MB, free: 4.359 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.1442, allocations: 4 kB / 343 MB, free: 4.355 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008589/0.1451, allocations: 203.8 kB / 343.2 MB, free: 4.156 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.1451, allocations: 4 kB / 343.2 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.1451, allocations: 19.92 kB / 343.2 MB, free: 4.133 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.1451, allocations: 4 kB / 343.2 MB, free: 4.129 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1452, allocations: 480 / 343.2 MB, free: 4.129 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/0.1473, allocations: 1.057 MB / 344.3 MB, free: 3.035 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.1475, allocations: 128.8 kB / 344.4 MB, free: 2.891 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.1475, allocations: 23.86 kB / 344.4 MB, free: 2.867 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004219/0.148, allocations: 59.95 kB / 344.5 MB, free: 2.809 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.1481, allocations: 39.88 kB / 344.5 MB, free: 2.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.1481, allocations: 12 kB / 344.5 MB, free: 2.758 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001569/0.1483, allocations: 152.6 kB / 344.7 MB, free: 2.609 MB / 286.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.1483, allocations: 0 / 344.7 MB, free: 2.609 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004508/0.1487, allocations: 84 kB / 344.8 MB, free: 2.527 MB / 286.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.0001564/0.1489, allocations: 115.1 kB / 344.9 MB, free: 2.406 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.1499, allocations: 395.8 kB / 345.3 MB, free: 2.02 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.15, allocations: 0 / 345.3 MB, free: 2.02 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007374/0.1507, allocations: 284 kB / 345.5 MB, free: 1.742 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008263/0.1515, allocations: 74.8 kB / 345.6 MB, free: 1.672 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005361/0.1569, allocations: 1.768 MB / 347.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.1573, allocations: 0.7685 MB / 348.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001785/0.1575, allocations: 38.95 kB / 348.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.1576, allocations: 35.42 kB / 348.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of SimCode: time 8.91e-07/0.1576, allocations: 0 / 348.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of Templates: time 0.008379/0.166, allocations: 3.855 MB / 352.1 MB, free: 11.13 MB / 302.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)