Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.CombiTimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 93.55 kB / 17.31 MB, free: 6.535 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.001442/0.001442, allocations: 182.7 kB / 18.22 MB, free: 5.676 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.436/1.436, allocations: 223.3 MB / 242.3 MB, free: 104 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.092/1.092, allocations: 120.5 MB / 413.8 MB, free: 9.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003808, allocations: 8 kB / 0.4955 GB, free: 11.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6337/0.6341, allocations: 82.84 MB / 0.5764 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000): time 0.002026/0.6362, allocations: 1.287 MB / 0.5777 GB, free: 40.88 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.6376, allocations: 0.8638 MB / 0.5785 GB, free: 40.2 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.15e-05/0.6377, allocations: 0 / 0.5785 GB, free: 40.2 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0084/0.6461, allocations: 13.71 MB / 0.5919 GB, free: 30.41 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.003151/0.6493, allocations: 6.923 MB / 0.5987 GB, free: 23.47 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.6497, allocations: 83.84 kB / 0.5988 GB, free: 23.39 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.008632/0.6584, allocations: 17.07 MB / 0.6154 GB, free: 6.293 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.368e-05/0.6585, allocations: 8 kB / 0.6154 GB, free: 6.285 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0108/0.6693, allocations: 8.47 MB / 0.6237 GB, free: 13.8 MB / 478.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01994/0.6893, allocations: 15.17 MB / 0.6385 GB, free: 14.6 MB / 494.3 MB Notification: Performance of NFPackage.collectConstants: time 0.004141/0.6935, allocations: 0.9766 MB / 0.6395 GB, free: 13.62 MB / 494.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003772/0.6973, allocations: 1.016 MB / 0.6405 GB, free: 12.61 MB / 494.3 MB Notification: Performance of NFScalarize.scalarize: time 0.04134/0.7386, allocations: 39.81 MB / 0.6794 GB, free: 4.691 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.03875/0.7774, allocations: 22.52 MB / 0.7013 GB, free: 13.94 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.04869/0.8262, allocations: 35.96 MB / 0.7365 GB, free: 9.879 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 9.769e-06/0.8262, allocations: 0 / 0.7365 GB, free: 9.879 MB / 0.5764 GB Notification: Performance of FrontEnd: time 2.565e-06/0.8262, allocations: 7.938 kB / 0.7365 GB, free: 9.871 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.002424/0.8287, allocations: 0 / 0.7365 GB, free: 9.871 MB / 0.5764 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.7122/1.541, allocations: 67.85 MB / 0.8027 GB, free: 90.78 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/1.541, allocations: 12.03 kB / 0.8027 GB, free: 90.77 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01376/1.555, allocations: 8.798 MB / 0.8113 GB, free: 81.85 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3026/1.857, allocations: 103.1 MB / 0.912 GB, free: 10.45 MB / 0.6235 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/1.857, allocations: 4.375 kB / 0.912 GB, free: 10.45 MB / 0.6235 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/1.857, allocations: 5.125 kB / 0.912 GB, free: 10.45 MB / 0.6235 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/1.858, allocations: 49.14 kB / 0.912 GB, free: 10.39 MB / 0.6235 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/1.858, allocations: 0 / 0.912 GB, free: 10.39 MB / 0.6235 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/1.858, allocations: 7.938 kB / 0.912 GB, free: 10.39 MB / 0.6235 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/1.858, allocations: 0 / 0.912 GB, free: 10.39 MB / 0.6235 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/1.858, allocations: 19.73 kB / 0.9121 GB, free: 10.37 MB / 0.6235 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06283/1.921, allocations: 27.31 MB / 0.9387 GB, free: 14.99 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/1.921, allocations: 57.84 kB / 0.9388 GB, free: 14.93 MB / 0.6548 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.139e-05/1.921, allocations: 23.66 kB / 0.9388 GB, free: 14.9 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/1.921, allocations: 0 / 0.9388 GB, free: 14.9 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002453/1.921, allocations: 67.83 kB / 0.9389 GB, free: 14.83 MB / 0.6548 GB Notification: Performance of pre-optimization done (n=5): time 1.723e-06/1.921, allocations: 0 / 0.9389 GB, free: 14.83 MB / 0.6548 GB Notification: Performance of matching and sorting (n=5): time 0.02015/1.941, allocations: 9.126 MB / 0.9478 GB, free: 5.582 MB / 0.6548 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/1.942, allocations: 55.41 kB / 0.9478 GB, free: 5.516 MB / 0.6548 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2156/2.157, allocations: 101 MB / 1.046 GB, free: 1.367 MB / 0.7485 GB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/2.157, allocations: 29.7 kB / 1.047 GB, free: 1.332 MB / 0.7485 GB Notification: Performance of collectInitialEqns (initialization): time 0.4378/2.595, allocations: 49 MB / 1.094 GB, free: 213.8 MB / 0.7485 GB Notification: Performance of collectInitialBindings (initialization): time 8.803e-05/2.595, allocations: 12.72 kB / 1.094 GB, free: 213.8 MB / 0.7485 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/2.595, allocations: 20.98 kB / 1.094 GB, free: 213.7 MB / 0.7485 GB Notification: Performance of setup shared object (initialization): time 7.988e-05/2.595, allocations: 308.2 kB / 1.095 GB, free: 213.4 MB / 0.7485 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/2.596, allocations: 16.66 kB / 1.095 GB, free: 213.4 MB / 0.7485 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.369e-05/2.596, allocations: 31.72 kB / 1.095 GB, free: 213.4 MB / 0.7485 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/2.596, allocations: 45.52 kB / 1.095 GB, free: 213.4 MB / 0.7485 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/2.596, allocations: 0 / 1.095 GB, free: 213.4 MB / 0.7485 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.02033/2.616, allocations: 9.111 MB / 1.104 GB, free: 213.3 MB / 0.7485 GB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/2.616, allocations: 12.66 kB / 1.104 GB, free: 213.3 MB / 0.7485 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/2.616, allocations: 0 / 1.104 GB, free: 213.3 MB / 0.7485 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/2.616, allocations: 0 / 1.104 GB, free: 213.3 MB / 0.7485 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/2.616, allocations: 11.72 kB / 1.104 GB, free: 213.3 MB / 0.7485 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/2.616, allocations: 3.328 kB / 1.104 GB, free: 213.3 MB / 0.7485 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01722/2.634, allocations: 256 kB / 1.104 GB, free: 213.3 MB / 0.7485 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/2.634, allocations: 0 / 1.104 GB, free: 213.3 MB / 0.7485 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.03078/2.664, allocations: 18.68 MB / 1.122 GB, free: 208.9 MB / 0.7485 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02036/2.685, allocations: 9.289 MB / 1.131 GB, free: 208.9 MB / 0.7485 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03531/2.72, allocations: 10.23 MB / 1.141 GB, free: 204.5 MB / 0.7485 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/2.72, allocations: 3.938 kB / 1.141 GB, free: 204.5 MB / 0.7485 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/2.72, allocations: 64 / 1.141 GB, free: 204.5 MB / 0.7485 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/2.72, allocations: 4 kB / 1.141 GB, free: 204.5 MB / 0.7485 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07177/2.792, allocations: 30 MB / 1.171 GB, free: 177.4 MB / 0.7485 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/2.792, allocations: 0 / 1.171 GB, free: 177.4 MB / 0.7485 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.787e-05/2.792, allocations: 4 kB / 1.171 GB, free: 177.4 MB / 0.7485 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/2.792, allocations: 3 kB / 1.171 GB, free: 177.4 MB / 0.7485 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/2.792, allocations: 0 / 1.171 GB, free: 177.4 MB / 0.7485 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.922e-06/2.792, allocations: 8.484 kB / 1.171 GB, free: 177.4 MB / 0.7485 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/2.792, allocations: 0 / 1.171 GB, free: 177.4 MB / 0.7485 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01856/2.811, allocations: 9.961 MB / 1.18 GB, free: 167.3 MB / 0.7485 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02163/2.832, allocations: 7.665 MB / 1.188 GB, free: 159.5 MB / 0.7485 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01242/2.845, allocations: 252 kB / 1.188 GB, free: 159.2 MB / 0.7485 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01363/2.859, allocations: 262.5 kB / 1.188 GB, free: 159 MB / 0.7485 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/2.859, allocations: 4 kB / 1.188 GB, free: 159 MB / 0.7485 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/2.859, allocations: 4 kB / 1.188 GB, free: 159 MB / 0.7485 GB Notification: Performance of sorting global known variables: time 0.1311/2.99, allocations: 69.98 MB / 1.257 GB, free: 89.64 MB / 0.7485 GB Notification: Performance of sort global known variables: time 1.152e-06/2.99, allocations: 0 / 1.257 GB, free: 89.64 MB / 0.7485 GB Notification: Performance of remove unused functions: time 0.01458/3.004, allocations: 2.459 MB / 1.259 GB, free: 87.18 MB / 0.7485 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001154/3.006, allocations: 424.2 kB / 1.259 GB, free: 86.95 MB / 0.7485 GB Notification: Performance of simCode: created initialization part: time 0.0002529/3.006, allocations: 45.92 kB / 1.259 GB, free: 86.9 MB / 0.7485 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/3.006, allocations: 0 / 1.259 GB, free: 86.9 MB / 0.7485 GB Notification: Performance of simCode: created simulation system equations: time 6.408e-05/3.006, allocations: 16 kB / 1.259 GB, free: 86.89 MB / 0.7485 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04699/3.053, allocations: 6.767 MB / 1.266 GB, free: 80.12 MB / 0.7485 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.686/3.739, allocations: 165 MB / 1.427 GB, free: 179 MB / 0.7485 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.07873/3.818, allocations: 34.39 MB / 1.461 GB, free: 147.9 MB / 0.7485 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02819/3.846, allocations: 8.808 MB / 1.469 GB, free: 139.1 MB / 0.7485 GB Notification: Performance of SimCode: time 1.232e-06/3.846, allocations: 0 / 1.469 GB, free: 139.1 MB / 0.7485 GB Notification: Performance of Templates: time 82.23/86.08, allocations: 23.57 GB / 25.04 GB, free: 202 MB / 1.03 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches