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.001842/0.001842, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002295/0.002295, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.101/1.101, allocations: 120.6 MB / 434.5 MB, free: 0.8359 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.002085/0.002085, allocations: 66.23 kB / 0.6067 GB, free: 10.96 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2019, allocations: 85.85 MB / 0.6906 GB, free: 4.895 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002669/0.2046, allocations: 1.427 MB / 0.692 GB, free: 3.461 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.2057, allocations: 0.6077 MB / 0.6926 GB, free: 2.848 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.84e-05/0.2058, allocations: 0 / 0.6926 GB, free: 2.848 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.206, allocations: 19.92 kB / 0.6926 GB, free: 2.828 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.2063, allocations: 71.78 kB / 0.6927 GB, free: 2.758 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.2065, allocations: 75.78 kB / 0.6927 GB, free: 2.684 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.2067, allocations: 87.81 kB / 0.6928 GB, free: 2.598 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.278e-05/0.2068, allocations: 4.281 kB / 0.6928 GB, free: 2.594 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.2069, allocations: 63.75 kB / 0.6929 GB, free: 2.531 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.2071, allocations: 51.89 kB / 0.6929 GB, free: 2.48 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.2071, allocations: 4 kB / 0.6929 GB, free: 2.477 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.2072, allocations: 79.88 kB / 0.693 GB, free: 2.398 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.2074, allocations: 63.8 kB / 0.6931 GB, free: 2.336 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 6.464e-05/0.2074, allocations: 43.67 kB / 0.6931 GB, free: 2.293 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.2077, allocations: 159.2 kB / 0.6933 GB, free: 2.137 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2077, allocations: 0 / 0.6933 GB, free: 2.137 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2077, allocations: 0 / 0.6933 GB, free: 2.137 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.2077, allocations: 0 / 0.6933 GB, free: 2.137 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.0005554/0.2082, allocations: 403 kB / 0.6936 GB, free: 1.707 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.2083, allocations: 12.03 kB / 0.6937 GB, free: 1.695 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.013e-05/0.2083, allocations: 34.75 kB / 0.6937 GB, free: 1.652 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.2084, allocations: 20.8 kB / 0.6937 GB, free: 1.633 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00051/0.2089, allocations: 257.4 kB / 0.694 GB, free: 1.352 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.2089, allocations: 4.375 kB / 0.694 GB, free: 1.348 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.2089, allocations: 8.312 kB / 0.694 GB, free: 1.34 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.209, allocations: 61.78 kB / 0.694 GB, free: 1.273 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.209, allocations: 4 kB / 0.694 GB, free: 1.27 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.209, allocations: 0 / 0.694 GB, free: 1.27 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.209, allocations: 0 / 0.694 GB, free: 1.27 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.301e-05/0.2091, allocations: 16 kB / 0.694 GB, free: 1.254 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.2093, allocations: 176.7 kB / 0.6942 GB, free: 1.039 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 7.689e-05/0.2094, allocations: 38.5 kB / 0.6943 GB, free: 0.9922 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.854e-05/0.2094, allocations: 20.86 kB / 0.6943 GB, free: 0.9688 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.2094, allocations: 0 / 0.6943 GB, free: 0.9688 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.2096, allocations: 105.1 kB / 0.6944 GB, free: 0.8477 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.2096, allocations: 0 / 0.6944 GB, free: 0.8477 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0003261/0.2099, allocations: 171.4 kB / 0.6945 GB, free: 0.668 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.21, allocations: 81.11 kB / 0.6946 GB, free: 0.5703 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.2102, allocations: 229.5 kB / 0.6948 GB, free: 348 kB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.2102, allocations: 25.7 kB / 0.6949 GB, free: 316 kB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 7.986e-05/0.2103, allocations: 120.1 kB / 0.695 GB, free: 192 kB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.2103, allocations: 23.78 kB / 0.695 GB, free: 168 kB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.2104, allocations: 25.72 kB / 0.695 GB, free: 136 kB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.2105, allocations: 330.8 kB / 0.6953 GB, free: 15.8 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.941e-05/0.2106, allocations: 16 kB / 0.6953 GB, free: 15.79 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.07e-05/0.2106, allocations: 19.98 kB / 0.6954 GB, free: 15.77 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.2107, allocations: 104.3 kB / 0.6955 GB, free: 15.65 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2107, allocations: 0 / 0.6955 GB, free: 15.65 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001973/0.2109, allocations: 159.2 kB / 0.6956 GB, free: 15.48 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.211, allocations: 37.64 kB / 0.6957 GB, free: 15.44 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.211, allocations: 0 / 0.6957 GB, free: 15.44 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.211, allocations: 0 / 0.6957 GB, free: 15.44 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.245e-05/0.211, allocations: 7.984 kB / 0.6957 GB, free: 15.43 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.211, allocations: 3.938 kB / 0.6957 GB, free: 15.43 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.122e-05/0.2111, allocations: 11.95 kB / 0.6957 GB, free: 15.41 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.2111, allocations: 12 kB / 0.6957 GB, free: 15.4 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.0001428/0.2113, allocations: 171.5 kB / 0.6959 GB, free: 15.22 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.2113, allocations: 19.84 kB / 0.6959 GB, free: 15.2 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.2113, allocations: 25.33 kB / 0.6959 GB, free: 15.17 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2113, allocations: 0 / 0.6959 GB, free: 15.17 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2113, allocations: 4 kB / 0.6959 GB, free: 15.17 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2113, allocations: 0 / 0.6959 GB, free: 15.17 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.2115, allocations: 184.7 kB / 0.6961 GB, free: 14.95 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2115, allocations: 3.938 kB / 0.6961 GB, free: 14.94 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.968e-05/0.2115, allocations: 4 kB / 0.6961 GB, free: 14.94 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.2115, allocations: 4 kB / 0.6961 GB, free: 14.93 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.2115, allocations: 4 kB / 0.6961 GB, free: 14.93 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2115, allocations: 0 / 0.6961 GB, free: 14.93 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-07/0.2115, allocations: 0 / 0.6961 GB, free: 14.93 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.2118, allocations: 206.6 kB / 0.6963 GB, free: 14.7 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.2118, allocations: 23.83 kB / 0.6963 GB, free: 14.68 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.2119, allocations: 8 kB / 0.6963 GB, free: 14.67 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.065e-05/0.2119, allocations: 4 kB / 0.6963 GB, free: 14.67 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.2119, allocations: 4 kB / 0.6963 GB, free: 14.66 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.212, allocations: 8 kB / 0.6963 GB, free: 14.66 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001635/0.2121, allocations: 176.4 kB / 0.6965 GB, free: 14.48 MB / 0.5295 GB Notification: Performance of sort global known variables: time 7e-08/0.2121, allocations: 0 / 0.6965 GB, free: 14.48 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002296/0.2124, allocations: 39.94 kB / 0.6965 GB, free: 14.45 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.0006263/0.213, allocations: 0.7627 MB / 0.6973 GB, free: 13.65 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0002084/0.2132, allocations: 119.3 kB / 0.6974 GB, free: 13.52 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2132, allocations: 3.938 kB / 0.6974 GB, free: 13.52 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 9.104e-05/0.2133, allocations: 79.39 kB / 0.6975 GB, free: 13.43 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.2135, allocations: 20.67 kB / 0.6975 GB, free: 13.4 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.2156, allocations: 1.94 MB / 0.6994 GB, free: 11.37 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.216, allocations: 0.7278 MB / 0.7001 GB, free: 10.61 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 6.601e-05/0.216, allocations: 21.41 kB / 0.7001 GB, free: 10.59 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.539e-05/0.2161, allocations: 47.61 kB / 0.7002 GB, free: 10.55 MB / 0.5295 GB Notification: Performance of SimCode: time 4.21e-07/0.2161, allocations: 0 / 0.7002 GB, free: 10.55 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03155/0.2477, allocations: 3.63 MB / 0.7037 GB, free: 7.055 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.61, allocations: 2.906 kB / 0.7037 GB, free: 7.055 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: 15.955799766990822]