Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.001368/0.001368, 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.001398/0.001398, allocations: 174 kB / 23.95 MB, free: 0.6133 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 1.01/1.01, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.6792/0.6792, allocations: 88.06 MB / 348.8 MB, free: 14.38 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.CombiTimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.523 GB, free: 4.102 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.919e-05, allocations: 6.781 kB / 0.523 GB, free: 4.094 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.003271/0.0033, allocations: 1.571 MB / 0.5245 GB, free: 2.512 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.005021, allocations: 0.9897 MB / 0.5255 GB, free: 1.516 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.005145, allocations: 0 / 0.5255 GB, free: 1.516 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0004605/0.005605, allocations: 63.61 kB / 0.5255 GB, free: 1.453 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000546/0.006151, allocations: 155.4 kB / 0.5257 GB, free: 1.301 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.006328, allocations: 75.66 kB / 0.5257 GB, free: 1.227 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.006553, allocations: 143.5 kB / 0.5259 GB, free: 1.086 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.146e-05/0.006604, allocations: 7.984 kB / 0.5259 GB, free: 1.078 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.006841, allocations: 87.69 kB / 0.526 GB, free: 0.9922 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.007, allocations: 63.8 kB / 0.526 GB, free: 0.9297 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.007022, allocations: 4 kB / 0.526 GB, free: 0.9258 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.545e-05/0.007107, allocations: 35.98 kB / 0.5261 GB, free: 0.8906 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.007232, allocations: 71.81 kB / 0.5261 GB, free: 0.8203 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 5.115e-05/0.007283, allocations: 27.86 kB / 0.5262 GB, free: 0.793 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.007537, allocations: 163.3 kB / 0.5263 GB, free: 0.6328 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.00754, allocations: 0 / 0.5263 GB, free: 0.6328 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.954e-06/0.007542, allocations: 0 / 0.5263 GB, free: 0.6328 MB / 442.8 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.007548, allocations: 0 / 0.5263 GB, free: 0.6328 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006339/0.008182, allocations: 424.8 kB / 0.5267 GB, free: 192 kB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.008225, allocations: 8.031 kB / 0.5267 GB, free: 184 kB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.709e-05/0.008262, allocations: 30.75 kB / 0.5268 GB, free: 144 kB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.792e-05/0.00832, allocations: 32.8 kB / 0.5268 GB, free: 112 kB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004773/0.008797, allocations: 272.3 kB / 0.5271 GB, free: 15.81 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.008817, allocations: 8.375 kB / 0.5271 GB, free: 15.8 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.008833, allocations: 384 / 0.5271 GB, free: 15.8 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.009006, allocations: 53.98 kB / 0.5271 GB, free: 15.75 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.009017, allocations: 0 / 0.5271 GB, free: 15.75 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.009028, allocations: 3.984 kB / 0.5271 GB, free: 15.74 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.009034, allocations: 0 / 0.5271 GB, free: 15.74 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.818e-05/0.009102, allocations: 19.92 kB / 0.5271 GB, free: 15.72 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002318/0.009334, allocations: 176.8 kB / 0.5273 GB, free: 15.51 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.009489, allocations: 58.61 kB / 0.5274 GB, free: 15.44 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.695e-05/0.009536, allocations: 16.84 kB / 0.5274 GB, free: 15.42 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.009554, allocations: 4 kB / 0.5274 GB, free: 15.42 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.00975, allocations: 71.27 kB / 0.5275 GB, free: 15.34 MB / 458.8 MB Notification: Performance of pre-optimization done (n=5): time 1.963e-06/0.009752, allocations: 3.938 kB / 0.5275 GB, free: 15.33 MB / 458.8 MB Notification: Performance of matching and sorting (n=5): time 0.000286/0.01004, allocations: 109.5 kB / 0.5276 GB, free: 15.22 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.01009, allocations: 55.41 kB / 0.5276 GB, free: 15.15 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.01037, allocations: 296.2 kB / 0.5279 GB, free: 14.86 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.01038, allocations: 29.7 kB / 0.5279 GB, free: 14.82 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.168e-05/0.01047, allocations: 140.1 kB / 0.5281 GB, free: 14.68 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.0105, allocations: 15.83 kB / 0.5281 GB, free: 14.67 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.01053, allocations: 21.72 kB / 0.5281 GB, free: 14.64 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.01065, allocations: 338.8 kB / 0.5284 GB, free: 14.3 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.218e-05/0.0107, allocations: 15.98 kB / 0.5284 GB, free: 14.29 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.752e-05/0.01075, allocations: 25.7 kB / 0.5285 GB, free: 14.25 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.905e-05/0.01083, allocations: 49.64 kB / 0.5285 GB, free: 14.2 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01083, allocations: 0 / 0.5285 GB, free: 14.2 MB / 458.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001463/0.01098, allocations: 101.4 kB / 0.5286 GB, free: 14.09 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.011, allocations: 8 kB / 0.5286 GB, free: 14.09 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.01101, allocations: 0 / 0.5286 GB, free: 14.09 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.01102, allocations: 0 / 0.5286 GB, free: 14.09 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.47e-05/0.0111, allocations: 16.3 kB / 0.5286 GB, free: 14.07 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.0111, allocations: 0 / 0.5286 GB, free: 14.07 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.712e-05/0.01115, allocations: 8 kB / 0.5286 GB, free: 14.06 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.01116, allocations: 8 kB / 0.5286 GB, free: 14.05 MB / 458.8 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.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.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 0.0001322/0.01129, allocations: 141.8 kB / 0.5288 GB, free: 13.91 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.01132, allocations: 31.83 kB / 0.5288 GB, free: 13.88 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.01152, allocations: 107.1 kB / 0.5289 GB, free: 13.77 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01152, allocations: 0 / 0.5289 GB, free: 13.77 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.01153, allocations: 0 / 0.5289 GB, free: 13.77 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01153, allocations: 4 kB / 0.5289 GB, free: 13.76 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.01171, allocations: 184.7 kB / 0.5291 GB, free: 13.54 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01171, allocations: 0 / 0.5291 GB, free: 13.54 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.325e-05/0.01173, allocations: 4 kB / 0.5291 GB, free: 13.54 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.01174, allocations: 7.922 kB / 0.5291 GB, free: 13.53 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.01175, allocations: 4 kB / 0.5291 GB, free: 13.52 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.01175, allocations: 4 kB / 0.5291 GB, free: 13.52 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01175, allocations: 0 / 0.5291 GB, free: 13.52 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.01191, allocations: 128.9 kB / 0.5292 GB, free: 13.38 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.01196, allocations: 27.73 kB / 0.5293 GB, free: 13.35 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.01198, allocations: 7.984 kB / 0.5293 GB, free: 13.34 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.987e-05/0.01201, allocations: 0 / 0.5293 GB, free: 13.34 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.01205, allocations: 4 kB / 0.5293 GB, free: 13.34 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.01207, allocations: 7.984 kB / 0.5293 GB, free: 13.33 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.0001972/0.01227, allocations: 211.1 kB / 0.5295 GB, free: 13.12 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01227, allocations: 0 / 0.5295 GB, free: 13.12 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0002436/0.01251, allocations: 27.94 kB / 0.5295 GB, free: 13.09 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.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.001414/0.01393, allocations: 0.9943 MB / 0.5305 GB, free: 12.25 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0001559/0.01408, allocations: 43.92 kB / 0.5305 GB, free: 12.21 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.01408, allocations: 0 / 0.5305 GB, free: 12.21 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 4.723e-05/0.01413, allocations: 19.98 kB / 0.5305 GB, free: 12.19 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.01443, allocations: 43.86 kB / 0.5306 GB, free: 12.15 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.01654, allocations: 2.037 MB / 0.5326 GB, free: 10.03 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.735e-05/0.01663, allocations: 135.8 kB / 0.5327 GB, free: 9.867 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 8.842e-05/0.01672, allocations: 37.62 kB / 0.5327 GB, free: 9.832 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.581e-05/0.01679, allocations: 72.47 kB / 0.5328 GB, free: 9.762 MB / 458.8 MB Notification: Performance of SimCode: time 4.61e-07/0.01679, allocations: 0 / 0.5328 GB, free: 9.762 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.03887, allocations: 5.259 MB / 0.5379 GB, free: 4.555 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.791/7.83, allocations: 13.02 kB / 0.5379 GB, free: 4.551 MB / 458.8 MB " [Timeout remaining time 292] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_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_CombiTimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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: 11.079568266868591]