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.001296/0.001296, allocations: 111.8 kB / 17.74 MB, free: 5.312 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.001298/0.001298, allocations: 188.2 kB / 18.67 MB, free: 4.391 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.314/1.314, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9189/0.9189, allocations: 119.3 MB / 411.8 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 66.84 kB / 0.5716 GB, free: 39.82 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1453, allocations: 80.69 MB / 0.6504 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002421/0.1478, allocations: 1.417 MB / 0.6517 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009739/0.1488, allocations: 0.5652 MB / 0.6523 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.465e-05/0.1489, allocations: 4 kB / 0.6523 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0004006/0.1493, allocations: 447.1 kB / 0.6527 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0005005/0.1498, allocations: 491 kB / 0.6532 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.1501, allocations: 83.77 kB / 0.6533 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0008554/0.151, allocations: 1.127 MB / 0.6544 GB, free: 8.941 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.564e-05/0.151, allocations: 4 kB / 0.6544 GB, free: 8.938 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005721/0.1516, allocations: 0.5615 MB / 0.6549 GB, free: 8.375 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008806/0.1525, allocations: 1.03 MB / 0.6559 GB, free: 7.344 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.1527, allocations: 64 kB / 0.656 GB, free: 7.281 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002783/0.153, allocations: 143.9 kB / 0.6561 GB, free: 7.141 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.002394/0.1554, allocations: 2.505 MB / 0.6586 GB, free: 4.629 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.001267/0.1566, allocations: 1.42 MB / 0.66 GB, free: 3.195 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.002481/0.1591, allocations: 3.17 MB / 0.6631 GB, free: 8 kB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1592, allocations: 0 / 0.6631 GB, free: 8 kB / 0.4983 GB Notification: Performance of FrontEnd: time 2.705e-06/0.1592, allocations: 0 / 0.6631 GB, free: 8 kB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.547e-05/0.1592, allocations: 4 kB / 0.6631 GB, free: 4 kB / 0.4983 GB 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.005238/0.1645, allocations: 5.165 MB / 0.6681 GB, free: 10.74 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.1645, allocations: 8.031 kB / 0.6681 GB, free: 10.73 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005771/0.1651, allocations: 0.556 MB / 0.6687 GB, free: 10.17 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009766/0.1749, allocations: 6.527 MB / 0.675 GB, free: 3.562 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.1749, allocations: 384 / 0.675 GB, free: 3.562 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.175, allocations: 20.38 kB / 0.6751 GB, free: 3.543 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.1754, allocations: 253.7 kB / 0.6753 GB, free: 3.289 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1754, allocations: 4 kB / 0.6753 GB, free: 3.285 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.102e-05/0.1754, allocations: 20 kB / 0.6753 GB, free: 3.266 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1755, allocations: 0 / 0.6753 GB, free: 3.266 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.1757, allocations: 135.9 kB / 0.6755 GB, free: 3.133 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002525/0.1782, allocations: 1.858 MB / 0.6773 GB, free: 1.227 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.1784, allocations: 98.58 kB / 0.6774 GB, free: 1.121 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.1786, allocations: 96.89 kB / 0.6775 GB, free: 1.023 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.1786, allocations: 4 kB / 0.6775 GB, free: 1.02 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003141/0.1789, allocations: 260.8 kB / 0.6777 GB, free: 0.7461 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/0.1789, allocations: 0 / 0.6777 GB, free: 0.7461 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.001497/0.1804, allocations: 1.16 MB / 0.6788 GB, free: 15.57 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.1805, allocations: 77.11 kB / 0.6789 GB, free: 15.47 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007772/0.1883, allocations: 6.279 MB / 0.685 GB, free: 9.238 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.1884, allocations: 41.7 kB / 0.6851 GB, free: 9.191 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002314/0.1907, allocations: 2.52 MB / 0.6875 GB, free: 6.668 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.1909, allocations: 43.86 kB / 0.6876 GB, free: 6.625 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.1911, allocations: 129.7 kB / 0.6877 GB, free: 6.492 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 9.767e-05/0.1912, allocations: 313.9 kB / 0.688 GB, free: 6.18 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.1913, allocations: 79.98 kB / 0.6881 GB, free: 6.102 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.1915, allocations: 80 kB / 0.6882 GB, free: 6.023 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/0.1918, allocations: 224.2 kB / 0.6884 GB, free: 5.789 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1918, allocations: 0 / 0.6884 GB, free: 5.789 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001427/0.1932, allocations: 1.093 MB / 0.6894 GB, free: 4.676 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 4.971e-05/0.1933, allocations: 44.81 kB / 0.6895 GB, free: 4.629 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1933, allocations: 0 / 0.6895 GB, free: 4.629 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.1933, allocations: 0 / 0.6895 GB, free: 4.629 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.549e-05/0.1934, allocations: 4 kB / 0.6895 GB, free: 4.625 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1934, allocations: 96 / 0.6895 GB, free: 4.625 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000581/0.194, allocations: 27.88 kB / 0.6895 GB, free: 4.598 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/0.1942, allocations: 227.9 kB / 0.6897 GB, free: 4.375 MB / 0.5295 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 (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.001723/0.1959, allocations: 1.335 MB / 0.691 GB, free: 3.023 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006659/0.1966, allocations: 0.5784 MB / 0.6916 GB, free: 2.438 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009063/0.1975, allocations: 0.6519 MB / 0.6922 GB, free: 1.781 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1975, allocations: 0 / 0.6922 GB, free: 1.781 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1975, allocations: 0 / 0.6922 GB, free: 1.781 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1976, allocations: 4 kB / 0.6922 GB, free: 1.777 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002272/0.1998, allocations: 2.018 MB / 0.6942 GB, free: 15.71 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.1999, allocations: 0 / 0.6942 GB, free: 15.71 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.174e-05/0.1999, allocations: 3.938 kB / 0.6942 GB, free: 15.71 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.2, allocations: 4 kB / 0.6942 GB, free: 15.7 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001513/0.2001, allocations: 55.92 kB / 0.6943 GB, free: 15.65 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.2001, allocations: 0 / 0.6943 GB, free: 15.65 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.2001, allocations: 0 / 0.6943 GB, free: 15.65 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.2017, allocations: 1.172 MB / 0.6954 GB, free: 14.45 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008975/0.2026, allocations: 0.5601 MB / 0.696 GB, free: 13.86 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003138/0.2029, allocations: 24 kB / 0.696 GB, free: 13.84 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/0.2033, allocations: 20 kB / 0.696 GB, free: 13.82 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.2034, allocations: 0 / 0.696 GB, free: 13.82 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/0.2036, allocations: 228 kB / 0.6962 GB, free: 13.59 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.007051/0.2106, allocations: 4.324 MB / 0.7004 GB, free: 9.309 MB / 0.5452 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2106, allocations: 4 kB / 0.7005 GB, free: 9.305 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0008458/0.2115, allocations: 192 kB / 0.7006 GB, free: 9.117 MB / 0.5452 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 (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.0002613/0.2118, allocations: 139.7 kB / 0.7008 GB, free: 8.973 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0004559/0.2122, allocations: 287.3 kB / 0.701 GB, free: 8.68 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2122, allocations: 0 / 0.701 GB, free: 8.68 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.2125, allocations: 179.4 kB / 0.7012 GB, free: 8.492 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.2138, allocations: 441.2 kB / 0.7016 GB, free: 8.059 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.2253, allocations: 8.619 MB / 0.7101 GB, free: 15.4 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002506/0.2278, allocations: 2.728 MB / 0.7127 GB, free: 12.65 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004918/0.2284, allocations: 259.4 kB / 0.713 GB, free: 12.39 MB / 0.5608 GB Notification: Performance of SimCode: time 1.744e-06/0.2284, allocations: 4 kB / 0.713 GB, free: 12.39 MB / 0.5608 GB Notification: Performance of Templates: time 0.8142/1.043, allocations: 140.6 MB / 0.8503 GB, free: 48.35 MB / 0.6079 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches