Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001097/0.001097, allocations: 114.7 kB / 17.28 MB, free: 6.219 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.001172/0.001172, allocations: 193.3 kB / 18.21 MB, free: 5.293 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.335/1.335, allocations: 222.9 MB / 241.9 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.042/1.042, allocations: 119.3 MB / 411.4 MB, free: 9.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.91 kB / 0.4911 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6211/0.6224, allocations: 80.68 MB / 0.5699 GB, free: 43.51 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002937/0.6254, allocations: 1.473 MB / 0.5713 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.6264, allocations: 0.5667 MB / 0.5719 GB, free: 41.91 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.292e-05/0.6265, allocations: 0.9375 kB / 0.5719 GB, free: 41.91 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0005136/0.627, allocations: 440.8 kB / 0.5723 GB, free: 41.69 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0006284/0.6277, allocations: 490.3 kB / 0.5728 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.628, allocations: 71.36 kB / 0.5728 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.6292, allocations: 1.13 MB / 0.5739 GB, free: 40.86 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.137e-05/0.6292, allocations: 2.312 kB / 0.5739 GB, free: 40.86 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007194/0.6299, allocations: 0.5601 MB / 0.5745 GB, free: 40.59 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.6311, allocations: 1.037 MB / 0.5755 GB, free: 40.18 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001589/0.6313, allocations: 66 kB / 0.5756 GB, free: 40.18 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002687/0.6316, allocations: 137.5 kB / 0.5757 GB, free: 40.14 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002534/0.6341, allocations: 2.494 MB / 0.5781 GB, free: 38.93 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.6353, allocations: 1.432 MB / 0.5795 GB, free: 37.7 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.00286/0.6382, allocations: 2.378 MB / 0.5818 GB, free: 36.4 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.6382, allocations: 0 / 0.5818 GB, free: 36.4 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6382, allocations: 4 kB / 0.5818 GB, free: 36.4 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001079/0.6383, allocations: 1.25 kB / 0.5818 GB, free: 36.4 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.007949/0.6463, allocations: 5.164 MB / 0.5869 GB, free: 32.33 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.6464, allocations: 8.031 kB / 0.5869 GB, free: 32.32 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008271/0.6472, allocations: 0.5561 MB / 0.5874 GB, free: 31.76 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009053/0.6563, allocations: 6.527 MB / 0.5938 GB, free: 25.15 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.6563, allocations: 384 / 0.5938 GB, free: 25.15 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.714e-05/0.6564, allocations: 28.3 kB / 0.5938 GB, free: 25.12 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.6567, allocations: 241.8 kB / 0.5941 GB, free: 24.88 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.6567, allocations: 7.984 kB / 0.5941 GB, free: 24.88 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/0.6567, allocations: 16 kB / 0.5941 GB, free: 24.86 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.6568, allocations: 4 kB / 0.5941 GB, free: 24.86 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.6569, allocations: 131.9 kB / 0.5942 GB, free: 24.73 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/0.6591, allocations: 1.862 MB / 0.596 GB, free: 22.82 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.6592, allocations: 102.5 kB / 0.5961 GB, free: 22.71 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.6594, allocations: 92.89 kB / 0.5962 GB, free: 22.61 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.6594, allocations: 4 kB / 0.5962 GB, free: 22.61 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003472/0.6597, allocations: 256.8 kB / 0.5965 GB, free: 22.34 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 2.625e-06/0.6597, allocations: 4 kB / 0.5965 GB, free: 22.34 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001298/0.6611, allocations: 1.16 MB / 0.5976 GB, free: 21.16 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.6611, allocations: 85.09 kB / 0.5977 GB, free: 21.05 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005687/0.6668, allocations: 6.275 MB / 0.6038 GB, free: 14.82 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.133e-05/0.6669, allocations: 41.7 kB / 0.6039 GB, free: 14.78 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001635/0.6685, allocations: 2.524 MB / 0.6063 GB, free: 12.25 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.531e-05/0.6686, allocations: 35.75 kB / 0.6064 GB, free: 12.21 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.6688, allocations: 133.7 kB / 0.6065 GB, free: 12.08 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.419e-05/0.6689, allocations: 310 kB / 0.6068 GB, free: 11.77 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.669, allocations: 75.98 kB / 0.6069 GB, free: 11.7 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.6691, allocations: 80 kB / 0.6069 GB, free: 11.62 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.6693, allocations: 232.2 kB / 0.6072 GB, free: 11.38 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.6694, allocations: 0 / 0.6072 GB, free: 11.38 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001231/0.6706, allocations: 1.09 MB / 0.6082 GB, free: 10.27 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/0.6706, allocations: 44.34 kB / 0.6083 GB, free: 10.22 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.6707, allocations: 0 / 0.6083 GB, free: 10.22 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.6707, allocations: 0 / 0.6083 GB, free: 10.22 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.323e-05/0.6708, allocations: 4 kB / 0.6083 GB, free: 10.21 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.6708, allocations: 4 kB / 0.6083 GB, free: 10.21 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004993/0.6713, allocations: 19.94 kB / 0.6083 GB, free: 10.19 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/0.6714, allocations: 224.1 kB / 0.6085 GB, free: 9.973 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.001785/0.6732, allocations: 1.338 MB / 0.6098 GB, free: 8.617 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004061/0.6736, allocations: 0.5746 MB / 0.6104 GB, free: 8.035 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006638/0.6743, allocations: 0.6519 MB / 0.611 GB, free: 7.375 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.6743, allocations: 4 kB / 0.611 GB, free: 7.371 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.381e-06/0.6743, allocations: 0 / 0.611 GB, free: 7.371 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.6744, allocations: 0 / 0.611 GB, free: 7.371 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.6759, allocations: 2.022 MB / 0.613 GB, free: 5.301 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.6759, allocations: 0 / 0.613 GB, free: 5.301 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.6759, allocations: 7.938 kB / 0.613 GB, free: 5.293 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.6759, allocations: 0 / 0.613 GB, free: 5.293 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.442e-05/0.676, allocations: 48 kB / 0.613 GB, free: 5.246 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.676, allocations: 0 / 0.613 GB, free: 5.246 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.676, allocations: 8 kB / 0.613 GB, free: 5.238 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.677, allocations: 1.172 MB / 0.6142 GB, free: 4.035 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005297/0.6776, allocations: 0.564 MB / 0.6147 GB, free: 3.445 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002382/0.6778, allocations: 20 kB / 0.6148 GB, free: 3.426 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/0.6781, allocations: 20 kB / 0.6148 GB, free: 3.406 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.6782, allocations: 4 kB / 0.6148 GB, free: 3.402 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/0.6783, allocations: 220 kB / 0.615 GB, free: 3.188 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.005313/0.6836, allocations: 4.332 MB / 0.6192 GB, free: 14.89 MB / 478.3 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6837, allocations: 4 kB / 0.6192 GB, free: 14.89 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0009413/0.6846, allocations: 188 kB / 0.6194 GB, free: 14.71 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.0002803/0.6849, allocations: 139.1 kB / 0.6195 GB, free: 14.56 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0004961/0.6854, allocations: 283.5 kB / 0.6198 GB, free: 14.27 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6854, allocations: 0 / 0.6198 GB, free: 14.27 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.6857, allocations: 187.5 kB / 0.62 GB, free: 14.08 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.6871, allocations: 446 kB / 0.6204 GB, free: 13.64 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/0.7019, allocations: 9.736 MB / 0.6299 GB, free: 3.867 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002609/0.7046, allocations: 2.728 MB / 0.6326 GB, free: 1.113 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004626/0.705, allocations: 259.4 kB / 0.6328 GB, free: 0.8555 MB / 478.3 MB Notification: Performance of SimCode: time 9.62e-07/0.705, allocations: 0 / 0.6328 GB, free: 0.8555 MB / 478.3 MB Notification: Performance of Templates: time 0.8131/1.518, allocations: 140 MB / 0.7696 GB, free: 158.9 MB / 0.5923 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches