Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 106 kB / 17.28 MB, free: 6.199 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.001293/0.001293, allocations: 194 kB / 18.21 MB, free: 5.273 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.4/1.4, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9508/0.9508, allocations: 119.3 MB / 411.3 MB, free: 9.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 59.91 kB / 0.4911 GB, free: 14.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.511/0.5122, allocations: 80.68 MB / 0.5699 GB, free: 43.49 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.00239/0.5146, allocations: 1.48 MB / 0.5713 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008253/0.5155, allocations: 0.5634 MB / 0.5719 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.586e-05/0.5156, allocations: 9.094 kB / 0.5719 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.000391/0.5159, allocations: 440.9 kB / 0.5723 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004954/0.5165, allocations: 484.9 kB / 0.5728 GB, free: 41.42 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.5168, allocations: 69.56 kB / 0.5728 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0008528/0.5176, allocations: 1.125 MB / 0.5739 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.5177, allocations: 3.969 kB / 0.5739 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005075/0.5182, allocations: 0.5625 MB / 0.5745 GB, free: 40.56 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000866/0.5191, allocations: 1.044 MB / 0.5755 GB, free: 40.15 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.5192, allocations: 66 kB / 0.5756 GB, free: 40.15 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002306/0.5194, allocations: 130.9 kB / 0.5757 GB, free: 40.12 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002287/0.5217, allocations: 2.497 MB / 0.5781 GB, free: 38.9 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0009546/0.5227, allocations: 1.42 MB / 0.5795 GB, free: 37.68 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002282/0.525, allocations: 2.385 MB / 0.5818 GB, free: 36.38 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.525, allocations: 1.469 kB / 0.5818 GB, free: 36.38 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.205e-06/0.525, allocations: 0 / 0.5818 GB, free: 36.38 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.398e-05/0.5251, allocations: 0 / 0.5818 GB, free: 36.38 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.006161/0.5313, allocations: 5.163 MB / 0.5869 GB, free: 32.32 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.5313, allocations: 12.03 kB / 0.5869 GB, free: 32.31 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006413/0.532, allocations: 0.5522 MB / 0.5874 GB, free: 31.75 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007971/0.54, allocations: 6.539 MB / 0.5938 GB, free: 25.13 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.54, allocations: 8.375 kB / 0.5938 GB, free: 25.12 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/0.5401, allocations: 20.38 kB / 0.5938 GB, free: 25.11 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.5404, allocations: 237.8 kB / 0.5941 GB, free: 24.87 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.5404, allocations: 0 / 0.5941 GB, free: 24.87 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.671e-05/0.5404, allocations: 19.98 kB / 0.5941 GB, free: 24.85 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.5404, allocations: 0 / 0.5941 GB, free: 24.85 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.5406, allocations: 132 kB / 0.5942 GB, free: 24.72 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.5423, allocations: 1.862 MB / 0.596 GB, free: 22.81 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.5424, allocations: 98.52 kB / 0.5961 GB, free: 22.7 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.5426, allocations: 96.89 kB / 0.5962 GB, free: 22.61 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.5426, allocations: 4 kB / 0.5962 GB, free: 22.6 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003179/0.5429, allocations: 252.8 kB / 0.5965 GB, free: 22.34 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.5429, allocations: 3.938 kB / 0.5965 GB, free: 22.33 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001117/0.5441, allocations: 1.168 MB / 0.5976 GB, free: 21.14 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.5441, allocations: 81.11 kB / 0.5977 GB, free: 21.05 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005487/0.5496, allocations: 6.275 MB / 0.6038 GB, free: 14.82 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.307e-05/0.5497, allocations: 49.7 kB / 0.6039 GB, free: 14.76 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001478/0.5512, allocations: 2.52 MB / 0.6063 GB, free: 12.24 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.052e-05/0.5513, allocations: 39.88 kB / 0.6064 GB, free: 12.2 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.5514, allocations: 133.7 kB / 0.6065 GB, free: 12.06 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.697e-05/0.5515, allocations: 306 kB / 0.6068 GB, free: 11.76 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.5516, allocations: 79.98 kB / 0.6069 GB, free: 11.68 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.5517, allocations: 76 kB / 0.6069 GB, free: 11.61 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.5519, allocations: 228.2 kB / 0.6072 GB, free: 11.37 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5519, allocations: 4 kB / 0.6072 GB, free: 11.36 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001086/0.553, allocations: 1.097 MB / 0.6082 GB, free: 10.25 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/0.5531, allocations: 29.7 kB / 0.6083 GB, free: 10.21 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5531, allocations: 0 / 0.6083 GB, free: 10.21 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.5531, allocations: 4 kB / 0.6083 GB, free: 10.21 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.148e-05/0.5532, allocations: 4 kB / 0.6083 GB, free: 10.2 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.5532, allocations: 0 / 0.6083 GB, free: 10.2 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004275/0.5536, allocations: 19.98 kB / 0.6083 GB, free: 10.18 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.5538, allocations: 224 kB / 0.6085 GB, free: 9.965 MB / 462.3 MB 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.001523/0.5553, allocations: 1.341 MB / 0.6098 GB, free: 8.609 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004187/0.5557, allocations: 0.5785 MB / 0.6104 GB, free: 8.023 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000601/0.5564, allocations: 0.648 MB / 0.611 GB, free: 7.367 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.5564, allocations: 96 / 0.611 GB, free: 7.367 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.5564, allocations: 3.938 kB / 0.611 GB, free: 7.363 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.5564, allocations: 0 / 0.611 GB, free: 7.363 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.5579, allocations: 2.018 MB / 0.613 GB, free: 5.297 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5579, allocations: 0 / 0.613 GB, free: 5.297 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.5579, allocations: 7.938 kB / 0.613 GB, free: 5.289 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.558, allocations: 0 / 0.613 GB, free: 5.289 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.305e-05/0.558, allocations: 55.98 kB / 0.613 GB, free: 5.234 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.558, allocations: 7.938 kB / 0.613 GB, free: 5.227 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.558, allocations: 0 / 0.613 GB, free: 5.227 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009412/0.559, allocations: 1.168 MB / 0.6142 GB, free: 4.027 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005083/0.5595, allocations: 0.5679 MB / 0.6147 GB, free: 3.434 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002311/0.5597, allocations: 20 kB / 0.6148 GB, free: 3.414 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/0.56, allocations: 16 kB / 0.6148 GB, free: 3.398 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.5601, allocations: 7.938 kB / 0.6148 GB, free: 3.391 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/0.5602, allocations: 232 kB / 0.615 GB, free: 3.164 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.004585/0.5648, allocations: 4.324 MB / 0.6192 GB, free: 14.88 MB / 478.3 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5648, allocations: 0 / 0.6192 GB, free: 14.88 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0007326/0.5656, allocations: 188 kB / 0.6194 GB, free: 14.7 MB / 478.3 MB 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.0002433/0.5658, allocations: 145.8 kB / 0.6195 GB, free: 14.55 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0004281/0.5663, allocations: 283.4 kB / 0.6198 GB, free: 14.26 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5663, allocations: 0 / 0.6198 GB, free: 14.26 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.5665, allocations: 191.6 kB / 0.62 GB, free: 14.06 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.5678, allocations: 441.2 kB / 0.6204 GB, free: 13.62 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/0.5801, allocations: 9.725 MB / 0.6299 GB, free: 3.863 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00222/0.5824, allocations: 2.724 MB / 0.6326 GB, free: 1.113 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003831/0.5828, allocations: 259.4 kB / 0.6328 GB, free: 0.8555 MB / 478.3 MB Notification: Performance of SimCode: time 8.22e-07/0.5828, allocations: 0 / 0.6328 GB, free: 0.8555 MB / 478.3 MB Notification: Performance of Templates: time 0.7179/1.301, allocations: 140 MB / 0.7696 GB, free: 159.5 MB / 0.5923 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches