Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001135/0.001135, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001421/0.001421, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9042/0.9042, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2348/0.2348, allocations: 34.25 MB / 294.9 MB, free: 0.7383 MB / 266.7 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.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.369e-05, allocations: 6.281 kB / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.1719/0.1719, allocations: 1.637 MB / 443.8 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007887/0.1727, allocations: 0.5676 MB / 444.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.709e-05/0.1728, allocations: 4.656 kB / 444.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003739/0.1731, allocations: 458 kB / 444.9 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003101/0.1735, allocations: 297.8 kB / 445.1 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.1737, allocations: 182.3 kB / 445.3 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.1739, allocations: 178.8 kB / 445.5 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.174, allocations: 12.23 kB / 445.5 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.784e-05/0.1741, allocations: 123.9 kB / 445.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.1742, allocations: 251.3 kB / 445.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.1743, allocations: 2.531 kB / 445.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.591e-05/0.1743, allocations: 28.38 kB / 445.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.654e-05/0.1744, allocations: 89.09 kB / 446 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.1744, allocations: 49.44 kB / 446 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.1746, allocations: 245.8 kB / 446.3 MB, free: 43.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1746, allocations: 3.938 kB / 446.3 MB, free: 43.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1746, allocations: 3.906 kB / 446.3 MB, free: 43.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1746, allocations: 0 / 446.3 MB, free: 43.06 MB / 410.7 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.0004526/0.1751, allocations: 0.5907 MB / 446.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1751, allocations: 8.75 kB / 446.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.486e-05/0.1752, allocations: 38.62 kB / 446.9 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.1752, allocations: 45.06 kB / 447 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.1754, allocations: 249.5 kB / 447.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.1754, allocations: 3.219 kB / 447.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.1754, allocations: 7.188 kB / 447.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.1755, allocations: 66.67 kB / 447.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1755, allocations: 192 / 447.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1755, allocations: 6.562 kB / 447.3 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1755, allocations: 0 / 447.3 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.821e-05/0.1756, allocations: 42.86 kB / 447.3 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.1759, allocations: 377.1 kB / 447.7 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.367e-05/0.176, allocations: 45.62 kB / 447.8 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.863e-05/0.176, allocations: 30.3 kB / 447.8 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.1761, allocations: 2.75 kB / 447.8 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.369e-05/0.1761, allocations: 34.31 kB / 447.8 MB, free: 41.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.1761, allocations: 0 / 447.8 MB, free: 41.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005312/0.1766, allocations: 321.2 kB / 448.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.1766, allocations: 54.59 kB / 448.2 MB, free: 41.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000447/0.1771, allocations: 0.8703 MB / 449.1 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.1771, allocations: 29.64 kB / 449.1 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.892e-05/0.1772, allocations: 222.2 kB / 449.3 MB, free: 41.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.853e-05/0.1772, allocations: 22.7 kB / 449.3 MB, free: 41.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.1772, allocations: 25.53 kB / 449.3 MB, free: 41.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.948e-05/0.1773, allocations: 364.9 kB / 449.7 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.831e-05/0.1773, allocations: 39.67 kB / 449.7 MB, free: 41.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.521e-05/0.1774, allocations: 44.27 kB / 449.8 MB, free: 41.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.1775, allocations: 83.12 kB / 449.9 MB, free: 41.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1775, allocations: 0 / 449.9 MB, free: 41.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00016/0.1777, allocations: 158.7 kB / 450 MB, free: 40.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1777, allocations: 9.844 kB / 450 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1777, allocations: 0 / 450 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1777, allocations: 0 / 450 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.372e-05/0.1778, allocations: 21.95 kB / 450.1 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1778, allocations: 2.938 kB / 450.1 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.227e-05/0.1778, allocations: 11.39 kB / 450.1 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.1778, allocations: 0 / 450.1 MB, free: 40.94 MB / 410.7 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 (7): * Single equations (assignments): 7 * 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.0001073/0.1779, allocations: 221.9 kB / 450.3 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.178, allocations: 45.55 kB / 450.3 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.1782, allocations: 188.3 kB / 450.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1782, allocations: 0 / 450.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1782, allocations: 6.156 kB / 450.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.1782, allocations: 3.938 kB / 450.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003528/0.1786, allocations: 479.8 kB / 451 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1786, allocations: 4 kB / 451 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.616e-05/0.1786, allocations: 23.02 kB / 451 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1786, allocations: 0 / 451 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1786, allocations: 4 kB / 451 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1786, allocations: 3.719 kB / 451 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1786, allocations: 3.938 kB / 451 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.1788, allocations: 259.2 kB / 451.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.1788, allocations: 39.66 kB / 451.3 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.1788, allocations: 6.906 kB / 451.3 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.54e-05/0.1789, allocations: 9.062 kB / 451.3 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.1789, allocations: 14.06 kB / 451.4 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.1789, allocations: 6.875 kB / 451.4 MB, free: 40.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003223/0.1792, allocations: 0.6497 MB / 452 MB, free: 39.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1792, allocations: 2.25 kB / 452 MB, free: 39.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000186/0.1794, allocations: 34.75 kB / 452 MB, free: 39.89 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.0008755/0.1803, allocations: 1.114 MB / 453.2 MB, free: 39.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001745/0.1805, allocations: 88.33 kB / 453.2 MB, free: 39.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1805, allocations: 2.656 kB / 453.2 MB, free: 39.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.017e-05/0.1805, allocations: 46.98 kB / 453.3 MB, free: 39.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.1809, allocations: 31.16 kB / 453.3 MB, free: 39.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.1831, allocations: 3.384 MB / 456.7 MB, free: 37.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.1832, allocations: 227.9 kB / 456.9 MB, free: 37.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.306e-05/0.1833, allocations: 31.09 kB / 457 MB, free: 37.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.208e-05/0.1834, allocations: 120.4 kB / 457.1 MB, free: 37.07 MB / 410.7 MB Notification: Performance of SimCode: time 9.71e-07/0.1834, allocations: 0 / 457.1 MB, free: 37.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.2024, allocations: 6.939 MB / 464 MB, free: 35.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.073/7.276, allocations: 11.2 kB / 464 MB, free: 35.39 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.36178826726973]