Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.0008952/0.0008952, allocations: 79.7 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.001033/0.001033, allocations: 174 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.9245/0.9245, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.238/0.238, allocations: 34.25 MB / 294.9 MB, free: 0.7148 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.Test63,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.274e-05, allocations: 2.281 kB / 442.3 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.1895/0.1896, allocations: 1.661 MB / 443.9 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009815/0.1906, allocations: 0.9634 MB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.211e-05/0.1906, allocations: 2.969 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002529/0.1909, allocations: 48.19 kB / 444.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.1911, allocations: 102.4 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001103/0.1912, allocations: 78.02 kB / 445.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.1913, allocations: 101.5 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.1914, allocations: 14.23 kB / 445.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.941e-05/0.1914, allocations: 44.8 kB / 445.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.177e-05/0.1915, allocations: 23.42 kB / 445.3 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.1915, allocations: 6.891 kB / 445.3 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.951e-05/0.1916, allocations: 42.91 kB / 445.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.772e-05/0.1916, allocations: 23.95 kB / 445.4 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.1916, allocations: 20.44 kB / 445.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.1918, allocations: 119.2 kB / 445.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1918, allocations: 3.938 kB / 445.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1918, allocations: 2.656 kB / 445.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1918, allocations: 0 / 445.5 MB, free: 42.98 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003716/0.1922, allocations: 364.3 kB / 445.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1922, allocations: 10.69 kB / 445.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.236e-05/0.1922, allocations: 36.38 kB / 445.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/0.1923, allocations: 20.19 kB / 445.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.1925, allocations: 153.2 kB / 446.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1925, allocations: 384 / 446.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.1925, allocations: 6.781 kB / 446.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.886e-05/0.1926, allocations: 56.42 kB / 446.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.1926, allocations: 0 / 446.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.1926, allocations: 0 / 446.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1926, allocations: 6.375 kB / 446.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.274e-05/0.1926, allocations: 22.31 kB / 446.2 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.1927, allocations: 162.2 kB / 446.3 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.519e-05/0.1928, allocations: 49.23 kB / 446.4 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.016e-05/0.1929, allocations: 21.05 kB / 446.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.1929, allocations: 3.312 kB / 446.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.717e-05/0.193, allocations: 73.5 kB / 446.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 5.22e-06/0.193, allocations: 6 kB / 446.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001799/0.1932, allocations: 97.8 kB / 446.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/0.1932, allocations: 58.41 kB / 446.6 MB, free: 42.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.1933, allocations: 270.7 kB / 446.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.1933, allocations: 28.58 kB / 446.9 MB, free: 41.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.993e-05/0.1934, allocations: 115.3 kB / 447 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.1934, allocations: 22.02 kB / 447.1 MB, free: 41.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.1934, allocations: 18.47 kB / 447.1 MB, free: 41.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.02e-05/0.1934, allocations: 330.5 kB / 447.4 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.827e-05/0.1935, allocations: 12.53 kB / 447.4 MB, free: 41.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-05/0.1935, allocations: 33.48 kB / 447.4 MB, free: 41.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.369e-05/0.1936, allocations: 45.83 kB / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1936, allocations: 0 / 447.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.25e-05/0.1936, allocations: 93 kB / 447.6 MB, free: 41.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.1936, allocations: 6.75 kB / 447.6 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1937, allocations: 4.531 kB / 447.6 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1937, allocations: 0 / 447.6 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.499e-05/0.1937, allocations: 11.94 kB / 447.6 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1937, allocations: 0 / 447.6 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.177e-05/0.1938, allocations: 6.562 kB / 447.6 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-06/0.1938, allocations: 2.594 kB / 447.6 MB, free: 41.43 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 (7): * Single equations (assignments): 7 * 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.478e-05/0.1938, allocations: 138.1 kB / 447.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.1938, allocations: 21.19 kB / 447.8 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.194, allocations: 99.81 kB / 447.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.194, allocations: 6.75 kB / 447.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.194, allocations: 0 / 447.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.194, allocations: 0 / 447.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.955e-05/0.194, allocations: 169.4 kB / 448 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.194, allocations: 2.781 kB / 448 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.555e-05/0.194, allocations: 2.969 kB / 448 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.194, allocations: 5.531 kB / 448 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.1941, allocations: 2.969 kB / 448 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1941, allocations: 3.375 kB / 448 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1941, allocations: 0 / 448 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.491e-05/0.1941, allocations: 124.1 kB / 448.2 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.1942, allocations: 14.5 kB / 448.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.1942, allocations: 9.797 kB / 448.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.93e-05/0.1942, allocations: 2.562 kB / 448.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.1942, allocations: 3.375 kB / 448.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.1942, allocations: 2.531 kB / 448.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.751e-05/0.1943, allocations: 206 kB / 448.4 MB, free: 40.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1943, allocations: 2.781 kB / 448.4 MB, free: 40.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001452/0.1945, allocations: 25.17 kB / 448.4 MB, free: 40.94 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: 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 (6): * Single equations (assignments): 4 * 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.0007952/0.1953, allocations: 0.9964 MB / 449.4 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.1954, allocations: 41.67 kB / 449.5 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1954, allocations: 0 / 449.5 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.264e-05/0.1954, allocations: 22.53 kB / 449.5 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.1956, allocations: 35.31 kB / 449.5 MB, free: 40.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009351/0.1965, allocations: 1.683 MB / 451.2 MB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.011e-05/0.1966, allocations: 113.4 kB / 451.3 MB, free: 38.85 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.777e-05/0.1966, allocations: 13.36 kB / 451.3 MB, free: 38.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.1966, allocations: 45.08 kB / 451.4 MB, free: 38.82 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1966, allocations: 0 / 451.4 MB, free: 38.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.2134, allocations: 4.319 MB / 455.7 MB, free: 37.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.873/7.087, allocations: 4 kB / 455.7 MB, free: 37.4 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.239754571579397]