Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.0008505/0.0008505, allocations: 91.67 kB / 20.68 MB, free: 3.871 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.0009298/0.0009298, allocations: 166 kB / 23.95 MB, free: 0.5977 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.9235/0.9235, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2277/0.2277, allocations: 32.78 MB / 293.5 MB, free: 1.211 MB / 266.7 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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 3.938 kB / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.777e-05, allocations: 2.281 kB / 439.6 MB, free: 4.215 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002094/0.002121, allocations: 1.675 MB / 441.3 MB, free: 2.527 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.003147, allocations: 0.5685 MB / 441.8 MB, free: 1.953 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.73e-05/0.003205, allocations: 3.938 kB / 441.9 MB, free: 1.949 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.003429, allocations: 67.77 kB / 441.9 MB, free: 1.883 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.003675, allocations: 107.5 kB / 442 MB, free: 1.777 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.003996, allocations: 184.3 kB / 442.2 MB, free: 1.602 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.004137, allocations: 95.73 kB / 442.3 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.326e-05/0.00423, allocations: 12.22 kB / 442.3 MB, free: 1.492 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.968e-05/0.0043, allocations: 59.81 kB / 442.4 MB, free: 1.434 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.699e-05/0.004387, allocations: 51.88 kB / 442.4 MB, free: 1.383 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.0044, allocations: 7.938 kB / 442.4 MB, free: 1.375 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.938e-05/0.004479, allocations: 51.91 kB / 442.5 MB, free: 1.324 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.768e-05/0.004537, allocations: 35.86 kB / 442.5 MB, free: 1.289 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.004564, allocations: 15.92 kB / 442.5 MB, free: 1.273 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.004724, allocations: 123.5 kB / 442.6 MB, free: 1.152 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.004726, allocations: 0 / 442.6 MB, free: 1.152 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004727, allocations: 0 / 442.6 MB, free: 1.152 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.004731, allocations: 0 / 442.6 MB, free: 1.152 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003962/0.005128, allocations: 365.4 kB / 443 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.005161, allocations: 8.031 kB / 443 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.001e-05/0.005191, allocations: 38.75 kB / 443 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.005217, allocations: 12.84 kB / 443.1 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.005352, allocations: 153.5 kB / 443.2 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.005362, allocations: 4.375 kB / 443.2 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.005378, allocations: 4.375 kB / 443.2 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.005501, allocations: 70.16 kB / 443.3 MB, free: 452 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.005511, allocations: 192 / 443.3 MB, free: 452 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.005521, allocations: 7.938 kB / 443.3 MB, free: 444 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.005526, allocations: 3.984 kB / 443.3 MB, free: 440 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.136e-05/0.005607, allocations: 39.97 kB / 443.3 MB, free: 400 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.005933, allocations: 295.8 kB / 443.6 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1649/0.1709, allocations: 61.11 kB / 443.7 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.103e-05/0.171, allocations: 26.09 kB / 443.7 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.171, allocations: 2.656 kB / 443.7 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.202e-05/0.171, allocations: 30.56 kB / 443.7 MB, free: 46.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 2.114e-06/0.171, allocations: 1.531 kB / 443.7 MB, free: 46.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.000902/0.1719, allocations: 431.5 kB / 444.2 MB, free: 46.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.1719, allocations: 57.44 kB / 444.2 MB, free: 46.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.1721, allocations: 231.8 kB / 444.5 MB, free: 46.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.1721, allocations: 27.27 kB / 444.5 MB, free: 46.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.904e-05/0.1721, allocations: 110.8 kB / 444.6 MB, free: 46.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.1721, allocations: 39.95 kB / 444.6 MB, free: 46.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.1722, allocations: 25.61 kB / 444.6 MB, free: 46.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.946e-05/0.1722, allocations: 325.2 kB / 445 MB, free: 45.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.241e-05/0.1723, allocations: 51.73 kB / 445 MB, free: 45.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.485e-05/0.1723, allocations: 58.55 kB / 445.1 MB, free: 45.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.1725, allocations: 132.2 kB / 445.2 MB, free: 45.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1725, allocations: 0 / 445.2 MB, free: 45.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001763/0.1726, allocations: 170.3 kB / 445.4 MB, free: 45.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1727, allocations: 5.531 kB / 445.4 MB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1727, allocations: 3.656 kB / 445.4 MB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1727, allocations: 0 / 445.4 MB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.997e-05/0.1728, allocations: 26.69 kB / 445.4 MB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.1728, allocations: 7.141 kB / 445.4 MB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.306e-05/0.1728, allocations: 18.34 kB / 445.4 MB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1728, allocations: 2.812 kB / 445.4 MB, free: 45.78 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 (11): * Single equations (assignments): 11 * 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 6.105e-05/0.1729, allocations: 130.7 kB / 445.6 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.1729, allocations: 17.19 kB / 445.6 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.1731, allocations: 198 kB / 445.8 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1731, allocations: 3.156 kB / 445.8 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1731, allocations: 3.188 kB / 445.8 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.1731, allocations: 3.938 kB / 445.8 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003819/0.1735, allocations: 470.3 kB / 446.2 MB, free: 45.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1735, allocations: 0 / 446.2 MB, free: 45.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.167e-05/0.1736, allocations: 30.44 kB / 446.3 MB, free: 45.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1736, allocations: 2.844 kB / 446.3 MB, free: 45.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.1736, allocations: 5.969 kB / 446.3 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.1736, allocations: 9.75 kB / 446.3 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1736, allocations: 0 / 446.3 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.1738, allocations: 274.8 kB / 446.6 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.1738, allocations: 20.33 kB / 446.6 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.1738, allocations: 2.719 kB / 446.6 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.031e-05/0.1739, allocations: 12.97 kB / 446.6 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.1739, allocations: 12.61 kB / 446.6 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.1739, allocations: 5.875 kB / 446.6 MB, free: 45.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.995e-05/0.174, allocations: 167.8 kB / 446.8 MB, free: 44.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.174, allocations: 4 kB / 446.8 MB, free: 44.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003346/0.1743, allocations: 25.94 kB / 446.8 MB, free: 44.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001014/0.1753, allocations: 1.189 MB / 448 MB, free: 44.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.1756, allocations: 127.9 kB / 448.1 MB, free: 44.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1756, allocations: 0 / 448.1 MB, free: 44.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.272e-05/0.1756, allocations: 66.98 kB / 448.2 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.1759, allocations: 22.95 kB / 448.2 MB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.1772, allocations: 1.997 MB / 450.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.343e-05/0.1773, allocations: 104.1 kB / 450.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.677e-05/0.1774, allocations: 36.03 kB / 450.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.643e-05/0.1774, allocations: 46.59 kB / 450.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1774, allocations: 0 / 450.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.1957, allocations: 4.345 MB / 454.7 MB, free: 41.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.831/7.027, allocations: 3.125 kB / 454.7 MB, free: 41.16 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_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_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.139332433231175]