Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/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) 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) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 188.9 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001532, allocations: 104.2 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.9461/0.9461, allocations: 119.3 MB / 460.6 MB, free: 9.539 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 51.91 kB / 0.5391 GB, free: 43.2 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1773, allocations: 80.69 MB / 0.6179 GB, free: 12.69 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.0031/0.1804, allocations: 1.474 MB / 0.6193 GB, free: 11.2 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1815, allocations: 0.5961 MB / 0.6199 GB, free: 10.6 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.939e-05/0.1816, allocations: 0 / 0.6199 GB, free: 10.6 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.1819, allocations: 227.7 kB / 0.6201 GB, free: 10.38 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003721/0.1823, allocations: 267.6 kB / 0.6204 GB, free: 10.11 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.1825, allocations: 63.86 kB / 0.6205 GB, free: 10.05 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004468/0.183, allocations: 0.5813 MB / 0.621 GB, free: 9.469 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.783e-05/0.183, allocations: 4 kB / 0.621 GB, free: 9.465 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003205/0.1833, allocations: 303.5 kB / 0.6213 GB, free: 9.168 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004555/0.1838, allocations: 0.4994 MB / 0.6218 GB, free: 8.668 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 7.98e-05/0.1839, allocations: 32 kB / 0.6218 GB, free: 8.637 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.1841, allocations: 107.9 kB / 0.6219 GB, free: 8.531 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.00109/0.1852, allocations: 1.255 MB / 0.6232 GB, free: 7.273 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0004865/0.1857, allocations: 0.7195 MB / 0.6239 GB, free: 6.547 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.1868, allocations: 1.558 MB / 0.6254 GB, free: 4.98 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1868, allocations: 7.984 kB / 0.6254 GB, free: 4.973 MB / 442.8 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1868, allocations: 3.938 kB / 0.6254 GB, free: 4.969 MB / 442.8 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.1868, allocations: 0 / 0.6254 GB, free: 4.969 MB / 442.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.002812/0.1896, allocations: 2.774 MB / 0.6281 GB, free: 2.121 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.1897, allocations: 8.031 kB / 0.6281 GB, free: 2.113 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003049/0.19, allocations: 285.2 kB / 0.6284 GB, free: 1.832 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004595/0.1946, allocations: 3.322 MB / 0.6316 GB, free: 14.45 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.1946, allocations: 384 / 0.6316 GB, free: 14.45 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.1947, allocations: 8.375 kB / 0.6316 GB, free: 14.45 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.1949, allocations: 157.8 kB / 0.6318 GB, free: 14.29 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1949, allocations: 0 / 0.6318 GB, free: 14.29 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.195, allocations: 8 kB / 0.6318 GB, free: 14.28 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.195, allocations: 0 / 0.6318 GB, free: 14.28 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.1951, allocations: 75.98 kB / 0.6319 GB, free: 14.2 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.1961, allocations: 1.003 MB / 0.6329 GB, free: 13.16 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.1963, allocations: 74.56 kB / 0.6329 GB, free: 13.07 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.805e-05/0.1964, allocations: 60.86 kB / 0.633 GB, free: 13.01 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.1964, allocations: 48 / 0.633 GB, free: 13.01 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002741/0.1967, allocations: 180.9 kB / 0.6332 GB, free: 12.82 MB / 458.8 MB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.1967, allocations: 0 / 0.6332 GB, free: 12.82 MB / 458.8 MB Notification: Performance of matching and sorting (n=8): time 0.0007795/0.1975, allocations: 0.6519 MB / 0.6338 GB, free: 12.15 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.1975, allocations: 81.09 kB / 0.6339 GB, free: 12.05 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003084/0.2006, allocations: 3.185 MB / 0.637 GB, free: 8.887 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.2006, allocations: 37.7 kB / 0.637 GB, free: 8.844 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009792/0.2016, allocations: 1.236 MB / 0.6382 GB, free: 7.605 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.299e-05/0.2017, allocations: 31.73 kB / 0.6383 GB, free: 7.574 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.2018, allocations: 73.72 kB / 0.6383 GB, free: 7.496 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.202, allocations: 313.9 kB / 0.6386 GB, free: 7.184 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.465e-05/0.2021, allocations: 51.92 kB / 0.6387 GB, free: 7.133 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.428e-05/0.2021, allocations: 44.05 kB / 0.6387 GB, free: 7.09 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.2023, allocations: 168.5 kB / 0.6389 GB, free: 6.91 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.2024, allocations: 7.938 kB / 0.6389 GB, free: 6.902 MB / 458.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006376/0.203, allocations: 0.6206 MB / 0.6395 GB, free: 6.266 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.47e-05/0.2031, allocations: 33.7 kB / 0.6395 GB, free: 6.227 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2031, allocations: 0 / 0.6395 GB, free: 6.227 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.2031, allocations: 0 / 0.6395 GB, free: 6.227 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.929e-05/0.2032, allocations: 4 kB / 0.6395 GB, free: 6.223 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.2032, allocations: 0 / 0.6395 GB, free: 6.223 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.2034, allocations: 19.89 kB / 0.6395 GB, free: 6.203 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.2035, allocations: 112 kB / 0.6397 GB, free: 6.094 MB / 458.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.0008198/0.2044, allocations: 0.7489 MB / 0.6404 GB, free: 5.328 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/0.2046, allocations: 300.2 kB / 0.6407 GB, free: 5.031 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003266/0.2049, allocations: 333.8 kB / 0.641 GB, free: 4.699 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.205, allocations: 0 / 0.641 GB, free: 4.699 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.205, allocations: 0 / 0.641 GB, free: 4.699 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.205, allocations: 4 kB / 0.641 GB, free: 4.695 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.206, allocations: 1.085 MB / 0.6421 GB, free: 3.566 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.206, allocations: 4 kB / 0.6421 GB, free: 3.562 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.243e-05/0.206, allocations: 3.938 kB / 0.6421 GB, free: 3.559 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.206, allocations: 0 / 0.6421 GB, free: 3.559 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.2061, allocations: 31.98 kB / 0.6421 GB, free: 3.527 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.2061, allocations: 4 kB / 0.6421 GB, free: 3.523 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2061, allocations: 3.938 kB / 0.6421 GB, free: 3.52 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.2076, allocations: 1.942 MB / 0.644 GB, free: 1.508 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000517/0.2082, allocations: 333.2 kB / 0.6443 GB, free: 1.16 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.2083, allocations: 12 kB / 0.6443 GB, free: 1.148 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.2085, allocations: 12 kB / 0.6443 GB, free: 1.137 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.2085, allocations: 7.938 kB / 0.6443 GB, free: 1.129 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.2086, allocations: 116 kB / 0.6445 GB, free: 1.016 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002382/0.211, allocations: 2.207 MB / 0.6466 GB, free: 14.83 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.2e-07/0.211, allocations: 0 / 0.6466 GB, free: 14.83 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.000503/0.2115, allocations: 115.9 kB / 0.6467 GB, free: 14.71 MB / 474.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.0002584/0.2118, allocations: 131.2 kB / 0.6468 GB, free: 14.58 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0003755/0.2122, allocations: 207.4 kB / 0.647 GB, free: 14.36 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.2122, allocations: 0 / 0.647 GB, free: 14.36 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.2124, allocations: 159.3 kB / 0.6472 GB, free: 14.2 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007177/0.2131, allocations: 224.6 kB / 0.6474 GB, free: 13.97 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006001/0.2191, allocations: 4.835 MB / 0.6521 GB, free: 9.09 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001473/0.2206, allocations: 1.691 MB / 0.6538 GB, free: 7.367 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.001397/0.222, allocations: 0.5845 MB / 0.6544 GB, free: 6.777 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.2222, allocations: 131.4 kB / 0.6545 GB, free: 6.648 MB / 474.8 MB Notification: Performance of SimCode: time 7.41e-07/0.2222, allocations: 0 / 0.6545 GB, free: 6.648 MB / 474.8 MB Notification: Performance of Templates: time 0.0267/0.2489, allocations: 10.65 MB / 0.6649 GB, free: 11.95 MB / 490.8 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches