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.001864/0.001864, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.001863/0.001863, allocations: 198 kB / 18.07 MB, free: 5.41 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.576/1.576, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001233/0.001233, allocations: 43.94 kB / 280 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1267, allocations: 46.63 MB / 326.6 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.005258/0.1321, allocations: 2.482 MB / 329.1 MB, free: 2.391 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.1338, allocations: 0.7688 MB / 329.8 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002779/0.1341, allocations: 11.94 kB / 329.9 MB, free: 1.605 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.1343, allocations: 27.77 kB / 329.9 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000315/0.1346, allocations: 91.3 kB / 330 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.1351, allocations: 111.8 kB / 330.1 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005363/0.1357, allocations: 438.3 kB / 330.5 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.1359, allocations: 81.3 kB / 330.6 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003064/0.1362, allocations: 159.5 kB / 330.7 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.1365, allocations: 195.3 kB / 330.9 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.945e-05/0.1366, allocations: 20 kB / 331 MB, free: 0.5 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.973e-05/0.1367, allocations: 24 kB / 331 MB, free: 488 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.3e-05/0.1367, allocations: 71.72 kB / 331.1 MB, free: 416 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.1369, allocations: 167.2 kB / 331.2 MB, free: 248 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003968/0.1373, allocations: 387 kB / 331.6 MB, free: 15.86 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.1374, allocations: 4 kB / 331.6 MB, free: 15.86 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1374, allocations: 4 kB / 331.6 MB, free: 15.86 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.1374, allocations: 0 / 331.6 MB, free: 15.86 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.001776/0.1392, allocations: 0.6821 MB / 332.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/0.1392, allocations: 12.03 kB / 332.3 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.1394, allocations: 36.56 kB / 332.3 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.1398, allocations: 271.6 kB / 332.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004054/0.1402, allocations: 128.2 kB / 332.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.71e-05/0.1403, allocations: 31.91 kB / 332.8 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00094/0.1412, allocations: 379.2 kB / 333.1 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.1412, allocations: 4 kB / 333.1 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.777e-05/0.1413, allocations: 12 kB / 333.1 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.1413, allocations: 4 kB / 333.1 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.1425, allocations: 399.5 kB / 333.5 MB, free: 13.81 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.144, allocations: 0.9813 MB / 334.5 MB, free: 12.77 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.1451, allocations: 399.5 kB / 334.9 MB, free: 12.35 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006093/0.1457, allocations: 222.4 kB / 335.1 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.1457, allocations: 3.984 kB / 335.1 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.1458, allocations: 34.56 kB / 335.2 MB, free: 12.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 2.615e-06/0.1458, allocations: 4 kB / 335.2 MB, free: 12.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=38): time 0.005016/0.1508, allocations: 2.324 MB / 337.5 MB, free: 9.48 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/0.1509, allocations: 110.8 kB / 337.6 MB, free: 9.348 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.1512, allocations: 199.2 kB / 337.8 MB, free: 9.141 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/0.1512, allocations: 33.7 kB / 337.8 MB, free: 9.102 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.1513, allocations: 144.6 kB / 338 MB, free: 8.957 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.1515, allocations: 141.9 kB / 338.1 MB, free: 8.816 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.1516, allocations: 82.11 kB / 338.2 MB, free: 8.73 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002509/0.1519, allocations: 334.8 kB / 338.5 MB, free: 8.395 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/0.1522, allocations: 108.8 kB / 338.6 MB, free: 8.289 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003394/0.1525, allocations: 169.4 kB / 338.8 MB, free: 8.102 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006418/0.1532, allocations: 288.9 kB / 339.1 MB, free: 7.801 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1532, allocations: 0 / 339.1 MB, free: 7.801 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008067/0.154, allocations: 370.9 kB / 339.4 MB, free: 7.434 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.1541, allocations: 8 kB / 339.4 MB, free: 7.426 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1541, allocations: 0 / 339.4 MB, free: 7.426 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.1541, allocations: 4 kB / 339.4 MB, free: 7.422 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007419/0.1548, allocations: 147.9 kB / 339.6 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.1549, allocations: 4 kB / 339.6 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.1551, allocations: 27.98 kB / 339.6 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.1551, allocations: 11.98 kB / 339.6 MB, free: 7.234 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.0001558/0.1553, allocations: 149.7 kB / 339.8 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.725e-05/0.1554, allocations: 35.56 kB / 339.8 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.207e-05/0.1555, allocations: 29.52 kB / 339.8 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.1555, allocations: 4 kB / 339.8 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.1555, allocations: 8 kB / 339.8 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1555, allocations: 0 / 339.8 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/0.1578, allocations: 1.315 MB / 341.2 MB, free: 5.59 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.1578, allocations: 4 kB / 341.2 MB, free: 5.586 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008226/0.1586, allocations: 164 kB / 341.3 MB, free: 5.426 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1586, allocations: 4 kB / 341.3 MB, free: 5.422 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.175e-05/0.1587, allocations: 19.94 kB / 341.4 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.1587, allocations: 12.39 kB / 341.4 MB, free: 5.391 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.1587, allocations: 4 kB / 341.4 MB, free: 5.387 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.1606, allocations: 0.9554 MB / 342.3 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.1608, allocations: 128.8 kB / 342.4 MB, free: 4.25 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.864e-05/0.1608, allocations: 11.94 kB / 342.5 MB, free: 4.238 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/0.1612, allocations: 55.94 kB / 342.5 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.644e-05/0.1613, allocations: 31.95 kB / 342.5 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.1614, allocations: 19.97 kB / 342.6 MB, free: 4.133 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.1615, allocations: 152.6 kB / 342.7 MB, free: 3.984 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1615, allocations: 0 / 342.7 MB, free: 3.984 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004239/0.1619, allocations: 76 kB / 342.8 MB, free: 3.91 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.0001441/0.1621, allocations: 119.1 kB / 342.9 MB, free: 3.785 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009491/0.1631, allocations: 357.7 kB / 343.3 MB, free: 3.438 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1631, allocations: 0 / 343.3 MB, free: 3.438 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006249/0.1637, allocations: 256.8 kB / 343.5 MB, free: 3.188 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007639/0.1645, allocations: 67.86 kB / 343.6 MB, free: 3.125 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004984/0.1695, allocations: 1.54 MB / 345.1 MB, free: 1.535 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.1699, allocations: 0.7685 MB / 345.9 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002678/0.1702, allocations: 34.97 kB / 345.9 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.1704, allocations: 39.36 kB / 346 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of SimCode: time 1.974e-06/0.1704, allocations: 0 / 346 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of Templates: time 0.008116/0.1785, allocations: 3.878 MB / 349.8 MB, free: 12.79 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.makefile (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) 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