Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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.0008817/0.0008817, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004117/0.004117, allocations: 161.5 kB / 24.7 MB, free: 9.418 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.9445/0.9445, allocations: 177.2 MB / 205 MB, free: 5.719 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.7015/0.7015, allocations: 88.06 MB / 349.5 MB, free: 14.33 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: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.5242 GB, free: 3.543 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.732e-05, allocations: 2.281 kB / 0.5242 GB, free: 3.539 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.00196/0.001988, allocations: 1.425 MB / 0.5256 GB, free: 2.105 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007634/0.002751, allocations: 0.5569 MB / 0.5262 GB, free: 1.543 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.989e-05/0.002811, allocations: 0 / 0.5262 GB, free: 1.543 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002108/0.004919, allocations: 3.426 MB / 0.5295 GB, free: 14.11 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001928/0.006847, allocations: 3.485 MB / 0.5329 GB, free: 10.62 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.007215, allocations: 79.78 kB / 0.533 GB, free: 10.54 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.005635/0.01285, allocations: 8.551 MB / 0.5413 GB, free: 1.977 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.785e-05/0.0129, allocations: 4 kB / 0.5413 GB, free: 1.973 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003778/0.01667, allocations: 4.754 MB / 0.546 GB, free: 13.21 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005427/0.0221, allocations: 9.058 MB / 0.5548 GB, free: 4.137 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0005653/0.02267, allocations: 500 kB / 0.5553 GB, free: 3.648 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006258/0.02329, allocations: 0.5546 MB / 0.5558 GB, free: 3.094 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01511/0.0384, allocations: 20.95 MB / 0.5763 GB, free: 14.09 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.006228/0.04463, allocations: 4.776 MB / 0.581 GB, free: 9.289 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.01382/0.05845, allocations: 22.07 MB / 0.6025 GB, free: 3.098 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.05845, allocations: 0 / 0.6025 GB, free: 3.098 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.164e-06/0.05846, allocations: 0 / 0.6025 GB, free: 3.098 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0007261/0.05918, allocations: 4 kB / 0.6025 GB, free: 3.094 MB / 0.5105 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.5135/0.5727, allocations: 39.89 MB / 0.6415 GB, free: 79.2 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.5728, allocations: 9.312 kB / 0.6415 GB, free: 79.2 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004009/0.5768, allocations: 4.648 MB / 0.646 GB, free: 76.48 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07105/0.6478, allocations: 52.37 MB / 0.6972 GB, free: 31.88 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.6478, allocations: 384 / 0.6972 GB, free: 31.88 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.648, allocations: 132.4 kB / 0.6973 GB, free: 31.75 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009593/0.649, allocations: 1.545 MB / 0.6988 GB, free: 30.19 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.649, allocations: 192 / 0.6988 GB, free: 30.19 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/0.6491, allocations: 130.6 kB / 0.6989 GB, free: 30.07 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.6492, allocations: 0 / 0.6989 GB, free: 30.07 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006723/0.6498, allocations: 0.905 MB / 0.6998 GB, free: 29.16 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01493/0.6647, allocations: 13.5 MB / 0.713 GB, free: 15.61 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008393/0.6656, allocations: 0.5471 MB / 0.7135 GB, free: 15.05 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004239/0.666, allocations: 0.5444 MB / 0.7141 GB, free: 14.5 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.666, allocations: 1.125 kB / 0.7141 GB, free: 14.5 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006957/0.6667, allocations: 1.358 MB / 0.7154 GB, free: 13.12 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=8): time 2.364e-06/0.6667, allocations: 0 / 0.7154 GB, free: 13.12 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8): time 0.006662/0.6734, allocations: 8.629 MB / 0.7238 GB, free: 4.438 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.6734, allocations: 81.09 kB / 0.7239 GB, free: 4.34 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05636/0.7298, allocations: 49.58 MB / 0.7723 GB, free: 3.172 MB / 0.5888 GB Notification: Performance of collectPreVariables (initialization): time 0.0005212/0.7303, allocations: 153.3 kB / 0.7725 GB, free: 3.02 MB / 0.5888 GB Notification: Performance of collectInitialEqns (initialization): time 0.01885/0.7491, allocations: 22.55 MB / 0.7945 GB, free: 12.45 MB / 0.62 GB Notification: Performance of collectInitialBindings (initialization): time 0.000802/0.75, allocations: 143.7 kB / 0.7946 GB, free: 12.31 MB / 0.62 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006869/0.7506, allocations: 0.8744 MB / 0.7955 GB, free: 11.43 MB / 0.62 GB Notification: Performance of setup shared object (initialization): time 7.838e-05/0.7507, allocations: 314 kB / 0.7958 GB, free: 11.12 MB / 0.62 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/0.7512, allocations: 0.5329 MB / 0.7963 GB, free: 10.58 MB / 0.62 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007574/0.752, allocations: 0.5329 MB / 0.7968 GB, free: 10.04 MB / 0.62 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.753, allocations: 1.084 MB / 0.7979 GB, free: 8.945 MB / 0.62 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.753, allocations: 3.375 kB / 0.7979 GB, free: 8.945 MB / 0.62 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00793/0.761, allocations: 8.107 MB / 0.8058 GB, free: 0.793 MB / 0.62 GB Notification: Performance of prepare postOptimizeDAE: time 4.585e-05/0.761, allocations: 41.22 kB / 0.8058 GB, free: 0.75 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.761, allocations: 4 kB / 0.8058 GB, free: 0.7461 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.761, allocations: 0 / 0.8058 GB, free: 0.7461 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.455e-05/0.7611, allocations: 4 kB / 0.8058 GB, free: 0.7422 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.7611, allocations: 0 / 0.8058 GB, free: 0.7422 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003664/0.7648, allocations: 131.9 kB / 0.806 GB, free: 0.6133 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009195/0.7657, allocations: 1.713 MB / 0.8076 GB, free: 14.9 MB / 0.6356 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.01354/0.7793, allocations: 9.674 MB / 0.8171 GB, free: 5.211 MB / 0.6356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005631/0.7849, allocations: 4.772 MB / 0.8217 GB, free: 420 kB / 0.6356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008172/0.7931, allocations: 5.115 MB / 0.8267 GB, free: 11.29 MB / 0.6513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.7931, allocations: 4 kB / 0.8267 GB, free: 11.29 MB / 0.6513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.7931, allocations: 0 / 0.8267 GB, free: 11.29 MB / 0.6513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.7931, allocations: 0 / 0.8267 GB, free: 11.29 MB / 0.6513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01568/0.8088, allocations: 14.73 MB / 0.8411 GB, free: 12.52 MB / 0.6669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.8088, allocations: 0.875 kB / 0.8411 GB, free: 12.52 MB / 0.6669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.8088, allocations: 7.938 kB / 0.8411 GB, free: 12.51 MB / 0.6669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.8088, allocations: 0 / 0.8411 GB, free: 12.51 MB / 0.6669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006985/0.8095, allocations: 380 kB / 0.8415 GB, free: 12.14 MB / 0.6669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.8095, allocations: 0.5 kB / 0.8415 GB, free: 12.14 MB / 0.6669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.8095, allocations: 4.75 kB / 0.8415 GB, free: 12.13 MB / 0.6669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007679/0.8172, allocations: 8.429 MB / 0.8497 GB, free: 3.645 MB / 0.6669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005143/0.8223, allocations: 4.047 MB / 0.8537 GB, free: 15.57 MB / 0.6825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001532/0.8239, allocations: 128 kB / 0.8538 GB, free: 15.44 MB / 0.6825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/0.8255, allocations: 131.9 kB / 0.8539 GB, free: 15.31 MB / 0.6825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.8255, allocations: 4 kB / 0.8539 GB, free: 15.31 MB / 0.6825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008475/0.8264, allocations: 1.718 MB / 0.8556 GB, free: 13.59 MB / 0.6825 GB Notification: Performance of sorting global known variables: time 0.0548/0.8812, allocations: 34.49 MB / 0.8893 GB, free: 11.41 MB / 0.7138 GB Notification: Performance of sort global known variables: time 4.61e-07/0.8812, allocations: 1.312 kB / 0.8893 GB, free: 11.41 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.004134/0.8853, allocations: 1.25 MB / 0.8905 GB, free: 10.16 MB / 0.7138 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.0003722/0.8857, allocations: 253.6 kB / 0.8908 GB, free: 9.898 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.001303/0.887, allocations: 1.276 MB / 0.892 GB, free: 8.598 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.887, allocations: 0 / 0.892 GB, free: 8.598 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0007154/0.8877, allocations: 0.7237 MB / 0.8927 GB, free: 7.855 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007377/0.8951, allocations: 3.384 MB / 0.896 GB, free: 4.469 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5286/1.424, allocations: 73.55 MB / 0.9678 GB, free: 238.4 MB / 0.7296 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01306/1.437, allocations: 17.24 MB / 0.9847 GB, free: 221.1 MB / 0.7296 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001821/1.439, allocations: 1.961 MB / 0.9866 GB, free: 219.1 MB / 0.7296 GB Notification: Performance of SimCode: time 2.134e-06/1.439, allocations: 1.641 kB / 0.9866 GB, free: 219.1 MB / 0.7296 GB Notification: Performance of Templates: time 12.43/13.87, allocations: 6.115 GB / 7.101 GB, free: 169 MB / 0.8078 GB " [Timeout remaining time 286] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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: 25.587597677484155]