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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 108.3 kB / 17.16 MB, free: 6.324 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.001021/0.001021, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.339/1.339, allocations: 222.9 MB / 241.7 MB, free: 15.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9737/0.9737, allocations: 119.3 MB / 411.2 MB, free: 9.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.91 kB / 0.4909 GB, free: 14.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5344/0.5357, allocations: 80.68 MB / 0.5697 GB, free: 43.54 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000): time 0.002743/0.5384, allocations: 1.634 MB / 0.5713 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.5396, allocations: 0.8837 MB / 0.5721 GB, free: 41.58 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.489e-05/0.5397, allocations: 5.188 kB / 0.5721 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002404/0.5421, allocations: 3.455 MB / 0.5755 GB, free: 39.84 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.5435, allocations: 1.793 MB / 0.5773 GB, free: 38.92 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.5439, allocations: 91.11 kB / 0.5774 GB, free: 38.86 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.003585/0.5475, allocations: 4.339 MB / 0.5816 GB, free: 36.75 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.57e-05/0.5475, allocations: 9.109 kB / 0.5816 GB, free: 36.75 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003343/0.5509, allocations: 2.155 MB / 0.5837 GB, free: 35.54 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002895/0.5538, allocations: 3.825 MB / 0.5874 GB, free: 31.71 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0004723/0.5543, allocations: 252 kB / 0.5877 GB, free: 31.46 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005351/0.5548, allocations: 287.9 kB / 0.588 GB, free: 31.18 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.006739/0.5616, allocations: 9.966 MB / 0.5977 GB, free: 21.19 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.004688/0.5663, allocations: 5.636 MB / 0.6032 GB, free: 15.5 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.005035/0.5713, allocations: 9.1 MB / 0.6121 GB, free: 6.375 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.5713, allocations: 0 / 0.6121 GB, free: 6.375 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.342e-06/0.5713, allocations: 0 / 0.6121 GB, free: 6.375 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0002871/0.5716, allocations: 0 / 0.6121 GB, free: 6.375 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.02265/0.5943, allocations: 19.58 MB / 0.6312 GB, free: 2.578 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.5944, allocations: 8.031 kB / 0.6312 GB, free: 2.57 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002832/0.5972, allocations: 2.206 MB / 0.6334 GB, free: 340 kB / 478.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04783/0.645, allocations: 25.86 MB / 0.6586 GB, free: 6.281 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.6451, allocations: 4.375 kB / 0.6586 GB, free: 6.277 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.6451, allocations: 4.125 kB / 0.6586 GB, free: 6.273 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.6453, allocations: 49.67 kB / 0.6587 GB, free: 6.219 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.6453, allocations: 0 / 0.6587 GB, free: 6.219 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.6454, allocations: 0 / 0.6587 GB, free: 6.219 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.6454, allocations: 0 / 0.6587 GB, free: 6.219 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.181e-05/0.6454, allocations: 12 kB / 0.6587 GB, free: 6.207 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009706/0.6552, allocations: 6.958 MB / 0.6655 GB, free: 15.2 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.6554, allocations: 50.56 kB / 0.6655 GB, free: 15.14 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.022e-05/0.6555, allocations: 24.78 kB / 0.6655 GB, free: 15.11 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.6555, allocations: 0 / 0.6655 GB, free: 15.11 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002436/0.6558, allocations: 63.39 kB / 0.6656 GB, free: 15.04 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 1.953e-06/0.6558, allocations: 8 kB / 0.6656 GB, free: 15.03 MB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.003597/0.6594, allocations: 2.347 MB / 0.6679 GB, free: 12.64 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.6594, allocations: 55.41 kB / 0.668 GB, free: 12.58 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03421/0.6936, allocations: 25.35 MB / 0.6927 GB, free: 3.434 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.6937, allocations: 25.7 kB / 0.6927 GB, free: 3.402 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.01129/0.705, allocations: 11.35 MB / 0.7038 GB, free: 8.047 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 7.293e-05/0.7051, allocations: 15.83 kB / 0.7038 GB, free: 8.031 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.218e-05/0.7052, allocations: 21.62 kB / 0.7039 GB, free: 8.004 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.7053, allocations: 314 kB / 0.7042 GB, free: 7.691 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.583e-05/0.7054, allocations: 15.98 kB / 0.7042 GB, free: 7.676 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.807e-05/0.7055, allocations: 25.72 kB / 0.7042 GB, free: 7.645 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.7056, allocations: 49.58 kB / 0.7042 GB, free: 7.59 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.7056, allocations: 256 / 0.7042 GB, free: 7.59 MB / 0.5452 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.003805/0.7094, allocations: 2.347 MB / 0.7065 GB, free: 5.207 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.7095, allocations: 7.984 kB / 0.7065 GB, free: 5.199 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.7095, allocations: 4 kB / 0.7066 GB, free: 5.195 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.7095, allocations: 0 / 0.7066 GB, free: 5.195 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.747e-05/0.7096, allocations: 11.94 kB / 0.7066 GB, free: 5.184 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.7096, allocations: 0 / 0.7066 GB, free: 5.184 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/0.7118, allocations: 68 kB / 0.7066 GB, free: 5.117 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.7118, allocations: 4 kB / 0.7066 GB, free: 5.113 MB / 0.5452 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.006726/0.7186, allocations: 4.764 MB / 0.7113 GB, free: 344 kB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003394/0.722, allocations: 2.33 MB / 0.7136 GB, free: 13.97 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004815/0.7268, allocations: 2.565 MB / 0.7161 GB, free: 11.41 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.7268, allocations: 0 / 0.7161 GB, free: 11.41 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.7268, allocations: 0 / 0.7161 GB, free: 11.41 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.7268, allocations: 0 / 0.7161 GB, free: 11.41 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01192/0.7388, allocations: 7.622 MB / 0.7235 GB, free: 3.738 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.7388, allocations: 3.984 kB / 0.7235 GB, free: 3.734 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.895e-05/0.7389, allocations: 7.984 kB / 0.7235 GB, free: 3.727 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.7389, allocations: 0 / 0.7235 GB, free: 3.727 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.7389, allocations: 0 / 0.7235 GB, free: 3.727 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.7389, allocations: 4 kB / 0.7235 GB, free: 3.723 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.7389, allocations: 4 kB / 0.7235 GB, free: 3.719 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003538/0.7425, allocations: 2.571 MB / 0.726 GB, free: 1.102 MB / 0.5608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002718/0.7452, allocations: 1.792 MB / 0.7278 GB, free: 15.26 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00108/0.7463, allocations: 67.94 kB / 0.7279 GB, free: 15.2 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.7474, allocations: 68 kB / 0.7279 GB, free: 15.13 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.7475, allocations: 0 / 0.7279 GB, free: 15.13 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.7475, allocations: 8.125 kB / 0.7279 GB, free: 15.12 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.02588/0.7734, allocations: 17.52 MB / 0.745 GB, free: 13.76 MB / 0.592 GB Notification: Performance of sort global known variables: time 1.011e-06/0.7734, allocations: 0 / 0.745 GB, free: 13.76 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.002729/0.7762, allocations: 0.625 MB / 0.7456 GB, free: 13.13 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: 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.0009938/0.7772, allocations: 419 kB / 0.746 GB, free: 12.88 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.7774, allocations: 39.92 kB / 0.7461 GB, free: 12.84 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7774, allocations: 0 / 0.7461 GB, free: 12.84 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 6.656e-05/0.7775, allocations: 19.98 kB / 0.7461 GB, free: 12.82 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00496/0.7825, allocations: 1.719 MB / 0.7478 GB, free: 11.1 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5434/1.326, allocations: 39.94 MB / 0.7868 GB, free: 138.6 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01045/1.336, allocations: 8.929 MB / 0.7955 GB, free: 133.6 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004741/1.341, allocations: 2.217 MB / 0.7977 GB, free: 131.4 MB / 0.5923 GB Notification: Performance of SimCode: time 1.633e-06/1.341, allocations: 3.469 kB / 0.7977 GB, free: 131.4 MB / 0.5923 GB Notification: Performance of Templates: time 4.531/5.872, allocations: 1.605 GB / 2.403 GB, free: 203.2 MB / 0.7173 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