Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=2000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash") translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_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.001137/0.001137, allocations: 96.83 kB / 16.94 MB, free: 5.984 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.001026/0.001026, allocations: 180.6 kB / 17.82 MB, free: 5.656 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.616/1.616, allocations: 205.4 MB / 224 MB, free: 13.03 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.0005244/0.0005245, allocations: 12.94 kB / 280.7 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1178, allocations: 47.58 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002601/0.1205, allocations: 1.927 MB / 330.2 MB, free: 2.152 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.1222, allocations: 0.7576 MB / 331 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002816/0.1225, allocations: 4 kB / 331 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.1226, allocations: 27.77 kB / 331 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004855/0.1231, allocations: 119.6 kB / 331.1 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.1236, allocations: 99.77 kB / 331.2 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006229/0.1242, allocations: 291.5 kB / 331.5 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002232/0.1245, allocations: 69.06 kB / 331.6 MB, free: 0.793 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003646/0.1248, allocations: 167.4 kB / 331.8 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003423/0.1252, allocations: 183.4 kB / 331.9 MB, free: 460 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.896e-05/0.1253, allocations: 20 kB / 332 MB, free: 440 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.545e-05/0.1254, allocations: 20 kB / 332 MB, free: 420 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.956e-05/0.1254, allocations: 67.8 kB / 332 MB, free: 352 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.1256, allocations: 77.58 kB / 332.1 MB, free: 268 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.1259, allocations: 291.4 kB / 332.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1259, allocations: 0 / 332.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1259, allocations: 0 / 332.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.121e-05/0.126, allocations: 4 kB / 332.4 MB, free: 15.97 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.001674/0.1276, allocations: 0.6705 MB / 333.1 MB, free: 15.25 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1277, allocations: 12.03 kB / 333.1 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.1278, allocations: 31.62 kB / 333.1 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.1282, allocations: 266.3 kB / 333.4 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003779/0.1286, allocations: 135.9 kB / 333.5 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.726e-05/0.1287, allocations: 27.91 kB / 333.5 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009846/0.1297, allocations: 411.9 kB / 333.9 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.1297, allocations: 4 kB / 333.9 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.585e-05/0.1298, allocations: 12 kB / 334 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.1298, allocations: 4 kB / 334 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.131, allocations: 456.8 kB / 334.4 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.1324, allocations: 0.982 MB / 335.4 MB, free: 12.81 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.1336, allocations: 459.5 kB / 335.8 MB, free: 12.34 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.1336, allocations: 4 kB / 335.8 MB, free: 12.33 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.1337, allocations: 42.44 kB / 335.9 MB, free: 12.28 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.904e-06/0.1337, allocations: 0 / 335.9 MB, free: 12.28 MB / 286.1 MB Notification: Performance of matching and sorting (n=38): time 0.005393/0.1391, allocations: 2.512 MB / 338.4 MB, free: 9.504 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.1392, allocations: 110.8 kB / 338.5 MB, free: 9.371 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.1395, allocations: 203.1 kB / 338.7 MB, free: 9.16 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.514e-05/0.1396, allocations: 33.7 kB / 338.7 MB, free: 9.121 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.1397, allocations: 156.6 kB / 338.9 MB, free: 8.965 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.1399, allocations: 134 kB / 339 MB, free: 8.832 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.14, allocations: 8 kB / 339 MB, free: 8.824 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.1402, allocations: 338.8 kB / 339.4 MB, free: 8.484 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003803/0.1406, allocations: 108.8 kB / 339.5 MB, free: 8.379 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/0.141, allocations: 169.4 kB / 339.6 MB, free: 8.191 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003543/0.1414, allocations: 135.6 kB / 339.8 MB, free: 8.062 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1414, allocations: 0 / 339.8 MB, free: 8.062 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008773/0.1423, allocations: 369.3 kB / 340.1 MB, free: 7.695 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.1423, allocations: 8 kB / 340.1 MB, free: 7.688 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.1423, allocations: 4.094 kB / 340.1 MB, free: 7.684 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.1423, allocations: 7.953 kB / 340.1 MB, free: 7.676 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000761/0.1431, allocations: 171.8 kB / 340.3 MB, free: 7.508 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.1431, allocations: 4 kB / 340.3 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.1434, allocations: 27.97 kB / 340.3 MB, free: 7.477 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.1434, allocations: 16 kB / 340.4 MB, free: 7.461 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.0001765/0.1436, allocations: 146.7 kB / 340.5 MB, free: 7.309 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.1437, allocations: 27.62 kB / 340.5 MB, free: 7.281 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.582e-05/0.1438, allocations: 37.52 kB / 340.6 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.1438, allocations: 11.95 kB / 340.6 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.1438, allocations: 0 / 340.6 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1439, allocations: 0 / 340.6 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002646/0.1465, allocations: 1.397 MB / 342 MB, free: 5.738 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.1465, allocations: 8 kB / 342 MB, free: 5.73 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009163/0.1475, allocations: 208 kB / 342.2 MB, free: 5.527 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/0.1475, allocations: 4 kB / 342.2 MB, free: 5.523 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/0.1475, allocations: 15.98 kB / 342.2 MB, free: 5.508 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.1475, allocations: 4 kB / 342.2 MB, free: 5.504 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1475, allocations: 3.953 kB / 342.2 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/0.1498, allocations: 1.14 MB / 343.4 MB, free: 4.273 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002022/0.15, allocations: 136.8 kB / 343.5 MB, free: 4.121 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/0.1501, allocations: 11.98 kB / 343.5 MB, free: 4.109 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004881/0.1506, allocations: 59.95 kB / 343.6 MB, free: 4.051 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.1507, allocations: 43.88 kB / 343.6 MB, free: 4.008 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.1507, allocations: 8 kB / 343.6 MB, free: 4 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.1509, allocations: 156.6 kB / 343.8 MB, free: 3.848 MB / 286.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1509, allocations: 0 / 343.8 MB, free: 3.848 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004905/0.1514, allocations: 84 kB / 343.8 MB, free: 3.766 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.00015/0.1516, allocations: 109.2 kB / 344 MB, free: 3.652 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.1526, allocations: 403.7 kB / 344.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1527, allocations: 4 kB / 344.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007353/0.1534, allocations: 272 kB / 344.6 MB, free: 2.988 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005693/0.154, allocations: 69.69 kB / 344.7 MB, free: 2.918 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005287/0.1593, allocations: 1.741 MB / 346.4 MB, free: 1.129 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.1597, allocations: 0.7801 MB / 347.2 MB, free: 328 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000206/0.1599, allocations: 38.95 kB / 347.2 MB, free: 288 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.1601, allocations: 35.42 kB / 347.3 MB, free: 252 kB / 286.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1601, allocations: 0 / 347.3 MB, free: 252 kB / 286.1 MB Notification: Performance of Templates: time 0.007566/0.1677, allocations: 3.693 MB / 351 MB, free: 12.56 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/Backlash/Backlash.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches