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.001335/0.001335, allocations: 112.5 kB / 17.06 MB, free: 5.949 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.001418/0.001418, allocations: 200.1 kB / 18.01 MB, free: 5.027 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.38/1.38, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9489/0.9489, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 61.62 kB / 0.5709 GB, free: 39.75 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1402, allocations: 80.7 MB / 0.6497 GB, free: 13.1 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002521/0.1428, allocations: 1.41 MB / 0.6511 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1438, allocations: 0.569 MB / 0.6516 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.446e-05/0.1439, allocations: 0 / 0.6516 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0004023/0.1443, allocations: 451.1 kB / 0.6521 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0005251/0.1449, allocations: 494.9 kB / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.1452, allocations: 79.78 kB / 0.6526 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0008587/0.1461, allocations: 1.123 MB / 0.6537 GB, free: 8.977 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.1461, allocations: 8 kB / 0.6537 GB, free: 8.969 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006596/0.1468, allocations: 0.5654 MB / 0.6543 GB, free: 8.402 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009769/0.1478, allocations: 1.03 MB / 0.6553 GB, free: 7.371 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.148, allocations: 64 kB / 0.6553 GB, free: 7.309 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002705/0.1483, allocations: 147.9 kB / 0.6555 GB, free: 7.164 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.002355/0.1506, allocations: 2.501 MB / 0.6579 GB, free: 4.656 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.001475/0.1521, allocations: 1.423 MB / 0.6593 GB, free: 3.219 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.002618/0.1547, allocations: 3.197 MB / 0.6624 GB, free: 0 / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-05/0.1548, allocations: 4.047 kB / 0.6624 GB, free: 15.99 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1548, allocations: 0 / 0.6624 GB, free: 15.99 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 9.203e-05/0.1549, allocations: 0 / 0.6624 GB, free: 15.99 MB / 0.5139 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.005615/0.1605, allocations: 5.376 MB / 0.6677 GB, free: 10.52 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.1605, allocations: 12.03 kB / 0.6677 GB, free: 10.51 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005074/0.1611, allocations: 0.5868 MB / 0.6683 GB, free: 9.922 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008452/0.1695, allocations: 6.627 MB / 0.6747 GB, free: 3.223 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.1695, allocations: 384 / 0.6747 GB, free: 3.223 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.1696, allocations: 16.38 kB / 0.6748 GB, free: 3.207 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.1699, allocations: 249.7 kB / 0.675 GB, free: 2.957 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.1699, allocations: 0 / 0.675 GB, free: 2.957 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.891e-05/0.17, allocations: 16 kB / 0.675 GB, free: 2.941 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.17, allocations: 4 kB / 0.675 GB, free: 2.938 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.1702, allocations: 124 kB / 0.6751 GB, free: 2.816 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00241/0.1726, allocations: 1.87 MB / 0.677 GB, free: 0.8984 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.1728, allocations: 102.6 kB / 0.6771 GB, free: 0.7891 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.173, allocations: 92.86 kB / 0.6772 GB, free: 0.6953 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.173, allocations: 0 / 0.6772 GB, free: 0.6953 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003263/0.1733, allocations: 260.8 kB / 0.6774 GB, free: 432 kB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.1733, allocations: 0 / 0.6774 GB, free: 432 kB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.001565/0.1749, allocations: 1.203 MB / 0.6786 GB, free: 15.2 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.175, allocations: 77.11 kB / 0.6786 GB, free: 15.11 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006177/0.1812, allocations: 6.283 MB / 0.6848 GB, free: 8.871 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 5.458e-05/0.1812, allocations: 45.69 kB / 0.6848 GB, free: 8.82 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001989/0.1832, allocations: 2.52 MB / 0.6873 GB, free: 6.297 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 6.658e-05/0.1833, allocations: 27.91 kB / 0.6873 GB, free: 6.27 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.1835, allocations: 133.7 kB / 0.6874 GB, free: 6.133 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 9.432e-05/0.1836, allocations: 310 kB / 0.6877 GB, free: 5.824 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.1837, allocations: 83.94 kB / 0.6878 GB, free: 5.742 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.1838, allocations: 83.98 kB / 0.6879 GB, free: 5.66 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.1842, allocations: 224.2 kB / 0.6881 GB, free: 5.426 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1842, allocations: 0 / 0.6881 GB, free: 5.426 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001138/0.1853, allocations: 1.12 MB / 0.6892 GB, free: 4.289 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 4.732e-05/0.1854, allocations: 41.69 kB / 0.6892 GB, free: 4.242 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.1854, allocations: 0 / 0.6892 GB, free: 4.242 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1854, allocations: 0 / 0.6892 GB, free: 4.242 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.542e-05/0.1855, allocations: 4 kB / 0.6892 GB, free: 4.238 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1855, allocations: 0 / 0.6892 GB, free: 4.238 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.1859, allocations: 27.94 kB / 0.6893 GB, free: 4.211 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/0.1861, allocations: 223.9 kB / 0.6895 GB, free: 3.992 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.001388/0.1875, allocations: 1.335 MB / 0.6908 GB, free: 2.641 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004595/0.1879, allocations: 0.6092 MB / 0.6914 GB, free: 2.027 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005894/0.1885, allocations: 0.6441 MB / 0.692 GB, free: 1.379 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1885, allocations: 0 / 0.692 GB, free: 1.379 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1886, allocations: 0 / 0.692 GB, free: 1.379 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1886, allocations: 0 / 0.692 GB, free: 1.379 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.1903, allocations: 2.026 MB / 0.694 GB, free: 15.3 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1903, allocations: 7.938 kB / 0.694 GB, free: 15.3 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.1903, allocations: 3.938 kB / 0.694 GB, free: 15.29 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.1903, allocations: 4 kB / 0.694 GB, free: 15.29 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.808e-05/0.1904, allocations: 48 kB / 0.6941 GB, free: 15.24 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1904, allocations: 3.938 kB / 0.6941 GB, free: 15.24 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1904, allocations: 0 / 0.6941 GB, free: 15.24 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.1916, allocations: 1.199 MB / 0.6952 GB, free: 14.01 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006915/0.1923, allocations: 0.5947 MB / 0.6958 GB, free: 13.39 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/0.1925, allocations: 20 kB / 0.6958 GB, free: 13.38 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.1928, allocations: 27.98 kB / 0.6959 GB, free: 13.35 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.1929, allocations: 0 / 0.6959 GB, free: 13.35 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001795/0.1931, allocations: 228 kB / 0.6961 GB, free: 13.12 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.005147/0.1982, allocations: 4.324 MB / 0.7003 GB, free: 8.84 MB / 0.5452 GB Notification: Performance of sort global known variables: time 2.21e-07/0.1982, allocations: 0 / 0.7003 GB, free: 8.84 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0005918/0.1988, allocations: 191.9 kB / 0.7005 GB, free: 8.652 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.0002583/0.1991, allocations: 139.4 kB / 0.7006 GB, free: 8.512 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0004841/0.1996, allocations: 287.3 kB / 0.7009 GB, free: 8.219 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.1996, allocations: 0 / 0.7009 GB, free: 8.219 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0002414/0.1998, allocations: 187.4 kB / 0.7011 GB, free: 8.023 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.2009, allocations: 437.2 kB / 0.7015 GB, free: 7.594 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009277/0.2102, allocations: 8.534 MB / 0.7098 GB, free: 15.02 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002209/0.2124, allocations: 2.728 MB / 0.7125 GB, free: 12.27 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.002104/0.2146, allocations: 1.141 MB / 0.7136 GB, free: 11.12 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002576/0.2148, allocations: 259.4 kB / 0.7138 GB, free: 10.86 MB / 0.5608 GB Notification: Performance of SimCode: time 5.11e-07/0.2148, allocations: 0 / 0.7138 GB, free: 10.86 MB / 0.5608 GB Notification: Performance of Templates: time 0.04436/0.2592, allocations: 20.71 MB / 0.7341 GB, free: 6.039 MB / 0.5764 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches