Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.0009207/0.0009207, 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.0008616/0.0008616, 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.9051/0.9051, allocations: 177.1 MB / 204.3 MB, free: 5.707 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.2526/0.2526, allocations: 34.25 MB / 294.9 MB, free: 0.7031 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.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.065e-05, allocations: 3.547 kB / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002377/0.002398, allocations: 1.619 MB / 443.8 MB, free: 12 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1881/0.1905, allocations: 1.251 MB / 445.1 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.991e-05/0.1905, allocations: 0 / 445.1 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.1908, allocations: 27.53 kB / 445.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002507/0.191, allocations: 84.72 kB / 445.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.1912, allocations: 124.7 kB / 445.3 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.1914, allocations: 78.86 kB / 445.4 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1915, allocations: 17.06 kB / 445.4 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.709e-05/0.1916, allocations: 36.47 kB / 445.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.965e-05/0.1916, allocations: 30.95 kB / 445.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1917, allocations: 2.969 kB / 445.5 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.1918, allocations: 98.47 kB / 445.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.46e-05/0.1918, allocations: 16.72 kB / 445.6 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.1919, allocations: 20.27 kB / 445.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.1921, allocations: 161.2 kB / 445.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1921, allocations: 0.5625 kB / 445.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1921, allocations: 1.5 kB / 445.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.1921, allocations: 3.781 kB / 445.7 MB, free: 43.01 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.0003827/0.1925, allocations: 331 kB / 446.1 MB, free: 42.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1925, allocations: 10.75 kB / 446.1 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.262e-05/0.1925, allocations: 37.31 kB / 446.1 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.1925, allocations: 11.66 kB / 446.1 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.1927, allocations: 140.4 kB / 446.3 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.1927, allocations: 4.375 kB / 446.3 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.1927, allocations: 3.188 kB / 446.3 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.1928, allocations: 109.3 kB / 446.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1928, allocations: 8.406 kB / 446.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.1928, allocations: 3.938 kB / 446.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1928, allocations: 2.656 kB / 446.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.449e-05/0.1929, allocations: 38.41 kB / 446.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002783/0.1932, allocations: 283.7 kB / 446.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.702e-05/0.1933, allocations: 58.81 kB / 446.8 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.956e-05/0.1933, allocations: 20.94 kB / 446.8 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1933, allocations: 0 / 446.8 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/0.1933, allocations: 33.59 kB / 446.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1933, allocations: 0 / 446.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004188/0.1938, allocations: 194.3 kB / 447 MB, free: 41.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.1938, allocations: 80.05 kB / 447.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.003e-05/0.1939, allocations: 148.7 kB / 447.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.615e-06/0.1939, allocations: 29.7 kB / 447.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.73e-05/0.1939, allocations: 98.52 kB / 447.4 MB, free: 41.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.1939, allocations: 21.89 kB / 447.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.1939, allocations: 27.03 kB / 447.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.331e-05/0.194, allocations: 324.9 kB / 447.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.5e-05/0.194, allocations: 25.56 kB / 447.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.954e-05/0.1941, allocations: 74.14 kB / 447.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.626e-05/0.1942, allocations: 80.06 kB / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1942, allocations: 3.188 kB / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001148/0.1943, allocations: 100.2 kB / 448 MB, free: 41.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1943, allocations: 5.375 kB / 448 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1943, allocations: 5.438 kB / 448 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1943, allocations: 3.375 kB / 448 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.296e-05/0.1944, allocations: 21.22 kB / 448 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1944, allocations: 2.406 kB / 448 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.581e-05/0.1944, allocations: 2.281 kB / 448 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.1944, allocations: 9.938 kB / 448 MB, free: 41.11 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.591e-05/0.1945, allocations: 125.2 kB / 448.2 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.1945, allocations: 6.828 kB / 448.2 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.1947, allocations: 135.3 kB / 448.3 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1947, allocations: 2.906 kB / 448.3 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1947, allocations: 5.312 kB / 448.3 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1947, allocations: 0 / 448.3 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.1949, allocations: 368.5 kB / 448.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1949, allocations: 2.594 kB / 448.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.195, allocations: 16.52 kB / 448.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.195, allocations: 0 / 448.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.195, allocations: 5.969 kB / 448.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.195, allocations: 3.938 kB / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.195, allocations: 0 / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.1951, allocations: 217.6 kB / 448.9 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.348e-06/0.1951, allocations: 6.953 kB / 448.9 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.1951, allocations: 0 / 448.9 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.926e-05/0.1951, allocations: 14.17 kB / 448.9 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.1952, allocations: 6.203 kB / 448.9 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1952, allocations: 5.031 kB / 448.9 MB, free: 40.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.58e-05/0.1952, allocations: 117.1 kB / 449.1 MB, free: 40.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1952, allocations: 0 / 449.1 MB, free: 40.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001855/0.1954, allocations: 42.28 kB / 449.1 MB, free: 40.33 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.00094/0.1963, allocations: 1.175 MB / 450.3 MB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.1965, allocations: 67.58 kB / 450.3 MB, free: 39.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1965, allocations: 0 / 450.3 MB, free: 39.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.57e-05/0.1965, allocations: 40.97 kB / 450.4 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.1968, allocations: 29.75 kB / 450.4 MB, free: 39.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009411/0.1977, allocations: 1.554 MB / 452 MB, free: 38.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.513e-05/0.1978, allocations: 82.44 kB / 452 MB, free: 38.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.531e-05/0.1979, allocations: 23.88 kB / 452.1 MB, free: 38.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.131e-05/0.1979, allocations: 37.62 kB / 452.1 MB, free: 38.11 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1979, allocations: 0 / 452.1 MB, free: 38.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01535/0.2133, allocations: 4.227 MB / 456.3 MB, free: 36.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.019/7.232, allocations: 7.438 kB / 456.3 MB, free: 36.63 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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_1_0_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv failed! Error: Could not read variable d_t_new2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv. Warning: Get data of variable d_t_new2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.348949991166592]