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.001206/0.001206, allocations: 83.69 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.001242/0.001242, allocations: 170.3 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.9239/0.9239, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7754/0.7754, allocations: 88.07 MB / 348.8 MB, free: 14.37 MB / 330.7 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: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.523 GB, free: 4.082 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.057e-05/3.245e-05, allocations: 4.391 kB / 0.523 GB, free: 4.078 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002205/0.002238, allocations: 1.412 MB / 0.5243 GB, free: 2.656 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.000861/0.003099, allocations: 0.5452 MB / 0.5249 GB, free: 2.105 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.769e-05/0.003166, allocations: 4 kB / 0.5249 GB, free: 2.102 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.003391, allocations: 19.91 kB / 0.5249 GB, free: 2.082 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003511/0.003742, allocations: 71.78 kB / 0.525 GB, free: 2.012 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006786/0.00442, allocations: 82.86 kB / 0.525 GB, free: 1.934 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.004578, allocations: 95.78 kB / 0.5251 GB, free: 1.84 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.764e-05/0.004626, allocations: 0 / 0.5251 GB, free: 1.84 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.004833, allocations: 63.83 kB / 0.5252 GB, free: 1.777 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.004971, allocations: 47.88 kB / 0.5252 GB, free: 1.73 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.004995, allocations: 4 kB / 0.5252 GB, free: 1.727 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.005102, allocations: 75.86 kB / 0.5253 GB, free: 1.652 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.005219, allocations: 71.81 kB / 0.5254 GB, free: 1.582 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.005269, allocations: 15.94 kB / 0.5254 GB, free: 1.566 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.005504, allocations: 167.4 kB / 0.5256 GB, free: 1.402 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.005509, allocations: 3.984 kB / 0.5256 GB, free: 1.398 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.244e-06/0.005511, allocations: 0 / 0.5256 GB, free: 1.398 MB / 442.8 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.005517, allocations: 0 / 0.5256 GB, free: 1.398 MB / 442.8 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.0005409/0.006057, allocations: 403 kB / 0.526 GB, free: 0.9688 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.006106, allocations: 12.03 kB / 0.526 GB, free: 0.957 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.521e-05/0.006141, allocations: 38.75 kB / 0.526 GB, free: 0.9102 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.006186, allocations: 20.8 kB / 0.526 GB, free: 0.8906 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.006616, allocations: 248.8 kB / 0.5263 GB, free: 0.6172 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.00663, allocations: 4.375 kB / 0.5263 GB, free: 0.6133 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.006643, allocations: 4.375 kB / 0.5263 GB, free: 0.6094 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.006803, allocations: 87.94 kB / 0.5264 GB, free: 0.5117 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.006813, allocations: 192 / 0.5264 GB, free: 0.5117 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.006826, allocations: 4.125 kB / 0.5264 GB, free: 0.5078 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.006832, allocations: 0 / 0.5264 GB, free: 0.5078 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.057e-05/0.006902, allocations: 65.56 kB / 0.5264 GB, free: 448 kB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.00708, allocations: 168.7 kB / 0.5266 GB, free: 236 kB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.578e-05/0.007156, allocations: 64.27 kB / 0.5266 GB, free: 156 kB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.973e-05/0.007206, allocations: 46.56 kB / 0.5267 GB, free: 100 kB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.007216, allocations: 0 / 0.5267 GB, free: 100 kB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002023/0.007418, allocations: 139 kB / 0.5268 GB, free: 15.93 MB / 458.8 MB Notification: Performance of pre-optimization done (n=8): time 2.134e-06/0.007421, allocations: 0 / 0.5268 GB, free: 15.93 MB / 458.8 MB Notification: Performance of matching and sorting (n=8): time 0.0003157/0.007736, allocations: 234.5 kB / 0.527 GB, free: 15.68 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.007786, allocations: 85.09 kB / 0.5271 GB, free: 15.58 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.007941, allocations: 225.5 kB / 0.5273 GB, free: 15.36 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.007956, allocations: 29.7 kB / 0.5274 GB, free: 15.32 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/0.008017, allocations: 120.1 kB / 0.5275 GB, free: 15.2 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.008054, allocations: 19.84 kB / 0.5275 GB, free: 15.18 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.008092, allocations: 25.72 kB / 0.5275 GB, free: 15.15 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 9.821e-05/0.00819, allocations: 326.8 kB / 0.5278 GB, free: 14.82 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.83e-05/0.008238, allocations: 49.69 kB / 0.5279 GB, free: 14.77 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.727e-05/0.008276, allocations: 57.62 kB / 0.5279 GB, free: 14.7 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.332e-05/0.008369, allocations: 116.3 kB / 0.528 GB, free: 14.57 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.008372, allocations: 0 / 0.528 GB, free: 14.57 MB / 458.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001638/0.008535, allocations: 188.8 kB / 0.5282 GB, free: 14.37 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.944e-05/0.008575, allocations: 41.69 kB / 0.5283 GB, free: 14.32 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.008583, allocations: 3.938 kB / 0.5283 GB, free: 14.32 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.008596, allocations: 0 / 0.5283 GB, free: 14.32 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.37e-05/0.00868, allocations: 4 kB / 0.5283 GB, free: 14.32 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.008687, allocations: 0 / 0.5283 GB, free: 14.32 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.444e-05/0.008741, allocations: 15.88 kB / 0.5283 GB, free: 14.3 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.008765, allocations: 8 kB / 0.5283 GB, free: 14.29 MB / 458.8 MB 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.0001224/0.008887, allocations: 171.5 kB / 0.5285 GB, free: 14.11 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.834e-05/0.008906, allocations: 15.91 kB / 0.5285 GB, free: 14.09 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.008933, allocations: 25.39 kB / 0.5285 GB, free: 14.07 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.008936, allocations: 11.94 kB / 0.5285 GB, free: 14.06 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.008942, allocations: 0 / 0.5285 GB, free: 14.06 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.008945, allocations: 0 / 0.5285 GB, free: 14.06 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.009074, allocations: 168.9 kB / 0.5287 GB, free: 13.86 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.009076, allocations: 0 / 0.5287 GB, free: 13.86 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.24e-05/0.009099, allocations: 4 kB / 0.5287 GB, free: 13.85 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.009104, allocations: 3.984 kB / 0.5287 GB, free: 13.85 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.009119, allocations: 11.92 kB / 0.5287 GB, free: 13.84 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.009121, allocations: 0 / 0.5287 GB, free: 13.84 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.009122, allocations: 0 / 0.5287 GB, free: 13.84 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.009336, allocations: 244.5 kB / 0.5289 GB, free: 13.57 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.009381, allocations: 27.89 kB / 0.529 GB, free: 13.54 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.009426, allocations: 11.94 kB / 0.529 GB, free: 13.53 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.872e-05/0.009464, allocations: 3.984 kB / 0.529 GB, free: 13.52 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.009499, allocations: 4 kB / 0.529 GB, free: 13.52 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.009512, allocations: 12 kB / 0.529 GB, free: 13.51 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.0001099/0.009622, allocations: 172.5 kB / 0.5291 GB, free: 13.34 MB / 458.8 MB Notification: Performance of sort global known variables: time 6e-08/0.009622, allocations: 0 / 0.5291 GB, free: 13.34 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0001816/0.009804, allocations: 35.94 kB / 0.5292 GB, free: 13.3 MB / 458.8 MB 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.0005094/0.01031, allocations: 0.799 MB / 0.53 GB, free: 12.46 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.01052, allocations: 182.7 kB / 0.5301 GB, free: 12.26 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01052, allocations: 0 / 0.5301 GB, free: 12.26 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 7.102e-05/0.01059, allocations: 117.1 kB / 0.5302 GB, free: 12.13 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.0108, allocations: 19.23 kB / 0.5303 GB, free: 12.11 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.01283, allocations: 2.113 MB / 0.5323 GB, free: 9.863 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.273e-05/0.01291, allocations: 106.8 kB / 0.5324 GB, free: 9.738 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 6.759e-05/0.01298, allocations: 29.69 kB / 0.5325 GB, free: 9.711 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.01304, allocations: 48.48 kB / 0.5325 GB, free: 9.664 MB / 458.8 MB Notification: Performance of SimCode: time 1.713e-06/0.01304, allocations: 0 / 0.5325 GB, free: 9.664 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03493/0.04797, allocations: 4.209 MB / 0.5366 GB, free: 5.578 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.619/8.667, allocations: 10.8 kB / 0.5366 GB, free: 5.57 MB / 458.8 MB " [Timeout remaining time 291] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/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: 12.027793685905635]