Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001759/0.001759, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002009/0.002009, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.55/1.55, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2413/0.2413, allocations: 44.9 MB / 355.1 MB, free: 12.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002898/0.002898, allocations: 67.89 kB / 499.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1671, allocations: 65.42 MB / 0.5518 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003735/0.1708, allocations: 1.672 MB / 0.5534 GB, free: 8.441 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.1721, allocations: 0.5806 MB / 0.554 GB, free: 7.855 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.976e-05/0.1721, allocations: 0 / 0.554 GB, free: 7.855 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000689/0.1728, allocations: 459.1 kB / 0.5544 GB, free: 7.406 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005059/0.1733, allocations: 291.3 kB / 0.5547 GB, free: 7.121 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004726/0.1738, allocations: 174.8 kB / 0.5549 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003027/0.1741, allocations: 191.5 kB / 0.555 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.1742, allocations: 16.16 kB / 0.5551 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.1744, allocations: 115.7 kB / 0.5552 GB, free: 6.637 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.1747, allocations: 251.5 kB / 0.5554 GB, free: 6.391 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.1748, allocations: 4 kB / 0.5554 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.914e-05/0.1749, allocations: 31.98 kB / 0.5554 GB, free: 6.355 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.175, allocations: 91.61 kB / 0.5555 GB, free: 6.266 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.1751, allocations: 106.9 kB / 0.5556 GB, free: 6.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.1755, allocations: 274.6 kB / 0.5559 GB, free: 5.891 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1755, allocations: 3.938 kB / 0.5559 GB, free: 5.887 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1755, allocations: 0 / 0.5559 GB, free: 5.887 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1755, allocations: 0 / 0.5559 GB, free: 5.887 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.0009659/0.1765, allocations: 0.6685 MB / 0.5565 GB, free: 5.168 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1765, allocations: 8.031 kB / 0.5566 GB, free: 5.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.308e-05/0.1766, allocations: 46.73 kB / 0.5566 GB, free: 5.105 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/0.1766, allocations: 40.66 kB / 0.5566 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.177, allocations: 308.5 kB / 0.5569 GB, free: 4.723 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.177, allocations: 8.375 kB / 0.5569 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.177, allocations: 384 / 0.5569 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.1772, allocations: 69.59 kB / 0.557 GB, free: 4.641 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1772, allocations: 0 / 0.557 GB, free: 4.641 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.1772, allocations: 0 / 0.557 GB, free: 4.641 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1772, allocations: 0 / 0.557 GB, free: 4.641 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.1774, allocations: 43.97 kB / 0.557 GB, free: 4.598 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006252/0.178, allocations: 408.6 kB / 0.5574 GB, free: 4.148 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.1782, allocations: 46.55 kB / 0.5575 GB, free: 4.094 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.581e-05/0.1783, allocations: 32.94 kB / 0.5575 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.1783, allocations: 0 / 0.5575 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.1783, allocations: 30.56 kB / 0.5575 GB, free: 4.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1783, allocations: 0 / 0.5575 GB, free: 4.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009713/0.1793, allocations: 332.6 kB / 0.5579 GB, free: 3.688 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.1793, allocations: 51.41 kB / 0.5579 GB, free: 3.625 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009423/0.1803, allocations: 0.8776 MB / 0.5588 GB, free: 2.734 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.1803, allocations: 25.7 kB / 0.5588 GB, free: 2.703 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.1805, allocations: 216 kB / 0.559 GB, free: 2.488 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.1805, allocations: 31.72 kB / 0.559 GB, free: 2.457 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.1806, allocations: 17.72 kB / 0.559 GB, free: 2.434 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.1808, allocations: 366.8 kB / 0.5594 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.1809, allocations: 39.91 kB / 0.5594 GB, free: 2.027 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.181, allocations: 35.97 kB / 0.5595 GB, free: 1.992 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.1813, allocations: 92.78 kB / 0.5596 GB, free: 1.898 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1813, allocations: 0 / 0.5596 GB, free: 1.898 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003381/0.1816, allocations: 161.3 kB / 0.5597 GB, free: 1.734 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1816, allocations: 15.92 kB / 0.5597 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1816, allocations: 0 / 0.5597 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1816, allocations: 0 / 0.5597 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.1818, allocations: 23.92 kB / 0.5597 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1818, allocations: 0 / 0.5597 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.401e-05/0.1819, allocations: 19.92 kB / 0.5598 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.1819, allocations: 4 kB / 0.5598 GB, free: 1.672 MB / 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 (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.0002074/0.1821, allocations: 216 kB / 0.56 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.529e-05/0.1821, allocations: 43.72 kB / 0.56 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004367/0.1826, allocations: 181.8 kB / 0.5602 GB, free: 1.219 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1826, allocations: 0 / 0.5602 GB, free: 1.219 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1826, allocations: 4 kB / 0.5602 GB, free: 1.215 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1826, allocations: 3.938 kB / 0.5602 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007244/0.1833, allocations: 0.5101 MB / 0.5607 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1833, allocations: 0 / 0.5607 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.301e-05/0.1834, allocations: 19.98 kB / 0.5607 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1834, allocations: 0 / 0.5607 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.1834, allocations: 7.938 kB / 0.5607 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.85e-06/0.1834, allocations: 12 kB / 0.5607 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1834, allocations: 0 / 0.5607 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.1838, allocations: 259.1 kB / 0.561 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.351e-05/0.1839, allocations: 112.8 kB / 0.5611 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.1839, allocations: 3.938 kB / 0.5611 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.184, allocations: 15.98 kB / 0.5611 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.1841, allocations: 11.94 kB / 0.5611 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.1841, allocations: 0 / 0.5611 GB, free: 180 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006888/0.1848, allocations: 0.6589 MB / 0.5618 GB, free: 15.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1848, allocations: 0 / 0.5618 GB, free: 15.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.185, allocations: 23.94 kB / 0.5618 GB, free: 15.5 MB / 430.1 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.002157/0.1872, allocations: 1.102 MB / 0.5629 GB, free: 14.53 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003405/0.1875, allocations: 83.92 kB / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.1875, allocations: 4 kB / 0.5629 GB, free: 14.44 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.1877, allocations: 51.89 kB / 0.563 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.1881, allocations: 31.89 kB / 0.563 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004426/0.1925, allocations: 3.374 MB / 0.5663 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/0.193, allocations: 0.8299 MB / 0.5671 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.896e-05/0.1931, allocations: 24.95 kB / 0.5672 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.1933, allocations: 115.4 kB / 0.5673 GB, free: 9.91 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1933, allocations: 4 kB / 0.5673 GB, free: 9.906 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/0.2213, allocations: 6.288 MB / 0.5734 GB, free: 3.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.926/9.147, allocations: 7.312 kB / 0.5734 GB, free: 3.656 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.652320109307766]