Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 113.8 kB / 17.12 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 193.3 kB / 18.06 MB, free: 4.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.4448/0.4448, allocations: 228.4 MB / 247.2 MB, free: 3.891 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.614/0.614, allocations: 120.7 MB / 420.8 MB, free: 7.293 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 66.33 kB / 0.588 GB, free: 48.7 MB / 478.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1036, allocations: 84.64 MB / 0.6707 GB, free: 2.824 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.002099/0.1057, allocations: 1.424 MB / 0.6721 GB, free: 1.395 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008548/0.1065, allocations: 0.573 MB / 0.6726 GB, free: 0.8164 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.876e-05/0.1066, allocations: 0 / 0.6726 GB, free: 0.8164 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.004318/0.1109, allocations: 6.849 MB / 0.6793 GB, free: 9.953 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.004374/0.1153, allocations: 6.888 MB / 0.6861 GB, free: 3.051 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.1155, allocations: 87.78 kB / 0.6861 GB, free: 2.965 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.01211/0.1276, allocations: 17.03 MB / 0.7028 GB, free: 1.91 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 3.036e-05/0.1277, allocations: 0 / 0.7028 GB, free: 1.91 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007967/0.1356, allocations: 8.462 MB / 0.711 GB, free: 9.434 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01497/0.1506, allocations: 18.09 MB / 0.7287 GB, free: 7.309 MB / 0.5608 GB Notification: Performance of NFPackage.collectConstants: time 0.00177/0.1524, allocations: 0.9805 MB / 0.7297 GB, free: 6.328 MB / 0.5608 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.154, allocations: 1.058 MB / 0.7307 GB, free: 5.27 MB / 0.5608 GB Notification: Performance of NFScalarize.scalarize: time 0.04042/0.1944, allocations: 40.9 MB / 0.7706 GB, free: 12.26 MB / 0.6077 GB Notification: Performance of NFVerifyModel.verify: time 0.0217/0.2161, allocations: 22.48 MB / 0.7926 GB, free: 5.551 MB / 0.6233 GB Notification: Performance of NFConvertDAE.convert: time 0.508/0.7242, allocations: 49.88 MB / 0.8413 GB, free: 52.19 MB / 0.6235 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.7242, allocations: 7.062 kB / 0.8413 GB, free: 52.19 MB / 0.6235 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7242, allocations: 0 / 0.8413 GB, free: 52.19 MB / 0.6235 GB Notification: Performance of Transformations before backend: time 0.001611/0.7258, allocations: 0 / 0.8413 GB, free: 52.19 MB / 0.6235 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.07771/0.8035, allocations: 80.56 MB / 0.92 GB, free: 2.031 MB / 0.6392 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.8035, allocations: 8.031 kB / 0.92 GB, free: 2.023 MB / 0.6392 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01144/0.815, allocations: 9.284 MB / 0.9291 GB, free: 8.672 MB / 0.6548 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1766/0.9915, allocations: 104.5 MB / 1.031 GB, free: 15.7 MB / 0.7642 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.9916, allocations: 5.406 kB / 1.031 GB, free: 15.7 MB / 0.7642 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005525/0.9921, allocations: 257.4 kB / 1.031 GB, free: 15.45 MB / 0.7642 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003119/0.9952, allocations: 2.979 MB / 1.034 GB, free: 12.47 MB / 0.7642 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.9952, allocations: 4 kB / 1.034 GB, free: 12.47 MB / 0.7642 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004389/0.9957, allocations: 248 kB / 1.035 GB, free: 12.23 MB / 0.7642 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.9957, allocations: 3.938 kB / 1.035 GB, free: 12.22 MB / 0.7642 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002101/0.9978, allocations: 1.727 MB / 1.036 GB, free: 10.5 MB / 0.7642 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03929/1.037, allocations: 27.54 MB / 1.063 GB, free: 14.88 MB / 0.7954 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/1.039, allocations: 1.012 MB / 1.064 GB, free: 13.86 MB / 0.7954 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/1.041, allocations: 0.9967 MB / 1.065 GB, free: 12.86 MB / 0.7954 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/1.041, allocations: 0 / 1.065 GB, free: 12.86 MB / 0.7954 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002697/1.043, allocations: 2.542 MB / 1.068 GB, free: 10.31 MB / 0.7954 GB Notification: Performance of pre-optimization done (n=8): time 1.764e-06/1.043, allocations: 0 / 1.068 GB, free: 10.31 MB / 0.7954 GB Notification: Performance of matching and sorting (n=8): time 0.02005/1.063, allocations: 16.99 MB / 1.084 GB, free: 9.242 MB / 0.811 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/1.063, allocations: 81.11 kB / 1.084 GB, free: 9.145 MB / 0.811 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.415/1.478, allocations: 99.06 MB / 1.181 GB, free: 211.1 MB / 0.8267 GB Notification: Performance of collectPreVariables (initialization): time 0.0006914/1.479, allocations: 277.6 kB / 1.181 GB, free: 211.1 MB / 0.8267 GB Notification: Performance of collectInitialEqns (initialization): time 0.03593/1.515, allocations: 46.98 MB / 1.227 GB, free: 165.4 MB / 0.8267 GB Notification: Performance of collectInitialBindings (initialization): time 0.001094/1.516, allocations: 272 kB / 1.227 GB, free: 165.1 MB / 0.8267 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002525/1.519, allocations: 1.729 MB / 1.229 GB, free: 163.4 MB / 0.8267 GB Notification: Performance of setup shared object (initialization): time 3.937e-05/1.519, allocations: 314 kB / 1.229 GB, free: 163.1 MB / 0.8267 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/1.52, allocations: 0.9883 MB / 1.23 GB, free: 162.1 MB / 0.8267 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/1.522, allocations: 0.9969 MB / 1.231 GB, free: 161.1 MB / 0.8267 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002636/1.524, allocations: 2.055 MB / 1.233 GB, free: 159 MB / 0.8267 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/1.524, allocations: 0 / 1.233 GB, free: 159 MB / 0.8267 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01334/1.538, allocations: 16 MB / 1.249 GB, free: 148.4 MB / 0.8267 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/1.538, allocations: 41.55 kB / 1.249 GB, free: 148.3 MB / 0.8267 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/1.538, allocations: 0 / 1.249 GB, free: 148.3 MB / 0.8267 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/1.538, allocations: 3.75 kB / 1.249 GB, free: 148.3 MB / 0.8267 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.475e-05/1.538, allocations: 10.94 kB / 1.249 GB, free: 148.3 MB / 0.8267 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/1.538, allocations: 0 / 1.249 GB, free: 148.3 MB / 0.8267 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006823/1.545, allocations: 252 kB / 1.249 GB, free: 148.1 MB / 0.8267 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001558/1.546, allocations: 3.423 MB / 1.253 GB, free: 144.7 MB / 0.8267 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.02163/1.568, allocations: 19.19 MB / 1.271 GB, free: 125.4 MB / 0.8267 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007649/1.575, allocations: 9.53 MB / 1.281 GB, free: 121.3 MB / 0.8267 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01434/1.59, allocations: 10.23 MB / 1.291 GB, free: 111.1 MB / 0.8267 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.59, allocations: 2.375 kB / 1.291 GB, free: 111.1 MB / 0.8267 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.59, allocations: 0 / 1.291 GB, free: 111.1 MB / 0.8267 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/1.59, allocations: 4 kB / 1.291 GB, free: 111 MB / 0.8267 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03485/1.625, allocations: 29.99 MB / 1.32 GB, free: 80.98 MB / 0.8267 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/1.625, allocations: 3.625 kB / 1.32 GB, free: 80.98 MB / 0.8267 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.179e-05/1.625, allocations: 0 / 1.32 GB, free: 80.98 MB / 0.8267 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/1.625, allocations: 5.5 kB / 1.32 GB, free: 80.98 MB / 0.8267 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001303/1.626, allocations: 0.7433 MB / 1.321 GB, free: 80.23 MB / 0.8267 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/1.626, allocations: 0 / 1.321 GB, free: 80.23 MB / 0.8267 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.626, allocations: 0 / 1.321 GB, free: 80.23 MB / 0.8267 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/1.639, allocations: 16.62 MB / 1.337 GB, free: 63.53 MB / 0.8267 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009329/1.648, allocations: 8.151 MB / 1.345 GB, free: 55.3 MB / 0.8267 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004517/1.652, allocations: 255.9 kB / 1.345 GB, free: 55.05 MB / 0.8267 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005124/1.657, allocations: 252 kB / 1.345 GB, free: 54.8 MB / 0.8267 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/1.658, allocations: 5.203 kB / 1.345 GB, free: 54.8 MB / 0.8267 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00155/1.659, allocations: 3.422 MB / 1.349 GB, free: 51.38 MB / 0.8267 GB Notification: Performance of sorting global known variables: time 0.08332/1.742, allocations: 68.98 MB / 1.416 GB, free: 15.04 MB / 0.8579 GB Notification: Performance of sort global known variables: time 2.41e-07/1.742, allocations: 0 / 1.416 GB, free: 15.04 MB / 0.8579 GB Notification: Performance of remove unused functions: time 0.00738/1.75, allocations: 2.475 MB / 1.418 GB, free: 12.57 MB / 0.8579 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.0006447/1.75, allocations: 369.3 kB / 1.419 GB, free: 12.21 MB / 0.8579 GB Notification: Performance of simCode: created initialization part: time 0.003399/1.754, allocations: 2.304 MB / 1.421 GB, free: 9.891 MB / 0.8579 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.754, allocations: 0 / 1.421 GB, free: 9.891 MB / 0.8579 GB Notification: Performance of simCode: created simulation system equations: time 0.001971/1.756, allocations: 1.305 MB / 1.422 GB, free: 8.574 MB / 0.8579 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01993/1.776, allocations: 6.75 MB / 1.429 GB, free: 1.824 MB / 0.8579 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4344/2.21, allocations: 146.4 MB / 1.572 GB, free: 220 MB / 0.8735 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03911/2.249, allocations: 34.39 MB / 1.605 GB, free: 185.5 MB / 0.8735 GB Notification: Performance of simCode: alias equations: time 0.03127/2.281, allocations: 18.71 MB / 1.624 GB, free: 166.8 MB / 0.8735 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003215/2.284, allocations: 3.914 MB / 1.628 GB, free: 162.9 MB / 0.8735 GB Notification: Performance of SimCode: time 1.042e-06/2.284, allocations: 0 / 1.628 GB, free: 162.9 MB / 0.8735 GB Notification: Performance of Templates: time 0.6307/2.914, allocations: 343.4 MB / 1.963 GB, free: 95.63 MB / 0.8735 GB make -j1 -f ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.makefile (rm -f ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe >> ../files/ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.sim & ./ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_OB_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches