Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.001562/0.001562, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001715/0.001715, allocations: 213.9 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.429/1.429, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1.088/1.088, allocations: 120.6 MB / 434.5 MB, free: 0.6055 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/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(ScalableTestSuite.Elementary.Tables.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 63.91 kB / 0.6067 GB, free: 10.75 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.183, allocations: 85.87 MB / 0.6905 GB, free: 4.676 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002678/0.1857, allocations: 1.404 MB / 0.6919 GB, free: 3.266 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.1871, allocations: 0.5455 MB / 0.6924 GB, free: 2.715 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.7e-05/0.1871, allocations: 0 / 0.6924 GB, free: 2.715 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.1873, allocations: 15.92 kB / 0.6924 GB, free: 2.699 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.000316/0.1876, allocations: 75.77 kB / 0.6925 GB, free: 2.625 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.1879, allocations: 77.92 kB / 0.6926 GB, free: 2.551 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.1881, allocations: 91.73 kB / 0.6927 GB, free: 2.461 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.1881, allocations: 4.281 kB / 0.6927 GB, free: 2.457 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.1883, allocations: 59.83 kB / 0.6927 GB, free: 2.398 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.1885, allocations: 47.89 kB / 0.6928 GB, free: 2.352 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.1885, allocations: 4 kB / 0.6928 GB, free: 2.348 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.1886, allocations: 71.92 kB / 0.6928 GB, free: 2.277 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.1887, allocations: 63.75 kB / 0.6929 GB, free: 2.215 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 7.014e-05/0.1888, allocations: 47.72 kB / 0.693 GB, free: 2.168 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.1891, allocations: 147.2 kB / 0.6931 GB, free: 2.023 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1891, allocations: 0 / 0.6931 GB, free: 2.023 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.552e-06/0.1891, allocations: 0 / 0.6931 GB, free: 2.023 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.1891, allocations: 0 / 0.6931 GB, free: 2.023 MB / 0.5139 GB 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.0005795/0.1896, allocations: 411 kB / 0.6935 GB, free: 1.586 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1897, allocations: 8.031 kB / 0.6935 GB, free: 1.578 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.587e-05/0.1897, allocations: 34.75 kB / 0.6935 GB, free: 1.535 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.1898, allocations: 20.8 kB / 0.6935 GB, free: 1.516 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.1902, allocations: 253.5 kB / 0.6938 GB, free: 1.238 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1903, allocations: 8.375 kB / 0.6938 GB, free: 1.23 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.1903, allocations: 8.312 kB / 0.6938 GB, free: 1.223 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.1904, allocations: 95.42 kB / 0.6939 GB, free: 1.117 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1904, allocations: 3.938 kB / 0.6939 GB, free: 1.113 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1904, allocations: 0 / 0.6939 GB, free: 1.113 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1904, allocations: 0 / 0.6939 GB, free: 1.113 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.256e-05/0.1905, allocations: 53.69 kB / 0.694 GB, free: 1.055 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002129/0.1907, allocations: 168.7 kB / 0.6941 GB, free: 0.8477 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 8.965e-05/0.1908, allocations: 60.27 kB / 0.6942 GB, free: 0.7734 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.867e-05/0.1909, allocations: 54.5 kB / 0.6942 GB, free: 0.7109 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.1909, allocations: 8 kB / 0.6942 GB, free: 0.7031 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.1911, allocations: 134.8 kB / 0.6944 GB, free: 0.5469 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.1911, allocations: 0 / 0.6944 GB, free: 0.5469 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.000369/0.1915, allocations: 226.7 kB / 0.6946 GB, free: 308 kB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.1915, allocations: 81.09 kB / 0.6947 GB, free: 208 kB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.1918, allocations: 233.5 kB / 0.6949 GB, free: 15.97 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.1918, allocations: 29.7 kB / 0.6949 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 8.292e-05/0.1919, allocations: 116.3 kB / 0.695 GB, free: 15.82 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.1919, allocations: 31.77 kB / 0.695 GB, free: 15.79 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.192, allocations: 21.72 kB / 0.6951 GB, free: 15.76 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1921, allocations: 334.8 kB / 0.6954 GB, free: 15.42 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.193e-05/0.1922, allocations: 49.69 kB / 0.6954 GB, free: 15.37 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.521e-05/0.1923, allocations: 49.69 kB / 0.6955 GB, free: 15.31 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.1924, allocations: 104.2 kB / 0.6956 GB, free: 15.2 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1924, allocations: 4 kB / 0.6956 GB, free: 15.19 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002284/0.1926, allocations: 192.9 kB / 0.6958 GB, free: 14.98 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.1927, allocations: 37.62 kB / 0.6958 GB, free: 14.94 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1927, allocations: 0 / 0.6958 GB, free: 14.94 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1927, allocations: 4 kB / 0.6958 GB, free: 14.94 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.453e-05/0.1927, allocations: 4 kB / 0.6958 GB, free: 14.93 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1927, allocations: 0 / 0.6958 GB, free: 14.93 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.482e-05/0.1928, allocations: 19.95 kB / 0.6958 GB, free: 14.91 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.1928, allocations: 7.984 kB / 0.6958 GB, free: 14.91 MB / 0.5295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001591/0.193, allocations: 179.6 kB / 0.696 GB, free: 14.71 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.193, allocations: 19.84 kB / 0.696 GB, free: 14.7 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/0.193, allocations: 17.41 kB / 0.696 GB, free: 14.68 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.193, allocations: 3.984 kB / 0.696 GB, free: 14.67 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.193, allocations: 0 / 0.696 GB, free: 14.67 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.193, allocations: 0 / 0.696 GB, free: 14.67 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.1932, allocations: 176.7 kB / 0.6962 GB, free: 14.46 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1932, allocations: 3.938 kB / 0.6962 GB, free: 14.45 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-05/0.1932, allocations: 11.94 kB / 0.6962 GB, free: 14.44 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1932, allocations: 0 / 0.6962 GB, free: 14.44 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.1932, allocations: 7.984 kB / 0.6962 GB, free: 14.43 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1933, allocations: 4 kB / 0.6962 GB, free: 14.43 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1933, allocations: 0 / 0.6962 GB, free: 14.43 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.1935, allocations: 232.4 kB / 0.6965 GB, free: 14.17 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.1936, allocations: 27.83 kB / 0.6965 GB, free: 14.14 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.1936, allocations: 4 kB / 0.6965 GB, free: 14.14 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.037e-05/0.1937, allocations: 4 kB / 0.6965 GB, free: 14.14 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004975/0.1942, allocations: 7.984 kB / 0.6965 GB, free: 14.13 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.1942, allocations: 8 kB / 0.6965 GB, free: 14.12 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001538/0.1943, allocations: 176.5 kB / 0.6967 GB, free: 13.95 MB / 0.5295 GB Notification: Performance of sort global known variables: time 7e-08/0.1943, allocations: 0 / 0.6967 GB, free: 13.95 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002287/0.1946, allocations: 35.94 kB / 0.6967 GB, free: 13.91 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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.0006513/0.1952, allocations: 0.7913 MB / 0.6975 GB, free: 13.08 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.00075/0.196, allocations: 174.8 kB / 0.6977 GB, free: 12.89 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/0.196, allocations: 0 / 0.6977 GB, free: 12.89 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.1961, allocations: 121 kB / 0.6978 GB, free: 12.75 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.1964, allocations: 24.83 kB / 0.6978 GB, free: 12.72 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.1987, allocations: 2.112 MB / 0.6999 GB, free: 10.48 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.1989, allocations: 110.5 kB / 0.7 GB, free: 10.36 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 7.26e-05/0.199, allocations: 29.67 kB / 0.7 GB, free: 10.33 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.446e-05/0.199, allocations: 43.42 kB / 0.7 GB, free: 10.29 MB / 0.5295 GB Notification: Performance of SimCode: time 2.8e-07/0.199, allocations: 0 / 0.7 GB, free: 10.29 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07705/0.2761, allocations: 4.089 MB / 0.704 GB, free: 6.328 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.16, allocations: 3.375 kB / 0.704 GB, free: 6.328 MB / 0.5295 GB " [Timeout remaining time 288] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.302934982348233]