Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.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_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.0016, allocations: 117.7 kB / 17.7 MB, free: 5.293 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.001722/0.001722, allocations: 191 kB / 18.63 MB, free: 4.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.036/1.036, allocations: 119.3 MB / 411.8 MB, free: 9.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001452, allocations: 63.89 kB / 0.4924 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6536/0.6551, allocations: 80.68 MB / 0.5712 GB, free: 43.51 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.003034/0.6582, allocations: 1.414 MB / 0.5725 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.6596, allocations: 0.5741 MB / 0.5731 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.511e-05/0.6597, allocations: 0 / 0.5731 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.66, allocations: 121.7 kB / 0.5732 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003399/0.6604, allocations: 159 kB / 0.5734 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.6606, allocations: 84.5 kB / 0.5735 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003387/0.661, allocations: 333.1 kB / 0.5738 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.834e-05/0.661, allocations: 7.016 kB / 0.5738 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.6613, allocations: 179.4 kB / 0.5739 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.6616, allocations: 281.6 kB / 0.5742 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.029e-05/0.6616, allocations: 19.62 kB / 0.5742 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.6618, allocations: 96.23 kB / 0.5743 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0006434/0.6624, allocations: 0.6352 MB / 0.5749 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002335/0.6627, allocations: 378.1 kB / 0.5753 GB, free: 40.72 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0006976/0.6634, allocations: 0.8519 MB / 0.5761 GB, free: 40.2 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.6634, allocations: 4 kB / 0.5761 GB, free: 40.2 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.714e-06/0.6634, allocations: 1.188 kB / 0.5761 GB, free: 40.2 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.6634, allocations: 0 / 0.5761 GB, free: 40.2 MB / 462.3 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.001508/0.6649, allocations: 1.567 MB / 0.5777 GB, free: 38.91 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.665, allocations: 9.625 kB / 0.5777 GB, free: 38.91 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.6652, allocations: 144.9 kB / 0.5778 GB, free: 38.82 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002704/0.6679, allocations: 1.756 MB / 0.5795 GB, free: 37.7 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.6679, allocations: 1.312 kB / 0.5795 GB, free: 37.7 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.6679, allocations: 10.81 kB / 0.5795 GB, free: 37.7 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.6681, allocations: 104 kB / 0.5796 GB, free: 37.63 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.6682, allocations: 0 / 0.5796 GB, free: 37.63 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.6682, allocations: 4.625 kB / 0.5797 GB, free: 37.63 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.6682, allocations: 0.9062 kB / 0.5797 GB, free: 37.63 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.6683, allocations: 49.81 kB / 0.5797 GB, free: 37.62 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008424/0.6692, allocations: 0.5758 MB / 0.5803 GB, free: 37.19 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.6693, allocations: 57.28 kB / 0.5803 GB, free: 37.15 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.6694, allocations: 48.52 kB / 0.5804 GB, free: 37.13 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.6695, allocations: 0.9375 kB / 0.5804 GB, free: 37.13 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002518/0.6697, allocations: 143.2 kB / 0.5805 GB, free: 37.01 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 2.074e-06/0.6697, allocations: 0 / 0.5805 GB, free: 37.01 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0008368/0.6706, allocations: 409.5 kB / 0.5809 GB, free: 36.83 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.6706, allocations: 79.64 kB / 0.581 GB, free: 36.74 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/0.6728, allocations: 1.642 MB / 0.5826 GB, free: 35.98 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.6728, allocations: 34.33 kB / 0.5826 GB, free: 35.95 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.00047/0.6733, allocations: 0.6246 MB / 0.5832 GB, free: 35.41 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.363e-05/0.6734, allocations: 23.12 kB / 0.5832 GB, free: 35.4 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.6735, allocations: 52.8 kB / 0.5833 GB, free: 35.38 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.19e-05/0.6736, allocations: 307.2 kB / 0.5836 GB, free: 35.07 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.556e-05/0.6736, allocations: 35 kB / 0.5836 GB, free: 35.06 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.489e-05/0.6737, allocations: 31.98 kB / 0.5836 GB, free: 35.05 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.6739, allocations: 134.6 kB / 0.5838 GB, free: 34.96 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.6739, allocations: 5.125 kB / 0.5838 GB, free: 34.95 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005897/0.6745, allocations: 377.1 kB / 0.5841 GB, free: 34.78 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/0.6746, allocations: 39.38 kB / 0.5842 GB, free: 34.74 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.6746, allocations: 4.969 kB / 0.5842 GB, free: 34.74 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.6746, allocations: 0 / 0.5842 GB, free: 34.74 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.284e-05/0.6747, allocations: 4.188 kB / 0.5842 GB, free: 34.74 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.6747, allocations: 0.625 kB / 0.5842 GB, free: 34.74 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.6748, allocations: 11.34 kB / 0.5842 GB, free: 34.73 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.071e-05/0.6749, allocations: 56.91 kB / 0.5842 GB, free: 34.73 MB / 462.3 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.0004727/0.6754, allocations: 458.9 kB / 0.5847 GB, free: 34.47 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.6756, allocations: 157.6 kB / 0.5848 GB, free: 34.38 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.6758, allocations: 173.1 kB / 0.585 GB, free: 34.3 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.6758, allocations: 1.156 kB / 0.585 GB, free: 34.3 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.6758, allocations: 0 / 0.585 GB, free: 34.3 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.6758, allocations: 0 / 0.585 GB, free: 34.3 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000764/0.6766, allocations: 0.6257 MB / 0.5856 GB, free: 33.86 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6766, allocations: 0 / 0.5856 GB, free: 33.86 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.689e-05/0.6766, allocations: 7.219 kB / 0.5856 GB, free: 33.86 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.6766, allocations: 96 / 0.5856 GB, free: 33.86 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.6766, allocations: 22.97 kB / 0.5856 GB, free: 33.85 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.6767, allocations: 0 / 0.5856 GB, free: 33.85 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.6767, allocations: 5.062 kB / 0.5856 GB, free: 33.84 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000513/0.6772, allocations: 430 kB / 0.5861 GB, free: 33.62 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002677/0.6775, allocations: 211.8 kB / 0.5863 GB, free: 33.44 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.157e-05/0.6775, allocations: 9.812 kB / 0.5863 GB, free: 33.44 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.6777, allocations: 11.08 kB / 0.5863 GB, free: 33.43 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.6777, allocations: 1.406 kB / 0.5863 GB, free: 33.43 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.625e-05/0.6778, allocations: 62.19 kB / 0.5863 GB, free: 33.42 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.001048/0.6788, allocations: 1.142 MB / 0.5875 GB, free: 32.47 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6788, allocations: 0 / 0.5875 GB, free: 32.47 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003068/0.6792, allocations: 79.98 kB / 0.5875 GB, free: 32.39 MB / 462.3 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.0001777/0.6793, allocations: 118.5 kB / 0.5876 GB, free: 32.27 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002437/0.6796, allocations: 183.2 kB / 0.5878 GB, free: 32.08 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6796, allocations: 0 / 0.5878 GB, free: 32.08 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.393e-05/0.6797, allocations: 123.4 kB / 0.5879 GB, free: 31.95 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.6801, allocations: 118.4 kB / 0.588 GB, free: 31.83 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/0.6826, allocations: 2.108 MB / 0.5901 GB, free: 29.69 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005876/0.6832, allocations: 1.184 MB / 0.5913 GB, free: 28.48 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0005413/0.6837, allocations: 301.4 kB / 0.5916 GB, free: 28.18 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.521e-05/0.6838, allocations: 71.44 kB / 0.5916 GB, free: 28.11 MB / 462.3 MB Notification: Performance of SimCode: time 1.483e-06/0.6838, allocations: 0 / 0.5916 GB, free: 28.11 MB / 462.3 MB Notification: Performance of Templates: time 0.0134/0.6972, allocations: 5.754 MB / 0.5972 GB, free: 22.27 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125 -abortSlowSimulation -alarm=300 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches