Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001241/0.001241, 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.0009831/0.0009831, 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.9244/0.9244, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2535/0.2535, allocations: 34.25 MB / 294.9 MB, free: 0.7266 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.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 442.3 MB, free: 1.566 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/2.037e-05, allocations: 2.281 kB / 442.3 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.1877/0.1877, allocations: 1.743 MB / 444 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.1887, allocations: 0.9824 MB / 445 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.225e-05/0.1888, allocations: 3.938 kB / 445 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000293/0.1891, allocations: 107.4 kB / 445.1 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.1893, allocations: 136.8 kB / 445.2 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001196/0.1894, allocations: 80.25 kB / 445.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.1896, allocations: 131.1 kB / 445.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.314e-05/0.1897, allocations: 21.23 kB / 445.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.46e-05/0.1897, allocations: 79.23 kB / 445.5 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.075e-05/0.1898, allocations: 67.28 kB / 445.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.1898, allocations: 10.03 kB / 445.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.495e-05/0.1899, allocations: 62.23 kB / 445.7 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.963e-05/0.19, allocations: 39.38 kB / 445.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.386e-05/0.19, allocations: 26.23 kB / 445.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.1902, allocations: 161 kB / 445.9 MB, free: 42.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1902, allocations: 0 / 445.9 MB, free: 42.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1902, allocations: 0 / 445.9 MB, free: 42.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1902, allocations: 0 / 445.9 MB, free: 42.87 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003628/0.1905, allocations: 385.5 kB / 446.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1906, allocations: 9.656 kB / 446.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.252e-05/0.1906, allocations: 38.62 kB / 446.3 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.1906, allocations: 21.48 kB / 446.3 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.1908, allocations: 165 kB / 446.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1908, allocations: 10.72 kB / 446.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.1908, allocations: 7.062 kB / 446.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.1909, allocations: 77.77 kB / 446.6 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.191, allocations: 0 / 446.6 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.191, allocations: 3.375 kB / 446.6 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.191, allocations: 5.672 kB / 446.6 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.389e-05/0.191, allocations: 44.75 kB / 446.7 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002655/0.1913, allocations: 297.7 kB / 446.9 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.1915, allocations: 79.59 kB / 447 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.1915, allocations: 25.72 kB / 447 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.1915, allocations: 0 / 447 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.741e-05/0.1916, allocations: 84.02 kB / 447.1 MB, free: 41.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 8.11e-07/0.1916, allocations: 0 / 447.1 MB, free: 41.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.00054/0.1922, allocations: 319.4 kB / 447.4 MB, free: 41.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.1922, allocations: 53.22 kB / 447.5 MB, free: 41.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.1923, allocations: 268.9 kB / 447.8 MB, free: 41.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.1923, allocations: 33.11 kB / 447.8 MB, free: 41.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.1924, allocations: 117.8 kB / 447.9 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.1924, allocations: 50.11 kB / 448 MB, free: 41.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.1924, allocations: 31.58 kB / 448 MB, free: 41.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.37e-05/0.1925, allocations: 334.6 kB / 448.3 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.932e-05/0.1925, allocations: 40.88 kB / 448.3 MB, free: 41.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.227e-05/0.1926, allocations: 56.55 kB / 448.4 MB, free: 41.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.1927, allocations: 109.2 kB / 448.5 MB, free: 41.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1927, allocations: 2.875 kB / 448.5 MB, free: 41.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001507/0.1928, allocations: 159.3 kB / 448.7 MB, free: 41.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.1928, allocations: 5.594 kB / 448.7 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1928, allocations: 6.844 kB / 448.7 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1929, allocations: 2.719 kB / 448.7 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.837e-05/0.1929, allocations: 29.95 kB / 448.7 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1929, allocations: 3.938 kB / 448.7 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.952e-05/0.193, allocations: 10.09 kB / 448.7 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.193, allocations: 5.25 kB / 448.7 MB, free: 41.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 6.14e-05/0.193, allocations: 138.4 kB / 448.9 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.193, allocations: 20.3 kB / 448.9 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.1932, allocations: 196.2 kB / 449.1 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1932, allocations: 10 kB / 449.1 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1932, allocations: 0 / 449.1 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1933, allocations: 7.219 kB / 449.1 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/0.1936, allocations: 489.1 kB / 449.6 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1936, allocations: 3.938 kB / 449.6 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.705e-05/0.1936, allocations: 23.66 kB / 449.6 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1936, allocations: 0 / 449.6 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1936, allocations: 10.16 kB / 449.6 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1936, allocations: 2.906 kB / 449.6 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1936, allocations: 4.062 kB / 449.6 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.1938, allocations: 276.2 kB / 449.9 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.1938, allocations: 25.45 kB / 449.9 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.1938, allocations: 5.969 kB / 449.9 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.361e-05/0.1939, allocations: 10.16 kB / 449.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.1939, allocations: 8.906 kB / 449.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.1939, allocations: 8.969 kB / 449.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.514e-05/0.194, allocations: 201.1 kB / 450.1 MB, free: 40.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.194, allocations: 0 / 450.1 MB, free: 40.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001757/0.1942, allocations: 36.75 kB / 450.2 MB, free: 40.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000949/0.1951, allocations: 1.273 MB / 451.4 MB, free: 39.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.1953, allocations: 100.7 kB / 451.5 MB, free: 39.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.1953, allocations: 3.938 kB / 451.6 MB, free: 39.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.571e-05/0.1953, allocations: 53.92 kB / 451.6 MB, free: 39.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.1955, allocations: 36.28 kB / 451.6 MB, free: 39.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.1966, allocations: 2.047 MB / 453.7 MB, free: 37.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.499e-05/0.1967, allocations: 112.7 kB / 453.8 MB, free: 37.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.538e-05/0.1967, allocations: 41.47 kB / 453.8 MB, free: 37.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.691e-05/0.1968, allocations: 54.78 kB / 453.9 MB, free: 37.57 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1968, allocations: 0 / 453.9 MB, free: 37.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/0.2135, allocations: 5.214 MB / 459.1 MB, free: 36.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.842/7.056, allocations: 10.62 kB / 459.1 MB, free: 36.07 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.CombiTimeTable.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable d_t_new2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable d_t_new2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.208231600932777]