Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.0008668/0.0008668, allocations: 79.7 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.0007947/0.0007947, allocations: 174 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.9127/0.9127, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2519/0.2519, allocations: 34.25 MB / 294.9 MB, free: 0.7148 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.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.089e-05, allocations: 2.844 kB / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.1827/0.1827, allocations: 1.641 MB / 443.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008862/0.1836, allocations: 0.5428 MB / 444.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.542e-05/0.1836, allocations: 0 / 444.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003816/0.184, allocations: 447.8 kB / 444.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003245/0.1843, allocations: 298.4 kB / 445.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.1846, allocations: 135.1 kB / 445.2 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.1848, allocations: 167.2 kB / 445.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1849, allocations: 11.39 kB / 445.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.185, allocations: 120.8 kB / 445.5 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.1852, allocations: 244.6 kB / 445.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.1852, allocations: 2.688 kB / 445.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.398e-05/0.1853, allocations: 34.16 kB / 445.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.1854, allocations: 87.72 kB / 445.9 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.1854, allocations: 40.3 kB / 445.9 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.1857, allocations: 241.5 kB / 446.2 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1857, allocations: 2.719 kB / 446.2 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1857, allocations: 0 / 446.2 MB, free: 42.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1857, allocations: 0 / 446.2 MB, free: 42.99 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.0005173/0.1862, allocations: 0.586 MB / 446.8 MB, free: 42.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.1862, allocations: 10.66 kB / 446.8 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.325e-05/0.1863, allocations: 30.75 kB / 446.8 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.1863, allocations: 51.92 kB / 446.9 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.1865, allocations: 243.3 kB / 447.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.1866, allocations: 3.438 kB / 447.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.1866, allocations: 0.9375 kB / 447.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.1867, allocations: 63.52 kB / 447.2 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.1867, allocations: 192 / 447.2 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1868, allocations: 3.938 kB / 447.2 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.1868, allocations: 2.875 kB / 447.2 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.281e-05/0.1868, allocations: 33.55 kB / 447.2 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.1872, allocations: 348.6 kB / 447.5 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.1874, allocations: 46.97 kB / 447.6 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.179e-05/0.1875, allocations: 17.59 kB / 447.6 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.1875, allocations: 3.406 kB / 447.6 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.1875, allocations: 33.41 kB / 447.6 MB, free: 41.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.1875, allocations: 0 / 447.6 MB, free: 41.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004614/0.188, allocations: 237.1 kB / 447.9 MB, free: 41.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.188, allocations: 54.22 kB / 447.9 MB, free: 41.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005437/0.1885, allocations: 0.8702 MB / 448.8 MB, free: 41.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.1886, allocations: 29.7 kB / 448.8 MB, free: 41.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.656e-05/0.1887, allocations: 229.7 kB / 449 MB, free: 41.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.1887, allocations: 19.27 kB / 449.1 MB, free: 41.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.1887, allocations: 19.47 kB / 449.1 MB, free: 41.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.151e-05/0.1887, allocations: 361 kB / 449.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.03e-05/0.1888, allocations: 18.53 kB / 449.5 MB, free: 41.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.046e-05/0.1888, allocations: 21.8 kB / 449.5 MB, free: 41.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.865e-05/0.1889, allocations: 46.28 kB / 449.5 MB, free: 41.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1889, allocations: 4 kB / 449.5 MB, free: 41.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001136/0.189, allocations: 119.6 kB / 449.6 MB, free: 40.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.189, allocations: 5.656 kB / 449.6 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.189, allocations: 0 / 449.6 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.189, allocations: 0 / 449.6 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.686e-05/0.1891, allocations: 14.53 kB / 449.7 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1891, allocations: 0 / 449.7 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.1891, allocations: 6.094 kB / 449.7 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.1891, allocations: 2.656 kB / 449.7 MB, free: 40.97 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 (5): * Single equations (assignments): 5 * 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.0001088/0.1892, allocations: 221.2 kB / 449.9 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.1893, allocations: 47.73 kB / 449.9 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.1894, allocations: 142.9 kB / 450.1 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1894, allocations: 0.5625 kB / 450.1 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1894, allocations: 0 / 450.1 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.1894, allocations: 0 / 450.1 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.1898, allocations: 427.5 kB / 450.5 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1898, allocations: 6.75 kB / 450.5 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.857e-05/0.1898, allocations: 11.7 kB / 450.5 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1898, allocations: 0 / 450.5 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1898, allocations: 2.969 kB / 450.5 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1898, allocations: 3.938 kB / 450.5 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1898, allocations: 6.844 kB / 450.5 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.1899, allocations: 210 kB / 450.7 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.793e-05/0.1899, allocations: 42.59 kB / 450.8 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.19, allocations: 7.938 kB / 450.8 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.511e-05/0.19, allocations: 6.844 kB / 450.8 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.19, allocations: 10.02 kB / 450.8 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.19, allocations: 2.875 kB / 450.8 MB, free: 40.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000359/0.1904, allocations: 0.6599 MB / 451.5 MB, free: 39.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1904, allocations: 2.25 kB / 451.5 MB, free: 39.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001806/0.1906, allocations: 20.47 kB / 451.5 MB, free: 39.95 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 (5): * Single equations (assignments): 5 * 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.0008935/0.1915, allocations: 1.072 MB / 452.5 MB, free: 39.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001089/0.1916, allocations: 47.5 kB / 452.6 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1916, allocations: 2.812 kB / 452.6 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.339e-05/0.1916, allocations: 25.59 kB / 452.6 MB, free: 39.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.1919, allocations: 32.95 kB / 452.7 MB, free: 39.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.1937, allocations: 3.25 MB / 455.9 MB, free: 37.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.1938, allocations: 216.3 kB / 456.1 MB, free: 37.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.088e-05/0.1938, allocations: 15.88 kB / 456.1 MB, free: 37.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.937e-05/0.1939, allocations: 111.3 kB / 456.2 MB, free: 37.2 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1939, allocations: 0 / 456.2 MB, free: 37.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01594/0.2099, allocations: 6.723 MB / 463 MB, free: 35.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.028/7.238, allocations: 7.344 kB / 463 MB, free: 35.54 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_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_CombiTable2Ds_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.367472832091153]