Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.0008411/0.0008411, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008148/0.0008148, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.9241/0.9241, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.247/0.247, allocations: 32.78 MB / 293.5 MB, free: 1.23 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.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.926e-06/2.926e-06, allocations: 0 / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/3.146e-05, allocations: 2.844 kB / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002674/0.002706, allocations: 1.663 MB / 441.3 MB, free: 2.547 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007643/0.00347, allocations: 0.5452 MB / 441.8 MB, free: 1.996 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.276e-05/0.003533, allocations: 4 kB / 441.8 MB, free: 1.992 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004418/0.003975, allocations: 451 kB / 442.3 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003921/0.004367, allocations: 295.1 kB / 442.6 MB, free: 1.262 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.004639, allocations: 134.6 kB / 442.7 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.004847, allocations: 179.6 kB / 442.9 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.004958, allocations: 11.98 kB / 442.9 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.005072, allocations: 123.8 kB / 443 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.005254, allocations: 235.6 kB / 443.2 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.00527, allocations: 4 kB / 443.2 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.005508, allocations: 63.84 kB / 443.3 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.786e-05/0.005596, allocations: 79.7 kB / 443.4 MB, free: 460 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.666e-05/0.005633, allocations: 39.75 kB / 443.4 MB, free: 420 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.005872, allocations: 263 kB / 443.7 MB, free: 156 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.005876, allocations: 4 kB / 443.7 MB, free: 152 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005877, allocations: 0 / 443.7 MB, free: 152 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.005882, allocations: 0 / 443.7 MB, free: 152 kB / 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.1825/0.1884, allocations: 0.5817 MB / 444.2 MB, free: 46.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1884, allocations: 10.28 kB / 444.3 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.496e-05/0.1885, allocations: 38.73 kB / 444.3 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.1885, allocations: 49.8 kB / 444.3 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.1887, allocations: 243.7 kB / 444.6 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.1887, allocations: 8 kB / 444.6 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.1887, allocations: 7.578 kB / 444.6 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.1888, allocations: 60.91 kB / 444.7 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1888, allocations: 1.375 kB / 444.7 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.1888, allocations: 0.6875 kB / 444.7 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1888, allocations: 8.406 kB / 444.7 MB, free: 46.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.142e-05/0.1889, allocations: 29.66 kB / 444.7 MB, free: 46.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.1892, allocations: 365.1 kB / 445.1 MB, free: 46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.305e-05/0.1893, allocations: 48.06 kB / 445.1 MB, free: 45.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.858e-05/0.1893, allocations: 20.86 kB / 445.1 MB, free: 45.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.1894, allocations: 2.875 kB / 445.1 MB, free: 45.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.249e-05/0.1894, allocations: 34.03 kB / 445.2 MB, free: 45.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.1894, allocations: 0 / 445.2 MB, free: 45.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005879/0.19, allocations: 308.2 kB / 445.5 MB, free: 45.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.19, allocations: 54.03 kB / 445.5 MB, free: 45.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004452/0.1904, allocations: 0.8728 MB / 446.4 MB, free: 45.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.1904, allocations: 25.7 kB / 446.4 MB, free: 45.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.041e-05/0.1905, allocations: 231.9 kB / 446.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.1905, allocations: 25.31 kB / 446.7 MB, free: 45.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.1906, allocations: 25.22 kB / 446.7 MB, free: 45.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.378e-05/0.1906, allocations: 369 kB / 447 MB, free: 44.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.686e-05/0.1907, allocations: 32.02 kB / 447.1 MB, free: 44.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.637e-05/0.1907, allocations: 24.89 kB / 447.1 MB, free: 44.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.03e-05/0.1908, allocations: 70.39 kB / 447.2 MB, free: 44.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1908, allocations: 0 / 447.2 MB, free: 44.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001242/0.1909, allocations: 132.5 kB / 447.3 MB, free: 44.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1909, allocations: 5.75 kB / 447.3 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1909, allocations: 0 / 447.3 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1909, allocations: 3 kB / 447.3 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.973e-05/0.191, allocations: 18.72 kB / 447.3 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.191, allocations: 6.094 kB / 447.3 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.43e-05/0.191, allocations: 6.453 kB / 447.3 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.191, allocations: 2.812 kB / 447.3 MB, free: 44.82 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 (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.000107/0.1912, allocations: 218.7 kB / 447.6 MB, free: 44.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.1912, allocations: 50.67 kB / 447.6 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.1914, allocations: 156.8 kB / 447.8 MB, free: 44.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1914, allocations: 0 / 447.8 MB, free: 44.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1914, allocations: 0 / 447.8 MB, free: 44.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1914, allocations: 2.938 kB / 447.8 MB, free: 44.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/0.1917, allocations: 479.7 kB / 448.2 MB, free: 44.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1917, allocations: 3.938 kB / 448.2 MB, free: 44.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.1917, allocations: 17.34 kB / 448.2 MB, free: 44.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1918, allocations: 6.578 kB / 448.3 MB, free: 44.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1918, allocations: 2.625 kB / 448.3 MB, free: 44.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1918, allocations: 6.5 kB / 448.3 MB, free: 44.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1918, allocations: 0.7812 kB / 448.3 MB, free: 44.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.1919, allocations: 238.6 kB / 448.5 MB, free: 44.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.356e-05/0.1919, allocations: 40.31 kB / 448.5 MB, free: 44.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.1919, allocations: 13.27 kB / 448.5 MB, free: 44.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.82e-05/0.192, allocations: 6.812 kB / 448.6 MB, free: 44.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.192, allocations: 10.02 kB / 448.6 MB, free: 44.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.192, allocations: 2.938 kB / 448.6 MB, free: 44.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003259/0.1923, allocations: 0.6607 MB / 449.2 MB, free: 43.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1923, allocations: 0 / 449.2 MB, free: 43.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000184/0.1925, allocations: 29.66 kB / 449.3 MB, free: 43.76 MB / 410.7 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.001002/0.1935, allocations: 1.16 MB / 450.4 MB, free: 43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.1937, allocations: 69.39 kB / 450.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1937, allocations: 0 / 450.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.462e-05/0.1937, allocations: 38.84 kB / 450.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.1941, allocations: 33.81 kB / 450.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.1961, allocations: 3.33 MB / 453.9 MB, free: 41.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.1963, allocations: 224 kB / 454.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.383e-05/0.1963, allocations: 18.09 kB / 454.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.67e-05/0.1964, allocations: 111.4 kB / 454.2 MB, free: 40.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.342e-06/0.1964, allocations: 0 / 454.2 MB, free: 40.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/0.2142, allocations: 7.06 MB / 461.3 MB, free: 39.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.011/7.225, allocations: 7.062 kB / 461.3 MB, free: 39.25 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_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_CombiTable2Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.380543055944145]