Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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.000869/0.000869, allocations: 75.7 kB / 20.67 MB, free: 3.883 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.0009073/0.0009073, allocations: 170 kB / 23.94 MB, free: 0.6094 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.9252/0.9252, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.6598/0.6598, 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_2000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.486e-06/3.486e-06, allocations: 0 / 0.523 GB, free: 4.043 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.08e-05/4.428e-05, allocations: 3.828 kB / 0.523 GB, free: 4.039 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002915/0.002959, allocations: 1.424 MB / 0.5244 GB, free: 2.605 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009775/0.003937, allocations: 0.5492 MB / 0.5249 GB, free: 2.051 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.301e-05/0.004, allocations: 4 kB / 0.5249 GB, free: 2.047 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0008975/0.004897, allocations: 1.715 MB / 0.5266 GB, free: 336 kB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.006016, allocations: 1.77 MB / 0.5283 GB, free: 14.55 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.006394, allocations: 87.72 kB / 0.5284 GB, free: 14.47 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002463/0.008857, allocations: 4.311 MB / 0.5326 GB, free: 10.15 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.819e-05/0.008915, allocations: 0 / 0.5326 GB, free: 10.15 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002917/0.01183, allocations: 2.399 MB / 0.535 GB, free: 7.75 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003703/0.01553, allocations: 4.539 MB / 0.5394 GB, free: 3.203 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0005403/0.01608, allocations: 255.9 kB / 0.5396 GB, free: 2.953 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000394/0.01647, allocations: 327.9 kB / 0.54 GB, free: 2.633 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.007299/0.02377, allocations: 10.48 MB / 0.5502 GB, free: 8.129 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.003853/0.02762, allocations: 2.388 MB / 0.5525 GB, free: 5.727 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0109/0.03852, allocations: 11.09 MB / 0.5633 GB, free: 10.58 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.03853, allocations: 0 / 0.5633 GB, free: 10.58 MB / 490.8 MB Notification: Performance of FrontEnd: time 4.228e-06/0.03853, allocations: 8 kB / 0.5634 GB, free: 10.57 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0006635/0.0392, allocations: 0 / 0.5634 GB, free: 10.57 MB / 490.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.02452/0.06372, allocations: 20.09 MB / 0.583 GB, free: 6.27 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/0.06378, allocations: 8.031 kB / 0.583 GB, free: 6.262 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.336e-05/0.06382, allocations: 42.67 kB / 0.583 GB, free: 6.211 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002622/0.06645, allocations: 2.325 MB / 0.5853 GB, free: 3.871 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04626/0.1127, allocations: 26.13 MB / 0.6108 GB, free: 9.527 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.1127, allocations: 4.359 kB / 0.6108 GB, free: 9.523 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.1128, allocations: 64.38 kB / 0.6109 GB, free: 9.461 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/0.1135, allocations: 0.8117 MB / 0.6117 GB, free: 8.637 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1135, allocations: 4.188 kB / 0.6117 GB, free: 8.633 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.141e-05/0.1136, allocations: 70.06 kB / 0.6117 GB, free: 8.566 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.1136, allocations: 0 / 0.6117 GB, free: 8.566 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.114, allocations: 489.7 kB / 0.6122 GB, free: 8.082 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009567/0.1236, allocations: 6.964 MB / 0.619 GB, free: 1.074 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005909/0.1242, allocations: 316.2 kB / 0.6193 GB, free: 0.75 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.1245, allocations: 302.6 kB / 0.6196 GB, free: 456 kB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.1245, allocations: 0 / 0.6196 GB, free: 456 kB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005918/0.1251, allocations: 0.7364 MB / 0.6203 GB, free: 15.68 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=8): time 2.935e-06/0.1251, allocations: 0 / 0.6203 GB, free: 15.68 MB / 0.5418 GB Notification: Performance of matching and sorting (n=8): time 0.004819/0.1299, allocations: 4.428 MB / 0.6246 GB, free: 11.21 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.13, allocations: 77.11 kB / 0.6247 GB, free: 11.12 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5453/0.6753, allocations: 24.84 MB / 0.649 GB, free: 82.25 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002601/0.6756, allocations: 87.45 kB / 0.6491 GB, free: 82.22 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.008084/0.6836, allocations: 10.82 MB / 0.6596 GB, free: 73.6 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005729/0.6842, allocations: 78.19 kB / 0.6597 GB, free: 73.59 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003086/0.6845, allocations: 464.7 kB / 0.6601 GB, free: 73.57 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 5.034e-05/0.6846, allocations: 312.6 kB / 0.6604 GB, free: 73.27 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.6849, allocations: 297.7 kB / 0.6607 GB, free: 73.23 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.6851, allocations: 299.7 kB / 0.661 GB, free: 73.19 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005647/0.6857, allocations: 0.5943 MB / 0.6616 GB, free: 73.1 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.6857, allocations: 2.828 kB / 0.6616 GB, free: 73.1 MB / 0.5419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003666/0.6893, allocations: 4.134 MB / 0.6656 GB, free: 72.98 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 4.849e-05/0.6894, allocations: 33.44 kB / 0.6657 GB, free: 72.95 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.6894, allocations: 3.812 kB / 0.6657 GB, free: 72.95 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.6894, allocations: 0.6562 kB / 0.6657 GB, free: 72.95 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.6895, allocations: 3.75 kB / 0.6657 GB, free: 72.95 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.6895, allocations: 0.625 kB / 0.6657 GB, free: 72.95 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/0.692, allocations: 74.64 kB / 0.6657 GB, free: 72.95 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004013/0.6924, allocations: 0.86 MB / 0.6666 GB, free: 72.82 MB / 0.5419 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.006504/0.6989, allocations: 4.908 MB / 0.6714 GB, free: 68.63 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002562/0.7014, allocations: 2.393 MB / 0.6737 GB, free: 67.59 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004132/0.7056, allocations: 2.565 MB / 0.6762 GB, free: 65.02 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.7056, allocations: 0 / 0.6762 GB, free: 65.02 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.7056, allocations: 4 kB / 0.6762 GB, free: 65.01 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.7056, allocations: 3.984 kB / 0.6762 GB, free: 65.01 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009467/0.715, allocations: 7.578 MB / 0.6836 GB, free: 57.39 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.715, allocations: 0 / 0.6836 GB, free: 57.39 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/0.7151, allocations: 4 kB / 0.6836 GB, free: 57.38 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.7151, allocations: 0 / 0.6836 GB, free: 57.38 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004412/0.7155, allocations: 201.3 kB / 0.6838 GB, free: 57.19 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/0.7155, allocations: 3.25 kB / 0.6838 GB, free: 57.19 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7155, allocations: 0 / 0.6838 GB, free: 57.19 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003368/0.7189, allocations: 4.321 MB / 0.688 GB, free: 52.84 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002669/0.7216, allocations: 2.027 MB / 0.69 GB, free: 50.79 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001513/0.7231, allocations: 71.94 kB / 0.6901 GB, free: 50.72 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.7243, allocations: 64.56 kB / 0.6902 GB, free: 50.66 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.7243, allocations: 7.797 kB / 0.6902 GB, free: 50.66 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003441/0.7247, allocations: 0.8594 MB / 0.691 GB, free: 49.8 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.01927/0.7439, allocations: 17.24 MB / 0.7078 GB, free: 32.71 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7439, allocations: 0.5625 kB / 0.7078 GB, free: 32.71 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.002177/0.7461, allocations: 0.6434 MB / 0.7085 GB, free: 32.07 MB / 0.5419 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.003557/0.7497, allocations: 5.11 MB / 0.7135 GB, free: 26.92 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0006189/0.7503, allocations: 0.7158 MB / 0.7142 GB, free: 26.18 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.7503, allocations: 4 kB / 0.7142 GB, free: 26.18 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002983/0.7506, allocations: 429.1 kB / 0.7146 GB, free: 25.74 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004569/0.7551, allocations: 1.69 MB / 0.7162 GB, free: 24.05 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1945/0.9497, allocations: 130.7 MB / 0.8438 GB, free: 5.441 MB / 0.6513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01011/0.9598, allocations: 8.648 MB / 0.8523 GB, free: 12.75 MB / 0.6669 GB Notification: Performance of simCode: alias equations: time 0.007736/0.9675, allocations: 4.695 MB / 0.8568 GB, free: 8.066 MB / 0.6669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007936/0.9754, allocations: 9.293 MB / 0.8659 GB, free: 14.86 MB / 0.6825 GB Notification: Performance of SimCode: time 1.743e-06/0.9755, allocations: 0 / 0.8659 GB, free: 14.86 MB / 0.6825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.109/2.084, allocations: 319.4 MB / 1.178 GB, free: 184.1 MB / 0.7296 GB Notification: Performance of buildModelFMU: Generate platform static: time 42.47/44.56, allocations: 4.844 kB / 1.178 GB, free: 184.1 MB / 0.7296 GB " [Timeout remaining time 255] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000_fmu --startTime=0 --stopTime=1 --stepSize=0.000222321 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_2000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 296] Reference file matches [Calling sys.exit(0), Time elapsed: 53.43589010927826]