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.001339/0.001339, allocations: 113.1 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.001602/0.001602, allocations: 213.5 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.439/1.439, 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.078/1.078, allocations: 120.6 MB / 434.5 MB, free: 0.8086 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.002057/0.002057, allocations: 66.39 kB / 0.6068 GB, free: 10.92 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1628, allocations: 85.86 MB / 0.6906 GB, free: 4.848 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002929/0.1658, allocations: 1.435 MB / 0.692 GB, free: 3.406 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.167, allocations: 0.6076 MB / 0.6926 GB, free: 2.793 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.901e-05/0.167, allocations: 0 / 0.6926 GB, free: 2.793 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005059/0.1675, allocations: 451.1 kB / 0.693 GB, free: 2.352 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0006021/0.1681, allocations: 0.495 MB / 0.6935 GB, free: 1.855 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.1684, allocations: 67.86 kB / 0.6936 GB, free: 1.789 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.001051/0.1695, allocations: 1.131 MB / 0.6947 GB, free: 0.6562 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.1695, allocations: 3.938 kB / 0.6947 GB, free: 0.6523 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009129/0.1704, allocations: 0.5732 MB / 0.6952 GB, free: 80 kB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001348/0.1718, allocations: 1.158 MB / 0.6964 GB, free: 14.92 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.0001809/0.172, allocations: 68 kB / 0.6964 GB, free: 14.85 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002548/0.1722, allocations: 139.9 kB / 0.6966 GB, free: 14.71 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.003057/0.1753, allocations: 2.599 MB / 0.6991 GB, free: 12.11 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.001523/0.1768, allocations: 1.423 MB / 0.7005 GB, free: 10.67 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.00323/0.18, allocations: 3.197 MB / 0.7036 GB, free: 7.453 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.18, allocations: 0 / 0.7036 GB, free: 7.453 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.813e-06/0.18, allocations: 4 kB / 0.7036 GB, free: 7.449 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 9.147e-05/0.1801, allocations: 0 / 0.7036 GB, free: 7.449 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.006792/0.1869, allocations: 5.305 MB / 0.7088 GB, free: 2.066 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.187, allocations: 12.03 kB / 0.7088 GB, free: 2.055 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.187, allocations: 34.75 kB / 0.7089 GB, free: 2.012 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007833/0.1878, allocations: 0.5867 MB / 0.7094 GB, free: 1.422 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01087/0.1987, allocations: 6.318 MB / 0.7156 GB, free: 11 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.1987, allocations: 8.375 kB / 0.7156 GB, free: 10.99 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.994e-05/0.1987, allocations: 16.38 kB / 0.7156 GB, free: 10.97 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.1991, allocations: 253.5 kB / 0.7159 GB, free: 10.72 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1991, allocations: 0 / 0.7159 GB, free: 10.72 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.1992, allocations: 16 kB / 0.7159 GB, free: 10.7 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1992, allocations: 0 / 0.7159 GB, free: 10.7 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.1994, allocations: 128 kB / 0.716 GB, free: 10.58 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.2016, allocations: 1.834 MB / 0.7178 GB, free: 8.703 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.2018, allocations: 94.56 kB / 0.7179 GB, free: 8.602 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.2019, allocations: 88.8 kB / 0.718 GB, free: 8.512 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.2019, allocations: 4.031 kB / 0.718 GB, free: 8.508 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003611/0.2023, allocations: 256.8 kB / 0.7182 GB, free: 8.238 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.2023, allocations: 0 / 0.7182 GB, free: 8.238 MB / 0.5452 GB Notification: Performance of matching and sorting (n=8): time 0.002048/0.2043, allocations: 1.199 MB / 0.7194 GB, free: 7.023 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/0.2044, allocations: 85.11 kB / 0.7195 GB, free: 6.922 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008497/0.2129, allocations: 6.279 MB / 0.7256 GB, free: 0.6875 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.213, allocations: 45.7 kB / 0.7256 GB, free: 0.6367 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.00249/0.2155, allocations: 2.52 MB / 0.7281 GB, free: 14.11 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.2156, allocations: 39.8 kB / 0.7281 GB, free: 14.07 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.2158, allocations: 133.7 kB / 0.7283 GB, free: 13.93 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2159, allocations: 310 kB / 0.7286 GB, free: 13.62 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.2161, allocations: 79.98 kB / 0.7286 GB, free: 13.55 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.2162, allocations: 76 kB / 0.7287 GB, free: 13.47 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.2165, allocations: 232.3 kB / 0.7289 GB, free: 13.23 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2165, allocations: 0 / 0.7289 GB, free: 13.23 MB / 0.5608 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001566/0.2181, allocations: 1.124 MB / 0.73 GB, free: 12.09 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 6.328e-05/0.2182, allocations: 37.69 kB / 0.7301 GB, free: 12.05 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2182, allocations: 0 / 0.7301 GB, free: 12.05 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.2182, allocations: 0 / 0.7301 GB, free: 12.05 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.008e-05/0.2183, allocations: 4 kB / 0.7301 GB, free: 12.04 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2183, allocations: 4 kB / 0.7301 GB, free: 12.04 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004157/0.2187, allocations: 19.95 kB / 0.7301 GB, free: 12.02 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/0.2189, allocations: 224 kB / 0.7303 GB, free: 11.8 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.001825/0.2207, allocations: 1.334 MB / 0.7316 GB, free: 10.45 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005433/0.2212, allocations: 0.6092 MB / 0.7322 GB, free: 9.836 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007912/0.222, allocations: 0.6441 MB / 0.7328 GB, free: 9.191 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.222, allocations: 3.984 kB / 0.7328 GB, free: 9.188 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.222, allocations: 0 / 0.7328 GB, free: 9.188 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.222, allocations: 3.938 kB / 0.7328 GB, free: 9.184 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.224, allocations: 1.994 MB / 0.7348 GB, free: 7.148 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.224, allocations: 3.938 kB / 0.7348 GB, free: 7.145 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.804e-05/0.2241, allocations: 7.938 kB / 0.7348 GB, free: 7.137 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/0.2241, allocations: 0 / 0.7348 GB, free: 7.137 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.153e-05/0.2242, allocations: 52 kB / 0.7349 GB, free: 7.086 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.2242, allocations: 12 kB / 0.7349 GB, free: 7.074 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2242, allocations: 0 / 0.7349 GB, free: 7.074 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.2254, allocations: 1.195 MB / 0.736 GB, free: 5.855 MB / 0.5608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009147/0.2263, allocations: 0.5193 MB / 0.7365 GB, free: 5.332 MB / 0.5608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003043/0.2266, allocations: 23.98 kB / 0.7366 GB, free: 5.309 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003052/0.2269, allocations: 20 kB / 0.7366 GB, free: 5.289 MB / 0.5608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.227, allocations: 0 / 0.7366 GB, free: 5.289 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001919/0.2272, allocations: 224 kB / 0.7368 GB, free: 5.07 MB / 0.5608 GB Notification: Performance of sorting global known variables: time 0.00588/0.233, allocations: 4.328 MB / 0.741 GB, free: 0.7812 MB / 0.5608 GB Notification: Performance of sort global known variables: time 2.11e-07/0.233, allocations: 4 kB / 0.741 GB, free: 0.7773 MB / 0.5608 GB Notification: Performance of remove unused functions: time 0.0007014/0.2337, allocations: 187.9 kB / 0.7412 GB, free: 0.5938 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.001945/0.2357, allocations: 1.805 MB / 0.743 GB, free: 14.75 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.0004318/0.2361, allocations: 259.4 kB / 0.7432 GB, free: 14.48 MB / 0.5764 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2361, allocations: 0 / 0.7432 GB, free: 14.48 MB / 0.5764 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.2363, allocations: 163.3 kB / 0.7434 GB, free: 14.31 MB / 0.5764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.2376, allocations: 442.7 kB / 0.7438 GB, free: 13.88 MB / 0.5764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5917/0.8293, allocations: 32.81 MB / 0.7758 GB, free: 55.98 MB / 0.5767 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001766/0.8311, allocations: 2.72 MB / 0.7785 GB, free: 54.99 MB / 0.5767 GB Notification: Performance of simCode: alias equations: time 0.001824/0.8329, allocations: 1.139 MB / 0.7796 GB, free: 54.49 MB / 0.5767 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001415/0.8343, allocations: 2.09 MB / 0.7816 GB, free: 52.65 MB / 0.5767 GB Notification: Performance of SimCode: time 1.473e-06/0.8343, allocations: 1.094 kB / 0.7816 GB, free: 52.65 MB / 0.5767 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1237/0.958, allocations: 79.59 MB / 0.8594 GB, free: 8.434 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.78/28.73, allocations: 4.438 kB / 0.8594 GB, free: 8.43 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=300 --tolerance=1e-06 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.mat","/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 299] Reference file matches [Calling sys.exit(0), Time elapsed: 33.92635800992139]