Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.0008434/0.0008434, 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.0009289/0.0009289, 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.9157/0.9157, 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.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.2547/0.2547, allocations: 34.25 MB / 294.9 MB, free: 0.7188 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.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.181e-05, allocations: 6.281 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.002786/0.002808, allocations: 1.584 MB / 443.8 MB, free: 48 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1872/0.19, allocations: 1.246 MB / 445 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.158e-05/0.1901, allocations: 5.281 kB / 445 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.1903, allocations: 15.89 kB / 445 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.1905, allocations: 95.14 kB / 445.1 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.1907, allocations: 92.77 kB / 445.2 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.1909, allocations: 68.8 kB / 445.3 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.191, allocations: 16.61 kB / 445.3 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.496e-05/0.191, allocations: 33.34 kB / 445.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.587e-05/0.1911, allocations: 26.42 kB / 445.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.1911, allocations: 5.344 kB / 445.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.1912, allocations: 89.55 kB / 445.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.1913, allocations: 16.41 kB / 445.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/0.1913, allocations: 8.938 kB / 445.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.1915, allocations: 153.8 kB / 445.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1915, allocations: 0 / 445.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1915, allocations: 0 / 445.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1915, allocations: 0 / 445.6 MB, free: 43.09 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003615/0.1919, allocations: 326.5 kB / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1919, allocations: 8.469 kB / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.778e-05/0.1919, allocations: 34.19 kB / 446 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.192, allocations: 7.766 kB / 446 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.1921, allocations: 141.8 kB / 446.1 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.1921, allocations: 3.25 kB / 446.1 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.1921, allocations: 9.844 kB / 446.2 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.1922, allocations: 90.47 kB / 446.2 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1923, allocations: 192 / 446.2 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.1923, allocations: 3.938 kB / 446.3 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1923, allocations: 2.969 kB / 446.3 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.859e-05/0.1923, allocations: 25.22 kB / 446.3 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/0.1926, allocations: 245.1 kB / 446.5 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.1928, allocations: 43.31 kB / 446.6 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.08e-05/0.1928, allocations: 20.98 kB / 446.6 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1928, allocations: 0 / 446.6 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.214e-05/0.1928, allocations: 30.56 kB / 446.6 MB, free: 42.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.1928, allocations: 2.906 kB / 446.6 MB, free: 42.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000388/0.1932, allocations: 138.9 kB / 446.7 MB, free: 42.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.1932, allocations: 77.11 kB / 446.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.158e-05/0.1933, allocations: 144.6 kB / 447 MB, free: 41.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.801e-06/0.1933, allocations: 25.7 kB / 447 MB, free: 41.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.954e-05/0.1934, allocations: 94.38 kB / 447.1 MB, free: 41.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.1934, allocations: 23.77 kB / 447.1 MB, free: 41.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.1934, allocations: 23.56 kB / 447.1 MB, free: 41.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.932e-05/0.1934, allocations: 321.5 kB / 447.4 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.562e-05/0.1935, allocations: 20.08 kB / 447.5 MB, free: 41.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.216e-05/0.1935, allocations: 60.17 kB / 447.5 MB, free: 41.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.653e-05/0.1936, allocations: 45.38 kB / 447.6 MB, free: 41.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1936, allocations: 2.656 kB / 447.6 MB, free: 41.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.757e-05/0.1937, allocations: 80.02 kB / 447.6 MB, free: 41.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.1937, allocations: 6.656 kB / 447.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1937, allocations: 2.469 kB / 447.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1937, allocations: 0 / 447.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.285e-05/0.1938, allocations: 20.8 kB / 447.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.1938, allocations: 0 / 447.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.319e-05/0.1938, allocations: 10.05 kB / 447.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.1938, allocations: 2.812 kB / 447.7 MB, free: 41.3 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 4.445e-05/0.1939, allocations: 117.6 kB / 447.8 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/0.1939, allocations: 9.672 kB / 447.8 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.194, allocations: 93.25 kB / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.194, allocations: 3.938 kB / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.194, allocations: 0 / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.194, allocations: 0 / 447.9 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.1943, allocations: 318 kB / 448.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1943, allocations: 0 / 448.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.885e-05/0.1943, allocations: 16.67 kB / 448.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1943, allocations: 0 / 448.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.036e-06/0.1943, allocations: 7 kB / 448.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1943, allocations: 0 / 448.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1943, allocations: 3.188 kB / 448.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.493e-05/0.1944, allocations: 183.1 kB / 448.4 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-06/0.1944, allocations: 6.828 kB / 448.4 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.1944, allocations: 0 / 448.4 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.974e-05/0.1945, allocations: 6.219 kB / 448.4 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.1945, allocations: 10.78 kB / 448.4 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.1945, allocations: 0 / 448.4 MB, free: 40.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.617e-05/0.1945, allocations: 116.6 kB / 448.6 MB, free: 40.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1945, allocations: 4 kB / 448.6 MB, free: 40.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000199/0.1947, allocations: 38.75 kB / 448.6 MB, free: 40.55 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.000938/0.1957, allocations: 1.139 MB / 449.7 MB, free: 39.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.1958, allocations: 46.19 kB / 449.8 MB, free: 39.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1958, allocations: 0 / 449.8 MB, free: 39.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.474e-05/0.1958, allocations: 24.19 kB / 449.8 MB, free: 39.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.1961, allocations: 34.17 kB / 449.8 MB, free: 39.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009124/0.197, allocations: 1.432 MB / 451.3 MB, free: 38.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.557e-05/0.1971, allocations: 75.2 kB / 451.3 MB, free: 38.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.19e-05/0.1971, allocations: 17.88 kB / 451.4 MB, free: 38.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/0.1972, allocations: 30.92 kB / 451.4 MB, free: 38.42 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1972, allocations: 0 / 451.4 MB, free: 38.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.2149, allocations: 3.984 MB / 455.4 MB, free: 36.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.945/7.16, allocations: 7.281 kB / 455.4 MB, free: 36.97 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.CombiTable1Ds.Test24_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.310863527469337]