Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.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.001011/0.001011, 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.001213/0.001213, 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 0.9501/0.9501, allocations: 177.1 MB / 204.2 MB, free: 5.738 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.6519/0.6519, allocations: 88.07 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.ScaledExperiments.TimeTable_N_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.523 GB, free: 4.066 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.532e-05, allocations: 9.594 kB / 0.523 GB, free: 4.059 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.00209/0.002115, allocations: 1.424 MB / 0.5244 GB, free: 2.625 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008639/0.002979, allocations: 0.553 MB / 0.5249 GB, free: 2.066 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.103e-05/0.00304, allocations: 0 / 0.5249 GB, free: 2.066 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0005258/0.003566, allocations: 0.8654 MB / 0.5258 GB, free: 1.199 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0006636/0.004229, allocations: 0.916 MB / 0.5267 GB, free: 288 kB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.004508, allocations: 83.73 kB / 0.5267 GB, free: 204 kB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.001175/0.005683, allocations: 2.188 MB / 0.5289 GB, free: 14.01 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.946e-05/0.005733, allocations: 0 / 0.5289 GB, free: 14.01 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.006918, allocations: 1.225 MB / 0.5301 GB, free: 12.78 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001518/0.008436, allocations: 2.285 MB / 0.5323 GB, free: 10.49 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.008616, allocations: 128 kB / 0.5324 GB, free: 10.37 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002627/0.008878, allocations: 199.9 kB / 0.5326 GB, free: 10.17 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003638/0.01252, allocations: 5.245 MB / 0.5377 GB, free: 4.914 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.01367, allocations: 1.196 MB / 0.5389 GB, free: 3.711 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003296/0.01696, allocations: 5.596 MB / 0.5444 GB, free: 14.09 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.01697, allocations: 0 / 0.5444 GB, free: 14.09 MB / 474.8 MB Notification: Performance of FrontEnd: time 3.196e-06/0.01698, allocations: 4 kB / 0.5444 GB, free: 14.08 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.0001387/0.01711, allocations: 0 / 0.5444 GB, free: 14.08 MB / 474.8 MB 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.008622/0.02574, allocations: 10.2 MB / 0.5543 GB, free: 3.766 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.02579, allocations: 8.031 kB / 0.5543 GB, free: 3.758 MB / 474.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/0.02582, allocations: 30.75 kB / 0.5544 GB, free: 3.719 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.02687, allocations: 1.173 MB / 0.5555 GB, free: 2.539 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01662/0.0435, allocations: 13.02 MB / 0.5682 GB, free: 5.379 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.04351, allocations: 384 / 0.5682 GB, free: 5.379 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/0.04356, allocations: 36.38 kB / 0.5683 GB, free: 5.344 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.04393, allocations: 455.6 kB / 0.5687 GB, free: 4.887 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.04394, allocations: 192 / 0.5687 GB, free: 4.887 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.04398, allocations: 36.12 kB / 0.5687 GB, free: 4.852 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.04399, allocations: 0 / 0.5687 GB, free: 4.852 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002246/0.04421, allocations: 269.7 kB / 0.569 GB, free: 4.582 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003414/0.04763, allocations: 3.547 MB / 0.5725 GB, free: 0.9961 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.04783, allocations: 192.2 kB / 0.5726 GB, free: 0.793 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.04799, allocations: 178.6 kB / 0.5728 GB, free: 0.6094 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.048, allocations: 0 / 0.5728 GB, free: 0.6094 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003133/0.04831, allocations: 446.6 kB / 0.5732 GB, free: 152 kB / 490.8 MB Notification: Performance of pre-optimization done (n=8): time 2.805e-06/0.04832, allocations: 7.938 kB / 0.5732 GB, free: 144 kB / 490.8 MB Notification: Performance of matching and sorting (n=8): time 0.001893/0.05021, allocations: 2.319 MB / 0.5755 GB, free: 13.79 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.05025, allocations: 81.09 kB / 0.5756 GB, free: 13.69 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01005/0.0603, allocations: 12.46 MB / 0.5878 GB, free: 1.332 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0001811/0.06048, allocations: 57.7 kB / 0.5878 GB, free: 1.27 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003218/0.0637, allocations: 5.208 MB / 0.5929 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002406/0.06394, allocations: 47.89 kB / 0.5929 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.06413, allocations: 237.7 kB / 0.5932 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.23e-05/0.06422, allocations: 318 kB / 0.5935 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.06438, allocations: 169.7 kB / 0.5936 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.06453, allocations: 173.7 kB / 0.5938 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003255/0.06486, allocations: 360.2 kB / 0.5941 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.06486, allocations: 0 / 0.5941 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002007/0.06687, allocations: 2.153 MB / 0.5962 GB, free: 8.562 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.098e-05/0.06692, allocations: 40.83 kB / 0.5963 GB, free: 8.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.06693, allocations: 3.938 kB / 0.5963 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.06695, allocations: 0 / 0.5963 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.676e-05/0.06703, allocations: 4 kB / 0.5963 GB, free: 8.512 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.06704, allocations: 3.984 kB / 0.5963 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007445/0.06779, allocations: 36 kB / 0.5963 GB, free: 8.473 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002386/0.06803, allocations: 436 kB / 0.5967 GB, free: 8.047 MB / 0.5105 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.002945/0.07097, allocations: 2.536 MB / 0.5992 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/0.07206, allocations: 1.203 MB / 0.6004 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/0.07359, allocations: 1.284 MB / 0.6017 GB, free: 2.996 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.0736, allocations: 96 / 0.6017 GB, free: 2.996 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.07361, allocations: 7.938 kB / 0.6017 GB, free: 2.988 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.07361, allocations: 0 / 0.6017 GB, free: 2.988 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003308/0.07692, allocations: 3.856 MB / 0.6054 GB, free: 15.09 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.07692, allocations: 0 / 0.6054 GB, free: 15.09 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.07696, allocations: 4 kB / 0.6054 GB, free: 15.09 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.07696, allocations: 0 / 0.6054 GB, free: 15.09 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001919/0.07715, allocations: 99.94 kB / 0.6055 GB, free: 14.99 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.07716, allocations: 11.98 kB / 0.6055 GB, free: 14.98 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.07716, allocations: 4 kB / 0.6055 GB, free: 14.98 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.07913, allocations: 2.253 MB / 0.6077 GB, free: 12.69 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/0.08031, allocations: 1.019 MB / 0.6087 GB, free: 11.66 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003564/0.08067, allocations: 36.12 kB / 0.6088 GB, free: 11.62 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003593/0.08103, allocations: 36 kB / 0.6088 GB, free: 11.59 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.08107, allocations: 11.97 kB / 0.6088 GB, free: 11.58 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002095/0.08128, allocations: 440 kB / 0.6092 GB, free: 11.15 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01079/0.09206, allocations: 8.575 MB / 0.6176 GB, free: 2.652 MB / 0.5262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.09206, allocations: 0 / 0.6176 GB, free: 2.652 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.001722/0.09379, allocations: 344 kB / 0.6179 GB, free: 2.316 MB / 0.5262 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.002293/0.09608, allocations: 2.912 MB / 0.6208 GB, free: 15.36 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.000476/0.09655, allocations: 462.7 kB / 0.6212 GB, free: 14.88 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.09656, allocations: 0 / 0.6212 GB, free: 14.88 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.09679, allocations: 273.1 kB / 0.6215 GB, free: 14.59 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/0.09878, allocations: 0.8497 MB / 0.6223 GB, free: 13.74 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5645/0.6633, allocations: 65.3 MB / 0.6861 GB, free: 67.15 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003381/0.6667, allocations: 4.343 MB / 0.6903 GB, free: 62.78 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.004001/0.6707, allocations: 2.377 MB / 0.6926 GB, free: 60.54 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003255/0.674, allocations: 4.402 MB / 0.6969 GB, free: 56.14 MB / 0.5419 GB Notification: Performance of SimCode: time 2.295e-06/0.674, allocations: 0 / 0.6969 GB, free: 56.14 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2024/0.8764, allocations: 160.4 MB / 0.8536 GB, free: 7.68 MB / 0.6513 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.18/21.05, allocations: 10.8 kB / 0.8536 GB, free: 7.672 MB / 0.6513 GB " [Timeout remaining time 279] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.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: 25.60547937359661]