Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.001211/0.001211, 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.0009929/0.0009929, allocations: 170 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.9501/0.9501, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2502/0.2502, allocations: 32.79 MB / 293.5 MB, free: 1.223 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.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.225e-05, allocations: 4.25 kB / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002134/0.002156, allocations: 1.615 MB / 441.2 MB, free: 2.602 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.003549, allocations: 1.243 MB / 442.5 MB, free: 1.352 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.545e-05/0.003624, allocations: 0 / 442.5 MB, free: 1.352 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.003886, allocations: 27.78 kB / 442.5 MB, free: 1.324 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.004227, allocations: 87.56 kB / 442.6 MB, free: 1.238 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.004472, allocations: 91.62 kB / 442.7 MB, free: 1.148 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.00461, allocations: 75.83 kB / 442.7 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.004713, allocations: 15.97 kB / 442.7 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.549e-05/0.004779, allocations: 43.8 kB / 442.8 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.482e-05/0.004863, allocations: 27.89 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.00488, allocations: 8 kB / 442.8 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.005019, allocations: 91.81 kB / 442.9 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.607e-05/0.005065, allocations: 19.92 kB / 442.9 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.005093, allocations: 15.92 kB / 443 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.005319, allocations: 159.6 kB / 443.1 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.005321, allocations: 0 / 443.1 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005321, allocations: 0 / 443.1 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.00533, allocations: 0 / 443.1 MB, free: 0.6992 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004612/0.005791, allocations: 345.4 kB / 443.4 MB, free: 340 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.005838, allocations: 8.031 kB / 443.5 MB, free: 332 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.38e-05/0.005872, allocations: 38.75 kB / 443.5 MB, free: 284 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.005908, allocations: 8.891 kB / 443.5 MB, free: 276 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.006082, allocations: 135.8 kB / 443.6 MB, free: 116 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.006092, allocations: 4.375 kB / 443.6 MB, free: 112 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.006114, allocations: 4.375 kB / 443.6 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1848/0.1909, allocations: 97.66 kB / 443.7 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.1909, allocations: 4.406 kB / 443.7 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.1909, allocations: 2.375 kB / 443.7 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1909, allocations: 0 / 443.7 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.1911, allocations: 32.02 kB / 443.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.1914, allocations: 265.6 kB / 444 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.133e-05/0.1915, allocations: 45.84 kB / 444.1 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.98e-05/0.1915, allocations: 19.86 kB / 444.1 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.1915, allocations: 4 kB / 444.1 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.1916, allocations: 36 kB / 444.1 MB, free: 46.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.1916, allocations: 0 / 444.1 MB, free: 46.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004396/0.192, allocations: 184.8 kB / 444.3 MB, free: 46.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.192, allocations: 81.05 kB / 444.4 MB, free: 46.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.747e-05/0.1921, allocations: 154.8 kB / 444.5 MB, free: 46.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.114e-06/0.1921, allocations: 29.92 kB / 444.6 MB, free: 46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.113e-05/0.1922, allocations: 94.94 kB / 444.7 MB, free: 45.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.1922, allocations: 32.62 kB / 444.7 MB, free: 45.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.1922, allocations: 22.16 kB / 444.7 MB, free: 45.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.038e-05/0.1922, allocations: 319.5 kB / 445 MB, free: 45.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.069e-05/0.1923, allocations: 27.33 kB / 445.1 MB, free: 45.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.728e-05/0.1923, allocations: 64.95 kB / 445.1 MB, free: 45.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.864e-05/0.1924, allocations: 66.41 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1924, allocations: 2.281 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001138/0.1925, allocations: 100.2 kB / 445.3 MB, free: 45.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1925, allocations: 5.094 kB / 445.3 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1925, allocations: 0 / 445.3 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1926, allocations: 0 / 445.3 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.79e-05/0.1926, allocations: 29.84 kB / 445.3 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.1926, allocations: 3.062 kB / 445.3 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.586e-05/0.1927, allocations: 5.328 kB / 445.3 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.1927, allocations: 4.188 kB / 445.3 MB, free: 45.48 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 4.859e-05/0.1927, allocations: 116.1 kB / 445.4 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.1927, allocations: 12.53 kB / 445.5 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.1929, allocations: 112.9 kB / 445.6 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1929, allocations: 6.844 kB / 445.6 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1929, allocations: 8.578 kB / 445.6 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1929, allocations: 1.5 kB / 445.6 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.1932, allocations: 345.3 kB / 445.9 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1932, allocations: 0 / 445.9 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.914e-05/0.1932, allocations: 24.62 kB / 445.9 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1932, allocations: 2.594 kB / 446 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.1932, allocations: 3.188 kB / 446 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1932, allocations: 0.7188 kB / 446 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1932, allocations: 5.547 kB / 446 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.1934, allocations: 198.3 kB / 446.2 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.527e-05/0.1934, allocations: 14.23 kB / 446.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.1934, allocations: 0 / 446.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.131e-05/0.1935, allocations: 6.938 kB / 446.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.1935, allocations: 6.203 kB / 446.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.1935, allocations: 3.938 kB / 446.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.38e-05/0.1936, allocations: 118.3 kB / 446.3 MB, free: 44.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1936, allocations: 2.344 kB / 446.3 MB, free: 44.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002299/0.1938, allocations: 51.02 kB / 446.4 MB, free: 44.81 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 (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.001227/0.195, allocations: 1.168 MB / 447.5 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.1952, allocations: 64.22 kB / 447.6 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1952, allocations: 0 / 447.6 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.69e-05/0.1952, allocations: 33.12 kB / 447.6 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.1956, allocations: 21.09 kB / 447.6 MB, free: 44.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.1966, allocations: 1.519 MB / 449.2 MB, free: 42.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.527e-05/0.1966, allocations: 83.27 kB / 449.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.284e-05/0.1967, allocations: 20.84 kB / 449.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.1967, allocations: 36.22 kB / 449.3 MB, free: 42.67 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1967, allocations: 0 / 449.3 MB, free: 42.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.2127, allocations: 4.175 MB / 453.5 MB, free: 41.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.97/7.183, allocations: 10.62 kB / 453.5 MB, free: 41.18 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_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_CombiTable1Ds_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.CombiTable1Ds.Test18_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv failed! Error: Could not read variable d_t_new2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv. Warning: Get data of variable d_t_new2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.3676368156448]