Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009831/0.0009831, allocations: 176.6 kB / 17.4 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.281/1.281, allocations: 205.4 MB / 223.5 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007484/0.0007483, allocations: 90.06 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.7412/0.7412, allocations: 120.4 MB / 440.6 MB, free: 4.098 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003535, allocations: 12 kB / 0.5188 GB, free: 57.26 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1264, allocations: 80 MB / 0.597 GB, free: 9.129 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5919/0.7183, allocations: 127.9 MB / 0.7219 GB, free: 17.23 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001043/0.7185, allocations: 54.66 kB / 0.7219 GB, free: 17.21 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.6993/1.418, allocations: 195.2 MB / 0.9126 GB, free: 3.766 MB / 0.6671 GB Notification: Performance of FrontEnd: time 2.254e-06/1.418, allocations: 0 / 0.9126 GB, free: 3.766 MB / 0.6671 GB Notification: Performance of Transformations before backend: time 0.002062/1.42, allocations: 252 kB / 0.9128 GB, free: 3.52 MB / 0.6671 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.02797/1.448, allocations: 17.32 MB / 0.9298 GB, free: 2.98 MB / 0.6828 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/1.448, allocations: 8.031 kB / 0.9298 GB, free: 2.973 MB / 0.6828 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003144/1.451, allocations: 2.268 MB / 0.932 GB, free: 0.6758 MB / 0.6828 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3228/1.774, allocations: 23.77 MB / 0.9552 GB, free: 217.9 MB / 0.6828 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/1.774, allocations: 1.5 kB / 0.9552 GB, free: 217.9 MB / 0.6828 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/1.774, allocations: 6.438 kB / 0.9552 GB, free: 217.9 MB / 0.6828 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/1.774, allocations: 47.84 kB / 0.9552 GB, free: 217.9 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/1.774, allocations: 3.5 kB / 0.9553 GB, free: 217.9 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/1.774, allocations: 0 / 0.9553 GB, free: 217.9 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/1.774, allocations: 3.406 kB / 0.9553 GB, free: 217.9 MB / 0.6828 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.696e-05/1.774, allocations: 20.23 kB / 0.9553 GB, free: 217.9 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01664/1.791, allocations: 6.957 MB / 0.9621 GB, free: 216 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/1.791, allocations: 52.81 kB / 0.9621 GB, free: 215.9 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.662e-05/1.791, allocations: 21.45 kB / 0.9621 GB, free: 215.9 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/1.791, allocations: 0 / 0.9621 GB, free: 215.9 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/1.792, allocations: 72.89 kB / 0.9622 GB, free: 215.9 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=5): time 1.834e-06/1.792, allocations: 0 / 0.9622 GB, free: 215.9 MB / 0.6828 GB Notification: Performance of matching and sorting (n=5): time 0.005624/1.797, allocations: 2.354 MB / 0.9645 GB, free: 214.6 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/1.797, allocations: 55.34 kB / 0.9646 GB, free: 214.5 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04377/1.841, allocations: 25.3 MB / 0.9893 GB, free: 208.1 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/1.841, allocations: 25.7 kB / 0.9893 GB, free: 208.1 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.01152/1.853, allocations: 10.77 MB / 0.9998 GB, free: 199.5 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 7.058e-05/1.853, allocations: 15.95 kB / 0.9998 GB, free: 199.5 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/1.853, allocations: 4 kB / 0.9998 GB, free: 199.5 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 5.178e-05/1.853, allocations: 308.3 kB / 1 GB, free: 199.2 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.542e-05/1.853, allocations: 14.69 kB / 1 GB, free: 199.2 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.076e-05/1.853, allocations: 28.39 kB / 1 GB, free: 199.2 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.16e-05/1.853, allocations: 51.36 kB / 1 GB, free: 199.2 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.853, allocations: 0 / 1 GB, free: 199.2 MB / 0.6828 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.005129/1.858, allocations: 2.341 MB / 1.002 GB, free: 197.9 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/1.858, allocations: 3.969 kB / 1.003 GB, free: 197.9 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/1.858, allocations: 2.125 kB / 1.003 GB, free: 197.9 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/1.858, allocations: 4.5 kB / 1.003 GB, free: 197.9 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.499e-05/1.858, allocations: 14.8 kB / 1.003 GB, free: 197.9 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/1.858, allocations: 3.938 kB / 1.003 GB, free: 197.9 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00531/1.864, allocations: 67.69 kB / 1.003 GB, free: 197.9 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/1.864, allocations: 3.5 kB / 1.003 GB, free: 197.9 MB / 0.6828 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01071/1.874, allocations: 4.758 MB / 1.007 GB, free: 197.3 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007068/1.882, allocations: 2.328 MB / 1.01 GB, free: 196 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/1.893, allocations: 2.653 MB / 1.012 GB, free: 195.2 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/1.893, allocations: 11.42 kB / 1.012 GB, free: 195.2 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.893, allocations: 0 / 1.012 GB, free: 195.2 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.893, allocations: 0 / 1.012 GB, free: 195.2 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02604/1.919, allocations: 7.631 MB / 1.02 GB, free: 192.6 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/1.919, allocations: 0 / 1.02 GB, free: 192.6 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.081e-05/1.919, allocations: 4.562 kB / 1.02 GB, free: 192.6 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/1.919, allocations: 0 / 1.02 GB, free: 192.6 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/1.919, allocations: 2.281 kB / 1.02 GB, free: 192.6 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/1.919, allocations: 6.094 kB / 1.02 GB, free: 192.6 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.919, allocations: 0 / 1.02 GB, free: 192.6 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006252/1.925, allocations: 2.566 MB / 1.022 GB, free: 191.2 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006105/1.931, allocations: 1.989 MB / 1.024 GB, free: 189.1 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003431/1.935, allocations: 69.06 kB / 1.024 GB, free: 189.1 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003579/1.938, allocations: 71.94 kB / 1.024 GB, free: 189 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/1.939, allocations: 2.109 kB / 1.024 GB, free: 189 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/1.939, allocations: 4 kB / 1.024 GB, free: 189 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.03406/1.973, allocations: 17.46 MB / 1.041 GB, free: 172.4 MB / 0.6828 GB Notification: Performance of sort global known variables: time 6.41e-07/1.973, allocations: 0 / 1.041 GB, free: 172.4 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.004356/1.977, allocations: 0.6288 MB / 1.042 GB, free: 171.8 MB / 0.6828 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009222/1.978, allocations: 412.5 kB / 1.042 GB, free: 171.4 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.0002175/1.978, allocations: 51.81 kB / 1.042 GB, free: 171.4 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.978, allocations: 7.938 kB / 1.042 GB, free: 171.4 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 5.683e-05/1.978, allocations: 19.98 kB / 1.042 GB, free: 171.4 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007259/1.986, allocations: 1.724 MB / 1.044 GB, free: 169.7 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05189/2.037, allocations: 36.86 MB / 1.08 GB, free: 132.7 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01524/2.053, allocations: 8.929 MB / 1.089 GB, free: 123.8 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.01855/2.071, allocations: 5.647 MB / 1.094 GB, free: 118.1 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005558/2.077, allocations: 2.209 MB / 1.096 GB, free: 115.9 MB / 0.6828 GB Notification: Performance of SimCode: time 1.292e-06/2.077, allocations: 0 / 1.096 GB, free: 115.9 MB / 0.6828 GB Notification: Performance of Templates: time 0.1771/2.254, allocations: 60.01 MB / 1.155 GB, free: 55.88 MB / 0.6828 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches