Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001675/0.001675, allocations: 112.9 kB / 19.17 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001924/0.001924, allocations: 210.5 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 230.2 MB / 255.1 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2434/0.2434, allocations: 46.88 MB / 358.1 MB, free: 10.54 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 83.84 kB / 0.4924 GB, free: 8.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1566, allocations: 65.99 MB / 0.5568 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.003461/0.1601, allocations: 1.626 MB / 0.5584 GB, free: 4.281 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1612, allocations: 0.5449 MB / 0.5589 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.861e-05/0.1613, allocations: 4 kB / 0.559 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003126/0.1616, allocations: 79.75 kB / 0.559 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.1619, allocations: 103.6 kB / 0.5591 GB, free: 3.551 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003621/0.1623, allocations: 119.2 kB / 0.5592 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.1625, allocations: 79.81 kB / 0.5593 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1626, allocations: 15.98 kB / 0.5593 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.366e-05/0.1627, allocations: 35.84 kB / 0.5594 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.1628, allocations: 71.73 kB / 0.5594 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.1628, allocations: 4 kB / 0.5594 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1629, allocations: 39.98 kB / 0.5595 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.567e-05/0.163, allocations: 23.92 kB / 0.5595 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.641e-05/0.1631, allocations: 35.73 kB / 0.5595 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.1633, allocations: 103.6 kB / 0.5596 GB, free: 3.035 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1633, allocations: 0 / 0.5596 GB, free: 3.035 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1633, allocations: 4 kB / 0.5596 GB, free: 3.031 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1633, allocations: 0 / 0.5596 GB, free: 3.031 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006318/0.1639, allocations: 418.6 kB / 0.56 GB, free: 2.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.164, allocations: 8.031 kB / 0.56 GB, free: 2.562 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.363e-05/0.164, allocations: 16.84 kB / 0.5601 GB, free: 2.547 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.1643, allocations: 200.9 kB / 0.5603 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.1643, allocations: 4.375 kB / 0.5603 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.1643, allocations: 384 / 0.5603 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1645, allocations: 62.22 kB / 0.5603 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1645, allocations: 4.188 kB / 0.5603 GB, free: 2.234 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1645, allocations: 3.938 kB / 0.5603 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1645, allocations: 0 / 0.5603 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.1646, allocations: 35.89 kB / 0.5604 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.1651, allocations: 304.8 kB / 0.5606 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.1652, allocations: 46.5 kB / 0.5607 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.681e-05/0.1653, allocations: 20.94 kB / 0.5607 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.1653, allocations: 3.938 kB / 0.5607 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.1653, allocations: 34.56 kB / 0.5607 GB, free: 1.723 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.1653, allocations: 0 / 0.5607 GB, free: 1.723 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009911/0.1663, allocations: 241.2 kB / 0.561 GB, free: 1.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.1664, allocations: 51.41 kB / 0.561 GB, free: 1.418 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.1666, allocations: 206.4 kB / 0.5612 GB, free: 1.207 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.1666, allocations: 29.7 kB / 0.5613 GB, free: 1.172 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.651e-05/0.1667, allocations: 108 kB / 0.5614 GB, free: 1.062 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.1667, allocations: 31.86 kB / 0.5614 GB, free: 1.031 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.1668, allocations: 25.72 kB / 0.5614 GB, free: 1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.167, allocations: 326.8 kB / 0.5617 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.838e-05/0.167, allocations: 31.97 kB / 0.5618 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.006e-05/0.1671, allocations: 27.98 kB / 0.5618 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.1673, allocations: 80.69 kB / 0.5619 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1673, allocations: 0 / 0.5619 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002633/0.1676, allocations: 113.8 kB / 0.562 GB, free: 424 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1676, allocations: 9.875 kB / 0.562 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1676, allocations: 0 / 0.562 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1676, allocations: 0 / 0.562 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.1677, allocations: 15.98 kB / 0.562 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.1677, allocations: 4 kB / 0.562 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.447e-05/0.1678, allocations: 7.984 kB / 0.562 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1678, allocations: 4 kB / 0.562 GB, free: 384 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0001357/0.1679, allocations: 145.6 kB / 0.5621 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.1679, allocations: 11.91 kB / 0.5622 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003118/0.1683, allocations: 127 kB / 0.5623 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1683, allocations: 0 / 0.5623 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1683, allocations: 0 / 0.5623 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.1683, allocations: 3.984 kB / 0.5623 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000616/0.1689, allocations: 423.2 kB / 0.5627 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.1689, allocations: 4 kB / 0.5627 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.99e-05/0.169, allocations: 12 kB / 0.5627 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.169, allocations: 4.359 kB / 0.5627 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.169, allocations: 15.92 kB / 0.5627 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.169, allocations: 0 / 0.5627 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.169, allocations: 0 / 0.5627 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.1693, allocations: 212.3 kB / 0.5629 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.026e-05/0.1694, allocations: 89.02 kB / 0.563 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.1694, allocations: 11.92 kB / 0.563 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.611e-05/0.1695, allocations: 7.984 kB / 0.563 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.1695, allocations: 11.94 kB / 0.563 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.1695, allocations: 7.984 kB / 0.563 GB, free: 15.19 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001781/0.1697, allocations: 164.2 kB / 0.5632 GB, free: 15.03 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1697, allocations: 0 / 0.5632 GB, free: 15.03 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1699, allocations: 23.94 kB / 0.5632 GB, free: 15.01 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (8): * Single equations (assignments): 8 * 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.001728/0.1717, allocations: 447.6 kB / 0.5636 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002637/0.1719, allocations: 71.94 kB / 0.5637 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1719, allocations: 3.938 kB / 0.5637 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.1721, allocations: 43.91 kB / 0.5638 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.1724, allocations: 21.61 kB / 0.5638 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006315/0.1731, allocations: 296.4 kB / 0.5641 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.1734, allocations: 0.7119 MB / 0.5648 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.1735, allocations: 11.44 kB / 0.5648 GB, free: 13.53 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1735, allocations: 0 / 0.5648 GB, free: 13.53 MB / 430.1 MB Notification: Performance of Templates: time 0.004301/0.1778, allocations: 1.831 MB / 0.5666 GB, free: 11.7 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.221273635979742]