Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.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.3-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-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_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_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_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009662/0.0009662, allocations: 190.9 kB / 16.62 MB, free: 5.07 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.3441/0.3441, allocations: 225.7 MB / 243 MB, free: 4.09 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.0009195/0.0009195, allocations: 104.2 kB / 293.3 MB, free: 10.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo): time 0.4102/0.4102, allocations: 119.5 MB / 462.9 MB, free: 10.58 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008896/0.0008897, allocations: 51.92 kB / 0.5413 GB, free: 10.61 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1065, allocations: 80.71 MB / 0.6202 GB, free: 9.77 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.00187/0.1084, allocations: 1.462 MB / 0.6216 GB, free: 8.293 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007497/0.1092, allocations: 0.5962 MB / 0.6222 GB, free: 7.691 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.1093, allocations: 3.938 kB / 0.6222 GB, free: 7.688 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003191/0.1125, allocations: 6.841 MB / 0.6289 GB, free: 0.8281 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003245/0.1157, allocations: 6.884 MB / 0.6356 GB, free: 9.93 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.1159, allocations: 71.88 kB / 0.6356 GB, free: 9.859 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.4076/0.5235, allocations: 17.02 MB / 0.6523 GB, free: 19.14 MB / 458.9 MB Notification: Performance of NFFlatten.resolveConnections: time 5.73e-05/0.5236, allocations: 7.484 kB / 0.6523 GB, free: 19.14 MB / 458.9 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009769/0.5334, allocations: 8.465 MB / 0.6605 GB, free: 17.3 MB / 458.9 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01433/0.5477, allocations: 16.14 MB / 0.6763 GB, free: 10.47 MB / 458.9 MB Notification: Performance of NFPackage.collectConstants: time 0.001863/0.5496, allocations: 0.9805 MB / 0.6773 GB, free: 9.488 MB / 458.9 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.5509, allocations: 1.047 MB / 0.6783 GB, free: 8.441 MB / 458.9 MB Notification: Performance of NFScalarize.scalarize: time 0.02796/0.5789, allocations: 39.81 MB / 0.7172 GB, free: 0.8594 MB / 490.9 MB Notification: Performance of NFVerifyModel.verify: time 0.01827/0.5972, allocations: 22.49 MB / 0.7391 GB, free: 10.16 MB / 0.5106 GB Notification: Performance of NFConvertDAE.convert: time 0.03104/0.6283, allocations: 48.42 MB / 0.7864 GB, free: 9.473 MB / 0.5575 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.6283, allocations: 0 / 0.7864 GB, free: 9.473 MB / 0.5575 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6283, allocations: 0 / 0.7864 GB, free: 9.473 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 0.0007492/0.6291, allocations: 0 / 0.7864 GB, free: 9.473 MB / 0.5575 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.07029/0.6994, allocations: 77.13 MB / 0.8617 GB, free: 11.58 MB / 0.6356 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.6994, allocations: 8.031 kB / 0.8617 GB, free: 11.57 MB / 0.6356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00789/0.7073, allocations: 8.798 MB / 0.8703 GB, free: 2.656 MB / 0.6356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6065/1.314, allocations: 103 MB / 0.971 GB, free: 146.7 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/1.314, allocations: 3.812 kB / 0.971 GB, free: 146.7 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004669/1.314, allocations: 257.3 kB / 0.9712 GB, free: 146.7 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002282/1.317, allocations: 2.974 MB / 0.9741 GB, free: 145.9 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/1.317, allocations: 0 / 0.9741 GB, free: 145.9 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003629/1.317, allocations: 252.9 kB / 0.9744 GB, free: 145.9 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/1.317, allocations: 2.375 kB / 0.9744 GB, free: 145.9 MB / 0.6671 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/1.319, allocations: 1.732 MB / 0.976 GB, free: 145.9 MB / 0.6671 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02944/1.348, allocations: 27.54 MB / 1.003 GB, free: 123 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/1.35, allocations: 1.018 MB / 1.004 GB, free: 121.9 MB / 0.6671 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/1.351, allocations: 1.006 MB / 1.005 GB, free: 120.9 MB / 0.6671 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/1.351, allocations: 0 / 1.005 GB, free: 120.9 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001727/1.353, allocations: 2.534 MB / 1.007 GB, free: 118.4 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/1.353, allocations: 0 / 1.007 GB, free: 118.4 MB / 0.6671 GB Notification: Performance of matching and sorting (n=8): time 0.01637/1.369, allocations: 16.5 MB / 1.024 GB, free: 101.8 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/1.369, allocations: 91.03 kB / 1.024 GB, free: 101.6 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09726/1.466, allocations: 99.06 MB / 1.12 GB, free: 3.449 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 0.001049/1.468, allocations: 273.7 kB / 1.121 GB, free: 3.176 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 0.03631/1.504, allocations: 46.98 MB / 1.166 GB, free: 4.195 MB / 0.714 GB Notification: Performance of collectInitialBindings (initialization): time 0.001472/1.505, allocations: 269.8 kB / 1.167 GB, free: 3.934 MB / 0.714 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003726/1.509, allocations: 1.732 MB / 1.168 GB, free: 2.199 MB / 0.714 GB Notification: Performance of setup shared object (initialization): time 7.268e-05/1.509, allocations: 310 kB / 1.169 GB, free: 1.891 MB / 0.714 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002177/1.511, allocations: 0.9961 MB / 1.17 GB, free: 0.8945 MB / 0.714 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/1.513, allocations: 0.9941 MB / 1.171 GB, free: 15.9 MB / 0.7296 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003336/1.517, allocations: 2.059 MB / 1.173 GB, free: 13.83 MB / 0.7296 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.517, allocations: 4 kB / 1.173 GB, free: 13.82 MB / 0.7296 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.2831/1.8, allocations: 15.5 MB / 1.188 GB, free: 226.1 MB / 0.7296 GB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/1.8, allocations: 36.08 kB / 1.188 GB, free: 226.1 MB / 0.7296 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/1.8, allocations: 2.375 kB / 1.188 GB, free: 226.1 MB / 0.7296 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/1.8, allocations: 0.6562 kB / 1.188 GB, free: 226.1 MB / 0.7296 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.962e-05/1.8, allocations: 5.922 kB / 1.188 GB, free: 226.1 MB / 0.7296 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/1.8, allocations: 1.609 kB / 1.188 GB, free: 226.1 MB / 0.7296 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009475/1.809, allocations: 261.9 kB / 1.188 GB, free: 226.1 MB / 0.7296 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003263/1.813, allocations: 3.423 MB / 1.191 GB, free: 225.7 MB / 0.7296 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.02225/1.835, allocations: 19.19 MB / 1.21 GB, free: 223.6 MB / 0.7296 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0108/1.846, allocations: 9.042 MB / 1.219 GB, free: 223.6 MB / 0.7296 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01368/1.859, allocations: 10.22 MB / 1.229 GB, free: 220.6 MB / 0.7296 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/1.86, allocations: 0 / 1.229 GB, free: 220.6 MB / 0.7296 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.86, allocations: 0 / 1.229 GB, free: 220.6 MB / 0.7296 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.86, allocations: 4.781 kB / 1.229 GB, free: 220.6 MB / 0.7296 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03264/1.892, allocations: 29.99 MB / 1.258 GB, free: 201.8 MB / 0.7296 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/1.892, allocations: 0.875 kB / 1.258 GB, free: 201.8 MB / 0.7296 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.217e-05/1.892, allocations: 3.984 kB / 1.258 GB, free: 201.8 MB / 0.7296 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/1.892, allocations: 4 kB / 1.258 GB, free: 201.8 MB / 0.7296 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001297/1.894, allocations: 0.7399 MB / 1.259 GB, free: 201.1 MB / 0.7296 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.894, allocations: 0 / 1.259 GB, free: 201.1 MB / 0.7296 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.894, allocations: 0 / 1.259 GB, free: 201.1 MB / 0.7296 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01686/1.91, allocations: 16.14 MB / 1.275 GB, free: 189.8 MB / 0.7296 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01062/1.921, allocations: 7.664 MB / 1.282 GB, free: 184.7 MB / 0.7296 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005875/1.927, allocations: 252 kB / 1.283 GB, free: 184.5 MB / 0.7296 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00591/1.933, allocations: 254 kB / 1.283 GB, free: 184.2 MB / 0.7296 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/1.933, allocations: 3.984 kB / 1.283 GB, free: 184.2 MB / 0.7296 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001787/1.935, allocations: 3.426 MB / 1.286 GB, free: 180.8 MB / 0.7296 GB Notification: Performance of sorting global known variables: time 0.06935/2.004, allocations: 68.97 MB / 1.353 GB, free: 112.4 MB / 0.7296 GB Notification: Performance of sort global known variables: time 2.21e-07/2.004, allocations: 2.656 kB / 1.353 GB, free: 112.4 MB / 0.7296 GB Notification: Performance of remove unused functions: time 0.009638/2.014, allocations: 2.479 MB / 1.356 GB, free: 110 MB / 0.7296 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.001044/2.015, allocations: 380.4 kB / 1.356 GB, free: 109.6 MB / 0.7296 GB Notification: Performance of simCode: created initialization part: time 0.004304/2.019, allocations: 2.328 MB / 1.359 GB, free: 107.3 MB / 0.7296 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/2.019, allocations: 7.984 kB / 1.359 GB, free: 107.3 MB / 0.7296 GB Notification: Performance of simCode: created simulation system equations: time 0.002072/2.021, allocations: 1.327 MB / 1.36 GB, free: 105.9 MB / 0.7296 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0189/2.04, allocations: 6.752 MB / 1.366 GB, free: 99.18 MB / 0.7296 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4115/2.452, allocations: 161.5 MB / 1.524 GB, free: 190.5 MB / 0.7296 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03885/2.491, allocations: 34.39 MB / 1.558 GB, free: 175.3 MB / 0.7296 GB Notification: Performance of simCode: alias equations: time 0.04146/2.532, allocations: 18.69 MB / 1.576 GB, free: 158.5 MB / 0.7296 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003797/2.536, allocations: 3.917 MB / 1.58 GB, free: 154.6 MB / 0.7296 GB Notification: Performance of SimCode: time 6.81e-07/2.536, allocations: 0 / 1.58 GB, free: 154.6 MB / 0.7296 GB Notification: Performance of Templates: time 0.5378/3.074, allocations: 339.4 MB / 1.911 GB, free: 95.8 MB / 0.7453 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches