Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 119.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002173/0.002173, allocations: 200.3 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.609/1.609, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2876/0.2876, allocations: 46.93 MB / 357.1 MB, free: 10.32 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 67.91 kB / 0.491 GB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1633, allocations: 65.99 MB / 0.5554 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003344/0.1667, allocations: 1.628 MB / 0.557 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1677, allocations: 0.5494 MB / 0.5575 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.1679, allocations: 3.938 kB / 0.5575 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.1681, allocations: 79.75 kB / 0.5576 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.1685, allocations: 99.59 kB / 0.5577 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003728/0.1688, allocations: 107.7 kB / 0.5578 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.169, allocations: 87.75 kB / 0.5579 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1691, allocations: 19.98 kB / 0.5579 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.428e-05/0.1692, allocations: 39.78 kB / 0.5579 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.1693, allocations: 63.8 kB / 0.558 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.1693, allocations: 0 / 0.558 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.555e-05/0.1694, allocations: 47.98 kB / 0.5581 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.1695, allocations: 19.92 kB / 0.5581 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.447e-05/0.1695, allocations: 31.73 kB / 0.5581 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.1698, allocations: 103.6 kB / 0.5582 GB, free: 2.949 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1698, allocations: 0 / 0.5582 GB, free: 2.949 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.1698, allocations: 4 kB / 0.5582 GB, free: 2.945 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1698, allocations: 3.938 kB / 0.5582 GB, free: 2.941 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.0006467/0.1704, allocations: 418.7 kB / 0.5586 GB, free: 2.484 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1705, allocations: 12.03 kB / 0.5586 GB, free: 2.473 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.447e-05/0.1705, allocations: 38.73 kB / 0.5587 GB, free: 2.426 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.366e-05/0.1706, allocations: 12.84 kB / 0.5587 GB, free: 2.414 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.1709, allocations: 203.2 kB / 0.5589 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.1709, allocations: 4.375 kB / 0.5589 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.1709, allocations: 384 / 0.5589 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.171, allocations: 57.62 kB / 0.5589 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1711, allocations: 7.938 kB / 0.5589 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1711, allocations: 3.984 kB / 0.5589 GB, free: 2.098 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1711, allocations: 0 / 0.5589 GB, free: 2.098 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.972e-05/0.1712, allocations: 23.98 kB / 0.559 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004927/0.1717, allocations: 312.7 kB / 0.5593 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.1718, allocations: 46.5 kB / 0.5593 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.71e-05/0.1719, allocations: 24.92 kB / 0.5593 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1719, allocations: 0 / 0.5593 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.1719, allocations: 30.56 kB / 0.5594 GB, free: 1.598 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1719, allocations: 0 / 0.5594 GB, free: 1.598 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001039/0.1729, allocations: 245.2 kB / 0.5596 GB, free: 1.352 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.173, allocations: 51.41 kB / 0.5596 GB, free: 1.289 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.1732, allocations: 222.2 kB / 0.5598 GB, free: 1.062 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.1733, allocations: 33.64 kB / 0.5599 GB, free: 1.023 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.1734, allocations: 108.1 kB / 0.56 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.1735, allocations: 31.81 kB / 0.56 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.1735, allocations: 25.7 kB / 0.56 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1737, allocations: 322.8 kB / 0.5603 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.909e-05/0.1737, allocations: 27.98 kB / 0.5604 GB, free: 0.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.021e-05/0.1738, allocations: 31.97 kB / 0.5604 GB, free: 480 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.174, allocations: 72.77 kB / 0.5605 GB, free: 404 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.174, allocations: 4 kB / 0.5605 GB, free: 400 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003151/0.1743, allocations: 105.6 kB / 0.5606 GB, free: 288 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1743, allocations: 8 kB / 0.5606 GB, free: 280 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.1744, allocations: 7.984 kB / 0.5606 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1744, allocations: 0 / 0.5606 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1745, allocations: 16 kB / 0.5606 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.1745, allocations: 11.92 kB / 0.5606 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.934e-05/0.1745, allocations: 0 / 0.5606 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.1745, allocations: 7.938 kB / 0.5606 GB, free: 236 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.0001124/0.1747, allocations: 136 kB / 0.5608 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.1747, allocations: 11.91 kB / 0.5608 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.175, allocations: 131 kB / 0.5609 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.175, allocations: 0 / 0.5609 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.175, allocations: 3.938 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.175, allocations: 0 / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006306/0.1757, allocations: 419.3 kB / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1757, allocations: 4 kB / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.012e-05/0.1757, allocations: 27.86 kB / 0.5613 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1758, allocations: 0 / 0.5613 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1758, allocations: 4 kB / 0.5613 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1758, allocations: 480 / 0.5613 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1758, allocations: 0 / 0.5613 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.1761, allocations: 216.3 kB / 0.5615 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.1762, allocations: 96.94 kB / 0.5616 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.1762, allocations: 0 / 0.5616 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-05/0.1763, allocations: 7.938 kB / 0.5616 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.1763, allocations: 15.92 kB / 0.5617 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.1763, allocations: 7.938 kB / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.1765, allocations: 164.2 kB / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1765, allocations: 4 kB / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.1767, allocations: 19.94 kB / 0.5618 GB, free: 14.87 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.002346/0.179, allocations: 1.095 MB / 0.5629 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.1793, allocations: 71.89 kB / 0.563 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1793, allocations: 4 kB / 0.563 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.1794, allocations: 43.91 kB / 0.563 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.1798, allocations: 15.92 kB / 0.563 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.182, allocations: 1.723 MB / 0.5647 GB, free: 12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.1824, allocations: 0.7158 MB / 0.5654 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.643e-05/0.1825, allocations: 20.95 kB / 0.5654 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.997e-05/0.1826, allocations: 35.42 kB / 0.5655 GB, free: 11.2 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1826, allocations: 96 / 0.5655 GB, free: 11.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.2098, allocations: 3.181 MB / 0.5686 GB, free: 8.059 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.169/8.379, allocations: 15.2 kB / 0.5686 GB, free: 8.051 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.84466262900969]