Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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.001311/0.001311, allocations: 111.8 kB / 20.43 MB, free: 1.473 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.001528/0.001528, allocations: 214 kB / 23.74 MB, free: 4.688 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.053/1.053, allocations: 120.6 MB / 434.5 MB, free: 0.8438 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.ScaledExperiments.TimeTable_N_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500",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.002125/0.002125, allocations: 71.83 kB / 0.6068 GB, free: 10.95 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1751, allocations: 85.86 MB / 0.6906 GB, free: 4.875 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002751/0.1779, allocations: 1.431 MB / 0.692 GB, free: 3.438 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.1791, allocations: 0.6115 MB / 0.6926 GB, free: 2.82 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.907e-05/0.1791, allocations: 0 / 0.6926 GB, free: 2.82 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0004633/0.1796, allocations: 451.1 kB / 0.693 GB, free: 2.379 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0005772/0.1802, allocations: 0.4911 MB / 0.6935 GB, free: 1.887 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.1805, allocations: 71.8 kB / 0.6936 GB, free: 1.816 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.001041/0.1815, allocations: 1.131 MB / 0.6947 GB, free: 0.6836 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.911e-05/0.1815, allocations: 11.88 kB / 0.6947 GB, free: 0.6719 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007301/0.1823, allocations: 0.5693 MB / 0.6953 GB, free: 104 kB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.1835, allocations: 1.154 MB / 0.6964 GB, free: 14.94 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.1836, allocations: 71.94 kB / 0.6965 GB, free: 14.87 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002596/0.1839, allocations: 139.8 kB / 0.6966 GB, free: 14.74 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.003111/0.187, allocations: 2.595 MB / 0.6991 GB, free: 12.14 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.001528/0.1885, allocations: 1.423 MB / 0.7005 GB, free: 10.7 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.003269/0.1918, allocations: 3.201 MB / 0.7036 GB, free: 7.477 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1918, allocations: 0 / 0.7036 GB, free: 7.477 MB / 0.5295 GB Notification: Performance of FrontEnd: time 2.264e-06/0.1918, allocations: 0 / 0.7036 GB, free: 7.477 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 6.059e-05/0.1919, allocations: 0 / 0.7036 GB, free: 7.477 MB / 0.5295 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.006698/0.1986, allocations: 5.301 MB / 0.7088 GB, free: 2.098 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.1986, allocations: 8.031 kB / 0.7088 GB, free: 2.09 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.384e-05/0.1987, allocations: 38.73 kB / 0.7089 GB, free: 2.043 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007115/0.1994, allocations: 0.5906 MB / 0.7094 GB, free: 1.449 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01213/0.2115, allocations: 6.318 MB / 0.7156 GB, free: 11.02 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.2115, allocations: 384 / 0.7156 GB, free: 11.02 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.088e-05/0.2116, allocations: 20.38 kB / 0.7156 GB, free: 11 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003729/0.2119, allocations: 245.6 kB / 0.7159 GB, free: 10.76 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2119, allocations: 0 / 0.7159 GB, free: 10.76 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.407e-05/0.212, allocations: 16 kB / 0.7159 GB, free: 10.74 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.212, allocations: 0 / 0.7159 GB, free: 10.74 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.2122, allocations: 128 kB / 0.716 GB, free: 10.62 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002565/0.2148, allocations: 1.834 MB / 0.7178 GB, free: 8.742 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.215, allocations: 98.5 kB / 0.7179 GB, free: 8.637 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.2151, allocations: 84.86 kB / 0.718 GB, free: 8.551 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.2151, allocations: 0 / 0.718 GB, free: 8.551 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000353/0.2155, allocations: 268.9 kB / 0.7182 GB, free: 8.27 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=8): time 4.258e-06/0.2155, allocations: 3.984 kB / 0.7182 GB, free: 8.266 MB / 0.5452 GB Notification: Performance of matching and sorting (n=8): time 0.001842/0.2173, allocations: 1.202 MB / 0.7194 GB, free: 7.047 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.806e-05/0.2174, allocations: 81.11 kB / 0.7195 GB, free: 6.949 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009377/0.2268, allocations: 6.275 MB / 0.7256 GB, free: 0.7188 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0001759/0.2269, allocations: 41.7 kB / 0.7256 GB, free: 0.6719 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.002852/0.2298, allocations: 2.524 MB / 0.7281 GB, free: 14.14 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.23, allocations: 39.8 kB / 0.7281 GB, free: 14.11 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.2302, allocations: 125.7 kB / 0.7283 GB, free: 13.98 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.2303, allocations: 314 kB / 0.7286 GB, free: 13.66 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.2304, allocations: 80 kB / 0.7286 GB, free: 13.59 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.2306, allocations: 83.98 kB / 0.7287 GB, free: 13.5 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.2309, allocations: 220.3 kB / 0.7289 GB, free: 13.27 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.2309, allocations: 0 / 0.7289 GB, free: 13.27 MB / 0.5608 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001899/0.2328, allocations: 1.128 MB / 0.73 GB, free: 12.13 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 6.487e-05/0.2329, allocations: 33.7 kB / 0.7301 GB, free: 12.09 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.2329, allocations: 0 / 0.7301 GB, free: 12.09 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.2329, allocations: 3.984 kB / 0.7301 GB, free: 12.09 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.233, allocations: 4 kB / 0.7301 GB, free: 12.08 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.233, allocations: 0 / 0.7301 GB, free: 12.08 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008559/0.2339, allocations: 27.95 kB / 0.7301 GB, free: 12.05 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002314/0.2341, allocations: 220 kB / 0.7303 GB, free: 11.84 MB / 0.5608 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.001997/0.2361, allocations: 1.338 MB / 0.7316 GB, free: 10.48 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008993/0.237, allocations: 0.6014 MB / 0.7322 GB, free: 9.879 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.238, allocations: 0.6481 MB / 0.7328 GB, free: 9.23 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.238, allocations: 3.938 kB / 0.7328 GB, free: 9.227 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.238, allocations: 0 / 0.7328 GB, free: 9.227 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.238, allocations: 4 kB / 0.7328 GB, free: 9.223 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/0.2403, allocations: 2.001 MB / 0.7348 GB, free: 7.18 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.2403, allocations: 7.922 kB / 0.7348 GB, free: 7.172 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.138e-05/0.2403, allocations: 4 kB / 0.7348 GB, free: 7.168 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.2403, allocations: 0 / 0.7348 GB, free: 7.168 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.13e-05/0.2404, allocations: 51.94 kB / 0.7349 GB, free: 7.117 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.2404, allocations: 0 / 0.7349 GB, free: 7.117 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2404, allocations: 0 / 0.7349 GB, free: 7.117 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.242, allocations: 1.199 MB / 0.736 GB, free: 5.891 MB / 0.5608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009447/0.243, allocations: 0.5232 MB / 0.7365 GB, free: 5.363 MB / 0.5608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002748/0.2432, allocations: 28 kB / 0.7366 GB, free: 5.336 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/0.2436, allocations: 16 kB / 0.7366 GB, free: 5.32 MB / 0.5608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/0.2436, allocations: 11.92 kB / 0.7366 GB, free: 5.309 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002096/0.2438, allocations: 224 kB / 0.7368 GB, free: 5.09 MB / 0.5608 GB Notification: Performance of sorting global known variables: time 0.006389/0.2502, allocations: 4.324 MB / 0.741 GB, free: 0.8047 MB / 0.5608 GB Notification: Performance of sort global known variables: time 1e-07/0.2502, allocations: 0 / 0.741 GB, free: 0.8047 MB / 0.5608 GB Notification: Performance of remove unused functions: time 0.0008271/0.2511, allocations: 187.9 kB / 0.7412 GB, free: 0.6211 MB / 0.5608 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.00214/0.2532, allocations: 1.809 MB / 0.743 GB, free: 14.78 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.0004613/0.2537, allocations: 251.3 kB / 0.7432 GB, free: 14.52 MB / 0.5764 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2537, allocations: 0 / 0.7432 GB, free: 14.52 MB / 0.5764 GB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.2539, allocations: 159.4 kB / 0.7434 GB, free: 14.35 MB / 0.5764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.2551, allocations: 433.2 kB / 0.7438 GB, free: 13.93 MB / 0.5764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6351/0.8903, allocations: 32.81 MB / 0.7758 GB, free: 55.97 MB / 0.5767 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001843/0.8921, allocations: 2.725 MB / 0.7785 GB, free: 54.99 MB / 0.5767 GB Notification: Performance of simCode: alias equations: time 0.002069/0.8942, allocations: 1.146 MB / 0.7796 GB, free: 54.5 MB / 0.5767 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001624/0.8958, allocations: 2.083 MB / 0.7816 GB, free: 52.66 MB / 0.5767 GB Notification: Performance of SimCode: time 2.605e-06/0.8958, allocations: 0 / 0.7816 GB, free: 52.66 MB / 0.5767 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1332/1.029, allocations: 79.59 MB / 0.8594 GB, free: 8.477 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.84/28.87, allocations: 4.438 kB / 0.8594 GB, free: 8.473 MB / 0.6079 GB " [Timeout remaining time 271] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_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_ScaledExperiments_TimeTable_N_500.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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: 33.36853884003358]