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.0009375/0.0009377, allocations: 96.55 kB / 16.3 MB, free: 6.461 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.0009217/0.0009222, allocations: 177.6 kB / 17.19 MB, free: 6.344 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.651/1.651, allocations: 205.4 MB / 223.3 MB, free: 13.18 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.0004608/0.0004609, allocations: 16 kB / 280.1 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1118, allocations: 47.58 MB / 327.7 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002365/0.1142, allocations: 1.915 MB / 329.6 MB, free: 2.172 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.1154, allocations: 0.7654 MB / 330.4 MB, free: 1.402 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.1155, allocations: 4 kB / 330.4 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.588e-05/0.1155, allocations: 27.77 kB / 330.4 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.1158, allocations: 115.7 kB / 330.5 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.1161, allocations: 99.75 kB / 330.6 MB, free: 1.16 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003254/0.1164, allocations: 299.4 kB / 330.9 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.1166, allocations: 69.08 kB / 331 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.1168, allocations: 159.5 kB / 331.1 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.117, allocations: 187.4 kB / 331.3 MB, free: 472 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.546e-05/0.1171, allocations: 23.94 kB / 331.3 MB, free: 448 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.787e-05/0.1171, allocations: 20 kB / 331.4 MB, free: 428 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.101e-05/0.1172, allocations: 59.8 kB / 331.4 MB, free: 368 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.536e-05/0.1173, allocations: 85.52 kB / 331.5 MB, free: 276 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.1175, allocations: 287.5 kB / 331.8 MB, free: 15.99 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.1176, allocations: 4 kB / 331.8 MB, free: 15.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1176, allocations: 0 / 331.8 MB, free: 15.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1176, allocations: 4 kB / 331.8 MB, free: 15.98 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.001446/0.119, allocations: 0.6627 MB / 332.5 MB, free: 15.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1191, allocations: 12.03 kB / 332.5 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.366e-05/0.1191, allocations: 31.62 kB / 332.5 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.1195, allocations: 274.3 kB / 332.8 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003555/0.1199, allocations: 131.9 kB / 332.9 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.518e-05/0.1199, allocations: 31.89 kB / 332.9 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009072/0.1209, allocations: 411.9 kB / 333.3 MB, free: 14.33 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.1209, allocations: 4 kB / 333.3 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.509e-05/0.1209, allocations: 8 kB / 333.3 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.121, allocations: 8 kB / 333.3 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.1222, allocations: 456.8 kB / 333.8 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.1235, allocations: 0.982 MB / 334.8 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.1246, allocations: 447.5 kB / 335.2 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.1247, allocations: 15.92 kB / 335.2 MB, free: 12.34 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.1247, allocations: 38.55 kB / 335.3 MB, free: 12.29 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.433e-06/0.1247, allocations: 0 / 335.3 MB, free: 12.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=38): time 0.004992/0.1297, allocations: 2.508 MB / 337.8 MB, free: 9.52 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.1299, allocations: 110.8 kB / 337.9 MB, free: 9.387 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.1301, allocations: 207.2 kB / 338.1 MB, free: 9.172 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.1301, allocations: 33.7 kB / 338.1 MB, free: 9.133 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.571e-05/0.1302, allocations: 153.5 kB / 338.3 MB, free: 8.98 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.1303, allocations: 141.9 kB / 338.4 MB, free: 8.84 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/0.1304, allocations: 4 kB / 338.4 MB, free: 8.836 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1305, allocations: 338.8 kB / 338.7 MB, free: 8.496 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.1308, allocations: 108.8 kB / 338.8 MB, free: 8.391 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/0.1312, allocations: 169.5 kB / 339 MB, free: 8.203 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/0.1315, allocations: 135.5 kB / 339.1 MB, free: 8.074 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1315, allocations: 0 / 339.1 MB, free: 8.074 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007962/0.1323, allocations: 369.1 kB / 339.5 MB, free: 7.707 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.1324, allocations: 8 kB / 339.5 MB, free: 7.699 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1324, allocations: 3.938 kB / 339.5 MB, free: 7.695 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.1324, allocations: 7.953 kB / 339.5 MB, free: 7.688 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007101/0.1331, allocations: 175.8 kB / 339.7 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.1331, allocations: 4 kB / 339.7 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.1333, allocations: 23.98 kB / 339.7 MB, free: 7.488 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.1334, allocations: 16 kB / 339.7 MB, free: 7.473 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001666/0.1335, allocations: 149.7 kB / 339.9 MB, free: 7.316 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.562e-05/0.1336, allocations: 27.62 kB / 339.9 MB, free: 7.289 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.562e-05/0.1337, allocations: 33.53 kB / 339.9 MB, free: 7.254 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.1337, allocations: 7.953 kB / 340 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1337, allocations: 0 / 340 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/0.1337, allocations: 3.984 kB / 340 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/0.1362, allocations: 1.393 MB / 341.3 MB, free: 5.754 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.1362, allocations: 4 kB / 341.4 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008482/0.137, allocations: 208 kB / 341.6 MB, free: 5.547 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.137, allocations: 4 kB / 341.6 MB, free: 5.543 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.1371, allocations: 8 kB / 341.6 MB, free: 5.535 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.1371, allocations: 4 kB / 341.6 MB, free: 5.531 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.1371, allocations: 7.891 kB / 341.6 MB, free: 5.523 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/0.1392, allocations: 1.148 MB / 342.7 MB, free: 4.289 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.1393, allocations: 132.8 kB / 342.9 MB, free: 4.141 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.217e-05/0.1394, allocations: 12 kB / 342.9 MB, free: 4.129 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/0.1398, allocations: 67.88 kB / 342.9 MB, free: 4.062 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.1399, allocations: 31.95 kB / 343 MB, free: 4.031 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.14, allocations: 15.98 kB / 343 MB, free: 4.016 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.1401, allocations: 148.6 kB / 343.1 MB, free: 3.871 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1401, allocations: 0 / 343.1 MB, free: 3.871 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004183/0.1405, allocations: 88 kB / 343.2 MB, free: 3.785 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001466/0.1407, allocations: 111.1 kB / 343.3 MB, free: 3.668 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.1417, allocations: 404.1 kB / 343.7 MB, free: 3.273 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1417, allocations: 0 / 343.7 MB, free: 3.273 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006798/0.1424, allocations: 284.1 kB / 344 MB, free: 2.996 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005775/0.143, allocations: 61.7 kB / 344.1 MB, free: 2.934 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005083/0.1481, allocations: 1.741 MB / 345.8 MB, free: 1.145 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.1485, allocations: 0.7802 MB / 346.6 MB, free: 344 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001729/0.1487, allocations: 34.97 kB / 346.6 MB, free: 308 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.1488, allocations: 31.42 kB / 346.6 MB, free: 276 kB / 286.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1488, allocations: 0 / 346.6 MB, free: 276 kB / 286.1 MB Notification: Performance of Templates: time 0.006965/0.1558, allocations: 3.691 MB / 350.3 MB, free: 12.58 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Backlash.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: