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.001537/0.001537, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001716/0.001716, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.366/1.366, allocations: 230.6 MB / 257.5 MB, free: 7.812 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 0.9385/0.9385, allocations: 120.6 MB / 434.5 MB, free: 0.6328 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.001921/0.001921, allocations: 67.89 kB / 0.6067 GB, free: 10.77 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1588, allocations: 85.86 MB / 0.6905 GB, free: 4.695 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002817/0.1616, allocations: 1.42 MB / 0.6919 GB, free: 3.27 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.1626, allocations: 0.5455 MB / 0.6925 GB, free: 2.719 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.404e-05/0.1627, allocations: 7.938 kB / 0.6925 GB, free: 2.711 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0004474/0.1631, allocations: 451.1 kB / 0.6929 GB, free: 2.27 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0005523/0.1637, allocations: 491 kB / 0.6934 GB, free: 1.789 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.164, allocations: 82.16 kB / 0.6934 GB, free: 1.711 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0009471/0.1649, allocations: 1.127 MB / 0.6945 GB, free: 0.582 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.063e-05/0.165, allocations: 7.938 kB / 0.6945 GB, free: 0.5742 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000563/0.1655, allocations: 0.5732 MB / 0.6951 GB, free: 0 / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.1665, allocations: 1.15 MB / 0.6962 GB, free: 14.85 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.1667, allocations: 72 kB / 0.6963 GB, free: 14.78 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002521/0.1669, allocations: 131.9 kB / 0.6964 GB, free: 14.65 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.002822/0.1698, allocations: 2.595 MB / 0.699 GB, free: 12.05 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.0008354/0.1706, allocations: 1.025 MB / 0.7 GB, free: 11.01 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.002719/0.1733, allocations: 3.264 MB / 0.7031 GB, free: 7.727 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1733, allocations: 0 / 0.7031 GB, free: 7.727 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.522e-06/0.1733, allocations: 4 kB / 0.7031 GB, free: 7.723 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 2.77e-05/0.1733, allocations: 0 / 0.7031 GB, free: 7.723 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.005831/0.1792, allocations: 5.305 MB / 0.7083 GB, free: 2.34 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.1792, allocations: 8.031 kB / 0.7083 GB, free: 2.332 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.516e-05/0.1793, allocations: 30.75 kB / 0.7084 GB, free: 2.293 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006336/0.1799, allocations: 0.5945 MB / 0.7089 GB, free: 1.695 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009903/0.1898, allocations: 6.321 MB / 0.7151 GB, free: 11.27 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.1898, allocations: 4.375 kB / 0.7151 GB, free: 11.26 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.426e-05/0.1899, allocations: 24.36 kB / 0.7151 GB, free: 11.24 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/0.1902, allocations: 271.3 kB / 0.7154 GB, free: 10.96 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1902, allocations: 7.938 kB / 0.7154 GB, free: 10.95 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.856e-05/0.1903, allocations: 16 kB / 0.7154 GB, free: 10.94 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1903, allocations: 0 / 0.7154 GB, free: 10.94 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.1905, allocations: 161.7 kB / 0.7156 GB, free: 10.77 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.1923, allocations: 1.826 MB / 0.7174 GB, free: 8.906 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.1925, allocations: 120.3 kB / 0.7175 GB, free: 8.773 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.1927, allocations: 114.6 kB / 0.7176 GB, free: 8.652 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.1927, allocations: 0 / 0.7176 GB, free: 8.652 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003464/0.193, allocations: 302.5 kB / 0.7179 GB, free: 8.332 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=8): time 1.153e-06/0.193, allocations: 4 kB / 0.7179 GB, free: 8.328 MB / 0.5452 GB Notification: Performance of matching and sorting (n=8): time 0.001447/0.1945, allocations: 1.257 MB / 0.7191 GB, free: 7.043 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/0.1945, allocations: 81.11 kB / 0.7192 GB, free: 6.945 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006716/0.2012, allocations: 6.275 MB / 0.7253 GB, free: 0.7148 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/0.2013, allocations: 41.7 kB / 0.7254 GB, free: 0.668 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.002255/0.2035, allocations: 2.52 MB / 0.7278 GB, free: 14.14 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 7.413e-05/0.2036, allocations: 43.78 kB / 0.7279 GB, free: 14.1 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.2038, allocations: 129.7 kB / 0.728 GB, free: 13.97 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.2039, allocations: 310 kB / 0.7283 GB, free: 13.66 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.2041, allocations: 109.7 kB / 0.7284 GB, free: 13.55 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.2042, allocations: 117.6 kB / 0.7285 GB, free: 13.43 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/0.2045, allocations: 236.2 kB / 0.7287 GB, free: 13.18 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2045, allocations: 0 / 0.7287 GB, free: 13.18 MB / 0.5608 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001221/0.2057, allocations: 1.169 MB / 0.7299 GB, free: 11.99 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/0.2058, allocations: 37.64 kB / 0.7299 GB, free: 11.95 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2058, allocations: 0 / 0.7299 GB, free: 11.95 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.2058, allocations: 0 / 0.7299 GB, free: 11.95 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.591e-05/0.2059, allocations: 7.984 kB / 0.7299 GB, free: 11.94 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2059, allocations: 0 / 0.7299 GB, free: 11.94 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/0.2062, allocations: 23.95 kB / 0.7299 GB, free: 11.91 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/0.2064, allocations: 224 kB / 0.7301 GB, free: 11.7 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.001516/0.2079, allocations: 1.334 MB / 0.7314 GB, free: 10.34 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000522/0.2085, allocations: 0.6014 MB / 0.732 GB, free: 9.738 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006345/0.2091, allocations: 0.648 MB / 0.7327 GB, free: 9.09 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2091, allocations: 4 kB / 0.7327 GB, free: 9.086 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2091, allocations: 0 / 0.7327 GB, free: 9.086 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2091, allocations: 0 / 0.7327 GB, free: 9.086 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/0.211, allocations: 1.99 MB / 0.7346 GB, free: 7.055 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.211, allocations: 3.938 kB / 0.7346 GB, free: 7.051 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.243e-05/0.211, allocations: 4 kB / 0.7346 GB, free: 7.047 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.211, allocations: 0 / 0.7346 GB, free: 7.047 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.766e-05/0.211, allocations: 48 kB / 0.7347 GB, free: 7 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.211, allocations: 4 kB / 0.7347 GB, free: 6.996 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.211, allocations: 4 kB / 0.7347 GB, free: 6.992 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.2123, allocations: 1.24 MB / 0.7359 GB, free: 5.719 MB / 0.5608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008679/0.2131, allocations: 0.5193 MB / 0.7364 GB, free: 5.195 MB / 0.5608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002169/0.2134, allocations: 24 kB / 0.7364 GB, free: 5.172 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.2137, allocations: 16 kB / 0.7364 GB, free: 5.156 MB / 0.5608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.2137, allocations: 8.172 kB / 0.7364 GB, free: 5.148 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001839/0.2139, allocations: 220 kB / 0.7366 GB, free: 4.934 MB / 0.5608 GB Notification: Performance of sorting global known variables: time 0.004986/0.2189, allocations: 4.324 MB / 0.7409 GB, free: 0.6484 MB / 0.5608 GB Notification: Performance of sort global known variables: time 7e-08/0.2189, allocations: 0 / 0.7409 GB, free: 0.6484 MB / 0.5608 GB Notification: Performance of remove unused functions: time 0.0004882/0.2194, allocations: 195.9 kB / 0.7411 GB, free: 468 kB / 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.001682/0.221, allocations: 1.842 MB / 0.7429 GB, free: 14.57 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.0004541/0.2215, allocations: 314.8 kB / 0.7432 GB, free: 14.24 MB / 0.5764 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2215, allocations: 0 / 0.7432 GB, free: 14.24 MB / 0.5764 GB Notification: Performance of simCode: created simulation system equations: time 0.0002296/0.2217, allocations: 193.1 kB / 0.7433 GB, free: 14.03 MB / 0.5764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.2228, allocations: 441.2 kB / 0.7438 GB, free: 13.6 MB / 0.5764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5894/0.8122, allocations: 32.95 MB / 0.7759 GB, free: 55.91 MB / 0.5767 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001653/0.8138, allocations: 2.192 MB / 0.7781 GB, free: 55.38 MB / 0.5767 GB Notification: Performance of simCode: alias equations: time 0.001781/0.8156, allocations: 1.144 MB / 0.7792 GB, free: 54.88 MB / 0.5767 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/0.8169, allocations: 2.089 MB / 0.7812 GB, free: 53.04 MB / 0.5767 GB Notification: Performance of SimCode: time 1.283e-06/0.8169, allocations: 0 / 0.7812 GB, free: 53.04 MB / 0.5767 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.124/0.9409, allocations: 80.92 MB / 0.8603 GB, free: 6.98 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.46/22.4, allocations: 11.75 kB / 0.8603 GB, free: 6.973 MB / 0.6079 GB " [Timeout remaining time 277] (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: 27.35481697693467]