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.001634/0.001634, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.002452/0.002452, allocations: 213.7 kB / 23.75 MB, free: 4.668 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.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.147/1.147, allocations: 120.6 MB / 434.5 MB, free: 0.9883 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.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: 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.00205/0.00205, allocations: 63.91 kB / 0.6067 GB, free: 10.97 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2096, allocations: 85.86 MB / 0.6906 GB, free: 4.902 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.003374/0.213, allocations: 1.599 MB / 0.6921 GB, free: 3.293 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001982/0.215, allocations: 1.068 MB / 0.6932 GB, free: 2.219 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.284e-05/0.2151, allocations: 7.938 kB / 0.6932 GB, free: 2.211 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0003723/0.2155, allocations: 59.73 kB / 0.6933 GB, free: 2.152 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0005049/0.216, allocations: 151.5 kB / 0.6934 GB, free: 2.004 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.2161, allocations: 79.67 kB / 0.6935 GB, free: 1.926 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.2164, allocations: 147.6 kB / 0.6936 GB, free: 1.781 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.2164, allocations: 0 / 0.6936 GB, free: 1.781 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.2166, allocations: 75.7 kB / 0.6937 GB, free: 1.707 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.2168, allocations: 71.73 kB / 0.6938 GB, free: 1.637 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.2168, allocations: 4 kB / 0.6938 GB, free: 1.633 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 8.522e-05/0.2169, allocations: 28 kB / 0.6938 GB, free: 1.605 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.2171, allocations: 83.72 kB / 0.6939 GB, free: 1.523 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 7.511e-05/0.2171, allocations: 55.5 kB / 0.6939 GB, free: 1.469 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.2174, allocations: 163.4 kB / 0.6941 GB, free: 1.309 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2174, allocations: 0 / 0.6941 GB, free: 1.309 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2174, allocations: 0 / 0.6941 GB, free: 1.309 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.2174, allocations: 0 / 0.6941 GB, free: 1.309 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006774/0.2181, allocations: 424.9 kB / 0.6945 GB, free: 0.8633 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.2181, allocations: 8.031 kB / 0.6945 GB, free: 0.8555 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.788e-05/0.2182, allocations: 42.73 kB / 0.6945 GB, free: 0.8047 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.2182, allocations: 28.8 kB / 0.6946 GB, free: 0.7773 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005179/0.2188, allocations: 285 kB / 0.6948 GB, free: 484 kB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.2188, allocations: 4.359 kB / 0.6948 GB, free: 480 kB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.2188, allocations: 3.938 kB / 0.6948 GB, free: 476 kB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.2189, allocations: 49.69 kB / 0.6949 GB, free: 420 kB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.2189, allocations: 0 / 0.6949 GB, free: 420 kB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.2189, allocations: 3.984 kB / 0.6949 GB, free: 416 kB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.219, allocations: 0 / 0.6949 GB, free: 416 kB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.999e-05/0.219, allocations: 16 kB / 0.6949 GB, free: 400 kB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002349/0.2193, allocations: 184.7 kB / 0.6951 GB, free: 172 kB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.2194, allocations: 58.48 kB / 0.6951 GB, free: 104 kB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.114e-05/0.2195, allocations: 16.8 kB / 0.6951 GB, free: 84 kB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.2195, allocations: 7.984 kB / 0.6952 GB, free: 76 kB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.2197, allocations: 67.44 kB / 0.6952 GB, free: 15.99 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.2197, allocations: 0 / 0.6952 GB, free: 15.99 MB / 0.5295 GB Notification: Performance of matching and sorting (n=5): time 0.0003104/0.22, allocations: 113.4 kB / 0.6953 GB, free: 15.88 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.2201, allocations: 51.41 kB / 0.6954 GB, free: 15.82 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.2204, allocations: 284.2 kB / 0.6957 GB, free: 15.53 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.2204, allocations: 25.7 kB / 0.6957 GB, free: 15.5 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.2205, allocations: 140.1 kB / 0.6958 GB, free: 15.36 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.2206, allocations: 23.84 kB / 0.6958 GB, free: 15.33 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.2206, allocations: 21.7 kB / 0.6959 GB, free: 15.3 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2208, allocations: 330.8 kB / 0.6962 GB, free: 14.97 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.286e-05/0.2208, allocations: 15.98 kB / 0.6962 GB, free: 14.96 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.055e-05/0.2209, allocations: 25.7 kB / 0.6962 GB, free: 14.93 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.221, allocations: 45.66 kB / 0.6963 GB, free: 14.88 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.221, allocations: 7.938 kB / 0.6963 GB, free: 14.87 MB / 0.5295 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001737/0.2211, allocations: 97.52 kB / 0.6964 GB, free: 14.77 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2212, allocations: 8 kB / 0.6964 GB, free: 14.76 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2212, allocations: 320 / 0.6964 GB, free: 14.76 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2212, allocations: 0 / 0.6964 GB, free: 14.76 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.4e-05/0.2213, allocations: 11.94 kB / 0.6964 GB, free: 14.75 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.2213, allocations: 8 kB / 0.6964 GB, free: 14.74 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/0.2213, allocations: 3.984 kB / 0.6964 GB, free: 14.73 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.2213, allocations: 7.938 kB / 0.6964 GB, free: 14.73 MB / 0.5295 GB 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.0001353/0.2215, allocations: 145.8 kB / 0.6965 GB, free: 14.57 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.2215, allocations: 27.84 kB / 0.6966 GB, free: 14.55 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.2217, allocations: 91.11 kB / 0.6966 GB, free: 14.45 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.2217, allocations: 0 / 0.6966 GB, free: 14.45 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.2217, allocations: 4 kB / 0.6966 GB, free: 14.45 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2217, allocations: 7.922 kB / 0.6967 GB, free: 14.44 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.2219, allocations: 196.6 kB / 0.6968 GB, free: 14.21 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2219, allocations: 0 / 0.6968 GB, free: 14.21 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-05/0.222, allocations: 4 kB / 0.6968 GB, free: 14.2 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.222, allocations: 4 kB / 0.6968 GB, free: 14.2 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.222, allocations: 0 / 0.6968 GB, free: 14.2 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.222, allocations: 0 / 0.6968 GB, free: 14.2 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.222, allocations: 0 / 0.6968 GB, free: 14.2 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.2222, allocations: 124.9 kB / 0.697 GB, free: 14.06 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.2222, allocations: 19.84 kB / 0.697 GB, free: 14.04 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.2222, allocations: 4 kB / 0.697 GB, free: 14.04 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.878e-05/0.2223, allocations: 0 / 0.697 GB, free: 14.04 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.2223, allocations: 12 kB / 0.697 GB, free: 14.02 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.2223, allocations: 7.922 kB / 0.697 GB, free: 14.02 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0002138/0.2225, allocations: 211.1 kB / 0.6972 GB, free: 13.81 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1e-07/0.2225, allocations: 0 / 0.6972 GB, free: 13.81 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002269/0.2228, allocations: 27.88 kB / 0.6972 GB, free: 13.78 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: 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 (5): * Single equations (assignments): 3 * 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.002052/0.2248, allocations: 0.956 MB / 0.6982 GB, free: 12.96 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0001904/0.225, allocations: 47.91 kB / 0.6982 GB, free: 12.91 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.225, allocations: 3.938 kB / 0.6982 GB, free: 12.91 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 6.153e-05/0.2251, allocations: 16 kB / 0.6982 GB, free: 12.89 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.2254, allocations: 40.94 kB / 0.6983 GB, free: 12.85 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.2278, allocations: 2.01 MB / 0.7002 GB, free: 10.75 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.2283, allocations: 0.7437 MB / 0.701 GB, free: 9.98 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.000107/0.2284, allocations: 41.59 kB / 0.701 GB, free: 9.941 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.2285, allocations: 59.42 kB / 0.7011 GB, free: 9.883 MB / 0.5295 GB Notification: Performance of SimCode: time 2.9e-07/0.2285, allocations: 0 / 0.7011 GB, free: 9.883 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03404/0.2625, allocations: 4.586 MB / 0.7055 GB, free: 5.371 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.78, allocations: 9.922 kB / 0.7055 GB, free: 5.367 MB / 0.5295 GB " [Timeout remaining time 288] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/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: 16.24416594702052]