Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 88.72 kB / 16.31 MB, free: 5.684 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.00106/0.00106, allocations: 182.9 kB / 17.21 MB, free: 5.602 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: 223.3 MB / 241.2 MB, free: 14.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.15/1.15, allocations: 120.5 MB / 412.8 MB, free: 9.246 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003627, allocations: 8 kB / 0.4943 GB, free: 11.81 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5791/0.5795, allocations: 82.84 MB / 0.5752 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.001455/0.581, allocations: 1.114 MB / 0.5763 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008396/0.5819, allocations: 0.5356 MB / 0.5768 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.327e-05/0.582, allocations: 0 / 0.5768 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.5835, allocations: 1.9 MB / 0.5786 GB, free: 39.23 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.5851, allocations: 1.939 MB / 0.5805 GB, free: 38.41 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.5855, allocations: 60.11 kB / 0.5806 GB, free: 38.38 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.003858/0.5894, allocations: 3.652 MB / 0.5841 GB, free: 36.32 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.838e-05/0.5894, allocations: 3.25 kB / 0.5842 GB, free: 36.32 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004379/0.5938, allocations: 2.233 MB / 0.5863 GB, free: 34.95 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004776/0.5986, allocations: 4.089 MB / 0.5903 GB, free: 30.86 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0004561/0.5991, allocations: 252 kB / 0.5906 GB, free: 30.61 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005475/0.5997, allocations: 315.9 kB / 0.5909 GB, free: 30.3 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.007755/0.6074, allocations: 9.958 MB / 0.6006 GB, free: 20.32 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.002635/0.6101, allocations: 1.982 MB / 0.6025 GB, free: 18.32 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.007196/0.6173, allocations: 9.029 MB / 0.6113 GB, free: 9.266 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 1.139e-05/0.6174, allocations: 3.938 kB / 0.6113 GB, free: 9.262 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.595e-06/0.6174, allocations: 0 / 0.6113 GB, free: 9.262 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0004539/0.6179, allocations: 0 / 0.6113 GB, free: 9.262 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.0221/0.64, allocations: 17.48 MB / 0.6284 GB, free: 7.586 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/0.6401, allocations: 16.03 kB / 0.6284 GB, free: 7.57 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004652/0.6447, allocations: 2.205 MB / 0.6306 GB, free: 5.336 MB / 478.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06036/0.7051, allocations: 24.6 MB / 0.6546 GB, free: 12.56 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.7052, allocations: 8 kB / 0.6546 GB, free: 12.55 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/0.7054, allocations: 64 kB / 0.6547 GB, free: 12.49 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.7065, allocations: 0.7744 MB / 0.6554 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.7065, allocations: 0 / 0.6554 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.7067, allocations: 64 kB / 0.6555 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.7067, allocations: 3.781 kB / 0.6555 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006537/0.7074, allocations: 467.9 kB / 0.6559 GB, free: 11.19 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01613/0.7235, allocations: 7.004 MB / 0.6628 GB, free: 4.137 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007654/0.7243, allocations: 286.7 kB / 0.6631 GB, free: 3.848 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004721/0.7248, allocations: 281 kB / 0.6633 GB, free: 3.57 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.7248, allocations: 0 / 0.6633 GB, free: 3.57 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009143/0.7257, allocations: 0.7073 MB / 0.664 GB, free: 2.844 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 4.759e-06/0.7258, allocations: 0 / 0.664 GB, free: 2.844 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.007199/0.733, allocations: 4.24 MB / 0.6682 GB, free: 14.56 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.219e-05/0.7331, allocations: 81.06 kB / 0.6682 GB, free: 14.46 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0436/0.7767, allocations: 24.77 MB / 0.6924 GB, free: 5.895 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003956/0.7771, allocations: 89.7 kB / 0.6925 GB, free: 5.801 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.01395/0.7911, allocations: 10.83 MB / 0.7031 GB, free: 10.96 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006088/0.7917, allocations: 83.66 kB / 0.7032 GB, free: 10.88 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.7919, allocations: 64 kB / 0.7032 GB, free: 10.82 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.792, allocations: 306 kB / 0.7035 GB, free: 10.52 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004596/0.7925, allocations: 276 kB / 0.7038 GB, free: 10.25 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004406/0.7929, allocations: 260 kB / 0.704 GB, free: 9.992 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004832/0.7934, allocations: 309.6 kB / 0.7043 GB, free: 9.684 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.7934, allocations: 4 kB / 0.7043 GB, free: 9.68 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.006193/0.7996, allocations: 3.962 MB / 0.7082 GB, free: 5.676 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 5.606e-05/0.7997, allocations: 40.19 kB / 0.7082 GB, free: 5.633 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.7997, allocations: 0 / 0.7082 GB, free: 5.633 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.7997, allocations: 0 / 0.7082 GB, free: 5.633 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.416e-05/0.7998, allocations: 4 kB / 0.7082 GB, free: 5.629 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.7998, allocations: 11.89 kB / 0.7082 GB, free: 5.617 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002815/0.8027, allocations: 71.94 kB / 0.7083 GB, free: 5.547 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008946/0.8036, allocations: 0.8594 MB / 0.7092 GB, free: 4.688 MB / 0.5452 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00915/0.8127, allocations: 4.904 MB / 0.7139 GB, free: 15.77 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00424/0.817, allocations: 2.268 MB / 0.7162 GB, free: 13.47 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00579/0.8228, allocations: 2.561 MB / 0.7187 GB, free: 10.9 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.8228, allocations: 0 / 0.7187 GB, free: 10.9 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.8229, allocations: 0 / 0.7187 GB, free: 10.9 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.8229, allocations: 3.953 kB / 0.7187 GB, free: 10.89 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01437/0.8372, allocations: 7.621 MB / 0.7261 GB, free: 3.227 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.8373, allocations: 4 kB / 0.7261 GB, free: 3.223 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.549e-05/0.8374, allocations: 7.984 kB / 0.7261 GB, free: 3.215 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.8374, allocations: 0 / 0.7261 GB, free: 3.215 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006382/0.838, allocations: 188 kB / 0.7263 GB, free: 3.031 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.838, allocations: 0 / 0.7263 GB, free: 3.031 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.838, allocations: 0 / 0.7263 GB, free: 3.031 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006657/0.8447, allocations: 4.162 MB / 0.7304 GB, free: 14.81 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004645/0.8494, allocations: 1.987 MB / 0.7323 GB, free: 12.78 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002237/0.8517, allocations: 72 kB / 0.7324 GB, free: 12.71 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002304/0.854, allocations: 64 kB / 0.7324 GB, free: 12.64 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.131e-05/0.8541, allocations: 7.984 kB / 0.7324 GB, free: 12.64 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007319/0.8548, allocations: 0.8594 MB / 0.7333 GB, free: 11.78 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.03295/0.8878, allocations: 17.17 MB / 0.75 GB, free: 10.76 MB / 0.592 GB Notification: Performance of sort global known variables: time 3.8e-07/0.8878, allocations: 3.938 kB / 0.75 GB, free: 10.75 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.003243/0.891, allocations: 0.6406 MB / 0.7507 GB, free: 10.11 MB / 0.592 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 (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.0003672/0.8914, allocations: 183.2 kB / 0.7509 GB, free: 9.926 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.8926, allocations: 0.6908 MB / 0.7515 GB, free: 9.223 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.8926, allocations: 0 / 0.7515 GB, free: 9.223 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0006055/0.8932, allocations: 423.3 kB / 0.7519 GB, free: 8.797 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005524/0.8987, allocations: 1.699 MB / 0.7536 GB, free: 7.098 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.718/1.617, allocations: 36.81 MB / 0.7895 GB, free: 148.3 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02169/1.638, allocations: 8.914 MB / 0.7982 GB, free: 141.4 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.01444/1.653, allocations: 4.705 MB / 0.8028 GB, free: 136.7 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002082/1.655, allocations: 0.9838 MB / 0.8038 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of SimCode: time 2.144e-06/1.655, allocations: 0 / 0.8038 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of Templates: time 0.2035/1.859, allocations: 81.47 MB / 0.8834 GB, free: 54.15 MB / 0.5923 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches