Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.001/0.001, allocations: 79.69 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.00136/0.00136, allocations: 170 kB / 23.94 MB, free: 0.6172 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.9183/0.9183, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.2393/0.2393, allocations: 34.26 MB / 294.9 MB, free: 0.7305 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.Test27,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616e-05/1.781e-05, allocations: 2.281 kB / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002063/0.002081, allocations: 1.606 MB / 443.8 MB, free: 16 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1877/0.1898, allocations: 0.5239 MB / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.998e-05/0.1899, allocations: 3.938 kB / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.1901, allocations: 124.7 kB / 444.5 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.1904, allocations: 132.4 kB / 444.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.1906, allocations: 94.11 kB / 444.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.1907, allocations: 100.3 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.981e-05/0.1908, allocations: 14.38 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.405e-05/0.1909, allocations: 55.27 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.994e-05/0.191, allocations: 88.12 kB / 444.9 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.191, allocations: 4.344 kB / 444.9 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.302e-05/0.1911, allocations: 43.47 kB / 445 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.818e-05/0.1911, allocations: 27.8 kB / 445 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.1911, allocations: 20.78 kB / 445 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.1913, allocations: 121.1 kB / 445.1 MB, free: 43.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1913, allocations: 0 / 445.1 MB, free: 43.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1913, allocations: 0 / 445.1 MB, free: 43.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1913, allocations: 0 / 445.1 MB, free: 43.14 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.000362/0.1917, allocations: 369.9 kB / 445.5 MB, free: 42.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1917, allocations: 14.5 kB / 445.5 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.334e-05/0.1917, allocations: 30.75 kB / 445.5 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.1918, allocations: 14.16 kB / 445.6 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.1919, allocations: 160.5 kB / 445.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.086e-06/0.1919, allocations: 384 / 445.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.1919, allocations: 3.125 kB / 445.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.192, allocations: 60.66 kB / 445.8 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.192, allocations: 6.484 kB / 445.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.192, allocations: 3.938 kB / 445.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.192, allocations: 2.781 kB / 445.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.919e-05/0.1921, allocations: 27.95 kB / 445.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002509/0.1923, allocations: 269 kB / 446.1 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.045e-05/0.1924, allocations: 44.94 kB / 446.1 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.847e-05/0.1924, allocations: 24.12 kB / 446.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.1925, allocations: 0 / 446.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.334e-05/0.1925, allocations: 33.31 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1925, allocations: 0 / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005663/0.193, allocations: 228 kB / 446.4 MB, free: 42.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.1931, allocations: 57.5 kB / 446.5 MB, free: 42.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.1932, allocations: 275.8 kB / 446.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.332e-06/0.1932, allocations: 26.45 kB / 446.8 MB, free: 42.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.1933, allocations: 114.4 kB / 446.9 MB, free: 41.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.1933, allocations: 32.89 kB / 446.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.1933, allocations: 22.56 kB / 446.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.183e-05/0.1933, allocations: 334.4 kB / 447.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.196e-05/0.1934, allocations: 20.56 kB / 447.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.637e-05/0.1934, allocations: 30.28 kB / 447.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.689e-05/0.1935, allocations: 60.83 kB / 447.4 MB, free: 41.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1935, allocations: 4 kB / 447.4 MB, free: 41.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000113/0.1936, allocations: 107.7 kB / 447.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.1936, allocations: 5.156 kB / 447.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1936, allocations: 0.7812 kB / 447.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1936, allocations: 2.812 kB / 447.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.697e-05/0.1937, allocations: 17.14 kB / 447.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.1937, allocations: 0 / 447.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.1937, allocations: 9.078 kB / 447.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.1937, allocations: 3.938 kB / 447.5 MB, free: 41.52 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 5.5e-05/0.1938, allocations: 142.9 kB / 447.6 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.1938, allocations: 17.25 kB / 447.7 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.194, allocations: 117.5 kB / 447.8 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.194, allocations: 2.906 kB / 447.8 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.194, allocations: 0 / 447.8 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.194, allocations: 0 / 447.8 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.1942, allocations: 384.9 kB / 448.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1942, allocations: 2.844 kB / 448.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/0.1943, allocations: 20.64 kB / 448.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1943, allocations: 3.672 kB / 448.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.1943, allocations: 3.281 kB / 448.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1943, allocations: 6.781 kB / 448.2 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1943, allocations: 0 / 448.2 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.1944, allocations: 201 kB / 448.4 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.417e-06/0.1944, allocations: 10.69 kB / 448.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.1944, allocations: 17.42 kB / 448.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.428e-05/0.1945, allocations: 6.844 kB / 448.4 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.1945, allocations: 10.27 kB / 448.4 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.1945, allocations: 2.938 kB / 448.4 MB, free: 40.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.853e-05/0.1946, allocations: 210.9 kB / 448.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1946, allocations: 0 / 448.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001782/0.1948, allocations: 29.02 kB / 448.7 MB, free: 40.81 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.0009203/0.1957, allocations: 1.117 MB / 449.8 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001343/0.1958, allocations: 66.44 kB / 449.9 MB, free: 40.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1958, allocations: 0 / 449.9 MB, free: 40.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.305e-05/0.1959, allocations: 42.38 kB / 449.9 MB, free: 40.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.1962, allocations: 22.3 kB / 449.9 MB, free: 40.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.1972, allocations: 1.815 MB / 451.7 MB, free: 38.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.047e-05/0.1973, allocations: 111 kB / 451.8 MB, free: 38.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.349e-05/0.1973, allocations: 6.922 kB / 451.8 MB, free: 38.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.1974, allocations: 40.88 kB / 451.9 MB, free: 38.54 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1974, allocations: 0 / 451.9 MB, free: 38.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.2132, allocations: 4.098 MB / 456 MB, free: 37.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.857/7.07, allocations: 7.328 kB / 456 MB, free: 37.15 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0029988 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.189109262079]