Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.001035/0.001035, allocations: 76.41 kB / 21.18 MB, free: 3.387 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.0009585/0.0009585, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 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.9918/0.9918, allocations: 177.2 MB / 205 MB, free: 5.609 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.6936/0.6936, allocations: 88.08 MB / 349.6 MB, free: 14.25 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_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 451.6 MB, free: 33.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.946e-05, allocations: 5.688 kB / 451.6 MB, free: 33.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.005405/0.005434, allocations: 1.472 MB / 453 MB, free: 32.38 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008783/0.006313, allocations: 0.582 MB / 453.6 MB, free: 32 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.599e-05/0.006369, allocations: 0 / 453.6 MB, free: 32 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0005644/0.006933, allocations: 0.8596 MB / 454.5 MB, free: 31.85 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005236/0.007456, allocations: 0.9177 MB / 455.4 MB, free: 31.67 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.007764, allocations: 79 kB / 455.5 MB, free: 31.64 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.001271/0.009036, allocations: 2.19 MB / 457.7 MB, free: 31.23 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.009077, allocations: 6.594 kB / 457.7 MB, free: 31.23 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006392/0.01547, allocations: 8.283 MB / 466 MB, free: 30.3 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.01648, allocations: 1.086 MB / 467 MB, free: 30.26 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001714/0.01665, allocations: 2.688 kB / 467 MB, free: 30.26 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002979/0.01695, allocations: 67.64 kB / 467.1 MB, free: 30.25 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.004098/0.02105, allocations: 5.094 MB / 472.2 MB, free: 28.74 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.02215, allocations: 0.9473 MB / 473.2 MB, free: 28.29 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004612/0.02676, allocations: 5.141 MB / 478.3 MB, free: 26.27 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.978e-06/0.02677, allocations: 0 / 478.3 MB, free: 26.27 MB / 410.8 MB Notification: Performance of FrontEnd: time 4.047e-06/0.02678, allocations: 7.938 kB / 478.3 MB, free: 26.26 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0003437/0.02712, allocations: 0 / 478.3 MB, free: 26.26 MB / 410.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.01479/0.04191, allocations: 10.76 MB / 489.1 MB, free: 17.91 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.04196, allocations: 8.031 kB / 489.1 MB, free: 17.91 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008504/0.04281, allocations: 1.165 MB / 490.2 MB, free: 16.73 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008709/0.05152, allocations: 7.531 MB / 497.8 MB, free: 10 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.05154, allocations: 8.375 kB / 497.8 MB, free: 9.996 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.413e-05/0.0516, allocations: 384 / 497.8 MB, free: 9.996 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005779/0.05218, allocations: 496.3 kB / 498.3 MB, free: 9.734 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.05219, allocations: 4.188 kB / 498.3 MB, free: 9.73 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.729e-05/0.05224, allocations: 4.375 kB / 498.3 MB, free: 9.727 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.05225, allocations: 3.938 kB / 498.3 MB, free: 9.723 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002953/0.05255, allocations: 328.6 kB / 498.6 MB, free: 9.453 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004175/0.05672, allocations: 4.606 MB / 0.4914 GB, free: 4.816 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.05702, allocations: 216.5 kB / 0.4916 GB, free: 4.586 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.0572, allocations: 189.2 kB / 0.4918 GB, free: 4.391 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.05721, allocations: 0 / 0.4918 GB, free: 4.391 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003705/0.05758, allocations: 0.5347 MB / 0.4923 GB, free: 3.828 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 2.034e-06/0.05758, allocations: 0 / 0.4923 GB, free: 3.828 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.00211/0.05969, allocations: 2.599 MB / 0.4949 GB, free: 1.195 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.05973, allocations: 97.03 kB / 0.495 GB, free: 1.082 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01072/0.07045, allocations: 11.12 MB / 0.5058 GB, free: 6.066 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004226/0.07087, allocations: 29.7 kB / 0.5058 GB, free: 6.031 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003601/0.07447, allocations: 5.837 MB / 0.5115 GB, free: 196 kB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004751/0.07494, allocations: 19.89 kB / 0.5116 GB, free: 176 kB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003188/0.07526, allocations: 311 kB / 0.5119 GB, free: 15.86 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.0754, allocations: 484.4 kB / 0.5123 GB, free: 15.38 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.07563, allocations: 185.5 kB / 0.5125 GB, free: 15.19 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.07582, allocations: 185.5 kB / 0.5127 GB, free: 15 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004192/0.07624, allocations: 378.7 kB / 0.513 GB, free: 14.62 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.07625, allocations: 0 / 0.513 GB, free: 14.62 MB / 442.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002768/0.07901, allocations: 2.424 MB / 0.5154 GB, free: 12.17 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.058e-05/0.07907, allocations: 37.69 kB / 0.5154 GB, free: 12.12 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.07908, allocations: 11.94 kB / 0.5154 GB, free: 12.11 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.07909, allocations: 0 / 0.5154 GB, free: 12.11 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.506e-05/0.07919, allocations: 11.88 kB / 0.5155 GB, free: 12.1 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.0792, allocations: 0 / 0.5155 GB, free: 12.1 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006287/0.07983, allocations: 7.938 kB / 0.5155 GB, free: 12.09 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005673/0.08039, allocations: 0.7225 MB / 0.5162 GB, free: 11.37 MB / 442.8 MB 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.00168/0.08207, allocations: 194.3 kB / 0.5164 GB, free: 11.16 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008043/0.08288, allocations: 1.172 MB / 0.5175 GB, free: 9.984 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/0.08432, allocations: 0.9212 MB / 0.5184 GB, free: 9.055 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.08433, allocations: 0 / 0.5184 GB, free: 9.055 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.08433, allocations: 3.938 kB / 0.5184 GB, free: 9.051 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.08434, allocations: 0 / 0.5184 GB, free: 9.051 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003941/0.08828, allocations: 4.731 MB / 0.523 GB, free: 4.289 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.08828, allocations: 0 / 0.523 GB, free: 4.289 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-05/0.08832, allocations: 8 kB / 0.523 GB, free: 4.281 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.08833, allocations: 0 / 0.523 GB, free: 4.281 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002476/0.08858, allocations: 143.8 kB / 0.5232 GB, free: 4.141 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.08858, allocations: 0 / 0.5232 GB, free: 4.141 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.08858, allocations: 4 kB / 0.5232 GB, free: 4.137 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002509/0.09109, allocations: 2.595 MB / 0.5257 GB, free: 1.5 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009489/0.09204, allocations: 1.019 MB / 0.5267 GB, free: 484 kB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003025/0.09234, allocations: 4 kB / 0.5267 GB, free: 480 kB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003563/0.0927, allocations: 0 / 0.5267 GB, free: 480 kB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.09274, allocations: 7.938 kB / 0.5267 GB, free: 472 kB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005485/0.09329, allocations: 0.7225 MB / 0.5274 GB, free: 15.74 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.008761/0.1021, allocations: 5.862 MB / 0.5331 GB, free: 9.957 MB / 458.8 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1021, allocations: 0 / 0.5331 GB, free: 9.957 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.002177/0.1042, allocations: 279.9 kB / 0.5334 GB, free: 9.684 MB / 458.8 MB 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.0003585/0.1046, allocations: 131.2 kB / 0.5335 GB, free: 9.547 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0007198/0.1053, allocations: 466 kB / 0.534 GB, free: 9.062 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1053, allocations: 0 / 0.534 GB, free: 9.062 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002947/0.1056, allocations: 264.5 kB / 0.5342 GB, free: 8.781 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00288/0.1085, allocations: 0.9301 MB / 0.5351 GB, free: 7.852 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02519/0.1337, allocations: 14.6 MB / 0.5494 GB, free: 9.121 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003707/0.1374, allocations: 1.931 MB / 0.5513 GB, free: 7.172 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.004779/0.1422, allocations: 1.926 MB / 0.5532 GB, free: 5.234 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009559/0.1431, allocations: 0.5005 MB / 0.5537 GB, free: 4.738 MB / 474.8 MB Notification: Performance of SimCode: time 3.165e-06/0.1431, allocations: 0 / 0.5537 GB, free: 4.738 MB / 474.8 MB Notification: Performance of Templates: time 0.09954/0.2427, allocations: 43.57 MB / 0.5962 GB, free: 9.609 MB / 0.5105 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.440554979722947]