Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001389/0.001389, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001595/0.001595, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.52/1.52, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2399/0.2399, allocations: 46.92 MB / 357.1 MB, free: 10.34 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.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003304/0.003304, allocations: 67.89 kB / 0.491 GB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1549, allocations: 65.99 MB / 0.5554 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003926/0.1588, allocations: 1.622 MB / 0.557 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.1603, allocations: 0.5494 MB / 0.5575 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.1604, allocations: 4 kB / 0.5575 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.1607, allocations: 75.7 kB / 0.5576 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000367/0.1611, allocations: 107.6 kB / 0.5577 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.1615, allocations: 110.8 kB / 0.5578 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.1617, allocations: 79.75 kB / 0.5579 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1619, allocations: 19.98 kB / 0.5579 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.452e-05/0.1619, allocations: 31.86 kB / 0.5579 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.1621, allocations: 59.75 kB / 0.558 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.1621, allocations: 4 kB / 0.558 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.1622, allocations: 39.98 kB / 0.558 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.43e-05/0.1623, allocations: 27.91 kB / 0.5581 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.1623, allocations: 35.69 kB / 0.5581 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.1627, allocations: 99.56 kB / 0.5582 GB, free: 2.996 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1627, allocations: 0 / 0.5582 GB, free: 2.996 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1627, allocations: 0 / 0.5582 GB, free: 2.996 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1627, allocations: 4 kB / 0.5582 GB, free: 2.992 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.0006537/0.1633, allocations: 414.7 kB / 0.5586 GB, free: 2.539 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.1634, allocations: 12.03 kB / 0.5586 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.235e-05/0.1634, allocations: 38.73 kB / 0.5586 GB, free: 2.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.1635, allocations: 12.84 kB / 0.5586 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.1637, allocations: 202.4 kB / 0.5588 GB, free: 2.234 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1637, allocations: 384 / 0.5588 GB, free: 2.234 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.1638, allocations: 8.312 kB / 0.5588 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.164, allocations: 57.62 kB / 0.5589 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.164, allocations: 0 / 0.5589 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.164, allocations: 3.984 kB / 0.5589 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.164, allocations: 4 kB / 0.5589 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.1641, allocations: 31.92 kB / 0.5589 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000541/0.1647, allocations: 300.8 kB / 0.5592 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.1648, allocations: 42.56 kB / 0.5593 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.231e-05/0.1649, allocations: 28.86 kB / 0.5593 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.1649, allocations: 4 kB / 0.5593 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.165, allocations: 30.56 kB / 0.5593 GB, free: 1.656 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.813e-06/0.165, allocations: 0 / 0.5593 GB, free: 1.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001225/0.1662, allocations: 241.3 kB / 0.5596 GB, free: 1.414 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.1663, allocations: 51.41 kB / 0.5596 GB, free: 1.352 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.1665, allocations: 205.6 kB / 0.5598 GB, free: 1.137 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.1666, allocations: 29.7 kB / 0.5598 GB, free: 1.102 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.216e-05/0.1667, allocations: 104.1 kB / 0.5599 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.1667, allocations: 31.73 kB / 0.56 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.1668, allocations: 21.72 kB / 0.56 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.167, allocations: 322.8 kB / 0.5603 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.1671, allocations: 27.98 kB / 0.5603 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.1672, allocations: 35.97 kB / 0.5603 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.1675, allocations: 76.98 kB / 0.5604 GB, free: 484 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1675, allocations: 0 / 0.5604 GB, free: 484 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003528/0.1678, allocations: 113.6 kB / 0.5605 GB, free: 364 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1679, allocations: 6.031 kB / 0.5605 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1679, allocations: 0 / 0.5605 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1679, allocations: 0 / 0.5605 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.168, allocations: 19.98 kB / 0.5606 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.168, allocations: 3.938 kB / 0.5606 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.186e-05/0.168, allocations: 8 kB / 0.5606 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.1681, allocations: 3.938 kB / 0.5606 GB, free: 324 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.0001137/0.1682, allocations: 141.7 kB / 0.5607 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.1682, allocations: 11.91 kB / 0.5607 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004235/0.1686, allocations: 131 kB / 0.5608 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1686, allocations: 0 / 0.5608 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.1686, allocations: 3.938 kB / 0.5608 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1686, allocations: 0 / 0.5608 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007814/0.1694, allocations: 419.3 kB / 0.5612 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1694, allocations: 0 / 0.5612 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.1696, allocations: 27.86 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1696, allocations: 0 / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.1696, allocations: 4 kB / 0.5613 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1696, allocations: 4 kB / 0.5613 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1696, allocations: 4 kB / 0.5613 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004228/0.17, allocations: 216.3 kB / 0.5615 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.817e-05/0.1701, allocations: 85 kB / 0.5616 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.1701, allocations: 4 kB / 0.5616 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.1702, allocations: 4 kB / 0.5616 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.1703, allocations: 3.984 kB / 0.5616 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.1703, allocations: 4 kB / 0.5616 GB, free: 15.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002249/0.1705, allocations: 165.8 kB / 0.5617 GB, free: 15 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1705, allocations: 0 / 0.5617 GB, free: 15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000435/0.1709, allocations: 19.94 kB / 0.5618 GB, free: 14.98 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.002953/0.1739, allocations: 1.106 MB / 0.5628 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003866/0.1743, allocations: 75.88 kB / 0.5629 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1743, allocations: 0 / 0.5629 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.1744, allocations: 51.84 kB / 0.563 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.1748, allocations: 11.98 kB / 0.563 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.1777, allocations: 1.679 MB / 0.5646 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.1782, allocations: 0.7119 MB / 0.5653 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.841e-05/0.1783, allocations: 20.95 kB / 0.5653 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.964e-05/0.1784, allocations: 35.42 kB / 0.5654 GB, free: 11.33 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1784, allocations: 0 / 0.5654 GB, free: 11.33 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.2089, allocations: 3.13 MB / 0.5684 GB, free: 8.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.989/8.198, allocations: 7.922 kB / 0.5684 GB, free: 8.242 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.50753275299212]