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.001433/0.001433, allocations: 108.5 kB / 17.06 MB, free: 5.992 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.001347/0.001347, allocations: 197.3 kB / 18.01 MB, free: 5.066 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.49/1.49, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.195/1.195, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 67.78 kB / 0.5709 GB, free: 39.71 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1468, allocations: 80.69 MB / 0.6497 GB, free: 12.95 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002559/0.1494, allocations: 1.398 MB / 0.6511 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1505, allocations: 0.5691 MB / 0.6516 GB, free: 10.97 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.1506, allocations: 4 kB / 0.6517 GB, free: 10.97 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0004595/0.1511, allocations: 447.1 kB / 0.6521 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0005604/0.1517, allocations: 490.9 kB / 0.6525 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.1519, allocations: 79.55 kB / 0.6526 GB, free: 9.977 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001094/0.153, allocations: 1.131 MB / 0.6537 GB, free: 8.844 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.1531, allocations: 7.984 kB / 0.6537 GB, free: 8.836 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006017/0.1537, allocations: 0.5615 MB / 0.6543 GB, free: 8.273 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.1548, allocations: 1.034 MB / 0.6553 GB, free: 7.238 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.1549, allocations: 64 kB / 0.6554 GB, free: 7.176 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.1552, allocations: 139.9 kB / 0.6555 GB, free: 7.039 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.002993/0.1582, allocations: 2.497 MB / 0.6579 GB, free: 4.535 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.001486/0.1597, allocations: 1.431 MB / 0.6593 GB, free: 3.09 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.003127/0.1628, allocations: 3.201 MB / 0.6625 GB, free: 15.86 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1629, allocations: 0 / 0.6625 GB, free: 15.86 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1629, allocations: 0 / 0.6625 GB, free: 15.86 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.181e-05/0.1629, allocations: 0 / 0.6625 GB, free: 15.86 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.006821/0.1698, allocations: 5.392 MB / 0.6677 GB, free: 10.38 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.1698, allocations: 8.031 kB / 0.6677 GB, free: 10.37 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007561/0.1706, allocations: 0.5829 MB / 0.6683 GB, free: 9.781 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01133/0.1819, allocations: 6.631 MB / 0.6748 GB, free: 3.078 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.182, allocations: 384 / 0.6748 GB, free: 3.078 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.532e-05/0.1821, allocations: 16.38 kB / 0.6748 GB, free: 3.062 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004363/0.1825, allocations: 241.8 kB / 0.675 GB, free: 2.82 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.1825, allocations: 3.938 kB / 0.675 GB, free: 2.816 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.696e-05/0.1826, allocations: 20 kB / 0.675 GB, free: 2.797 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1826, allocations: 0 / 0.675 GB, free: 2.797 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.1828, allocations: 128 kB / 0.6752 GB, free: 2.672 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/0.1854, allocations: 1.858 MB / 0.677 GB, free: 0.7656 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.1857, allocations: 106.5 kB / 0.6771 GB, free: 0.6523 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.1858, allocations: 92.89 kB / 0.6772 GB, free: 0.5586 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.1858, allocations: 0 / 0.6772 GB, free: 0.5586 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003337/0.1862, allocations: 260.8 kB / 0.6774 GB, free: 292 kB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/0.1862, allocations: 0 / 0.6774 GB, free: 292 kB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.001805/0.188, allocations: 1.202 MB / 0.6786 GB, free: 15.07 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.877e-05/0.1881, allocations: 85.11 kB / 0.6787 GB, free: 14.96 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007575/0.1957, allocations: 6.275 MB / 0.6848 GB, free: 8.734 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 9.305e-05/0.1958, allocations: 41.7 kB / 0.6848 GB, free: 8.688 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002444/0.1982, allocations: 2.516 MB / 0.6873 GB, free: 6.168 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.1984, allocations: 35.89 kB / 0.6873 GB, free: 6.133 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.1986, allocations: 129.7 kB / 0.6875 GB, free: 6 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1987, allocations: 306 kB / 0.6877 GB, free: 5.695 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.1989, allocations: 83.98 kB / 0.6878 GB, free: 5.613 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.199, allocations: 80 kB / 0.6879 GB, free: 5.535 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000344/0.1994, allocations: 236.2 kB / 0.6881 GB, free: 5.289 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1994, allocations: 0 / 0.6881 GB, free: 5.289 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001503/0.2009, allocations: 1.12 MB / 0.6892 GB, free: 4.152 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 5.456e-05/0.201, allocations: 40.83 kB / 0.6893 GB, free: 4.109 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.201, allocations: 240 / 0.6893 GB, free: 4.109 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.201, allocations: 0 / 0.6893 GB, free: 4.109 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.569e-05/0.2011, allocations: 4 kB / 0.6893 GB, free: 4.105 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.2011, allocations: 3.984 kB / 0.6893 GB, free: 4.102 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/0.2015, allocations: 31.86 kB / 0.6893 GB, free: 4.07 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002093/0.2017, allocations: 224 kB / 0.6895 GB, free: 3.852 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.001725/0.2034, allocations: 1.339 MB / 0.6908 GB, free: 2.496 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005552/0.204, allocations: 0.6053 MB / 0.6914 GB, free: 1.887 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007136/0.2047, allocations: 0.6441 MB / 0.692 GB, free: 1.238 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.2047, allocations: 0 / 0.692 GB, free: 1.238 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2047, allocations: 0 / 0.692 GB, free: 1.238 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2047, allocations: 4 kB / 0.692 GB, free: 1.234 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.2068, allocations: 2.022 MB / 0.694 GB, free: 15.16 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2068, allocations: 0 / 0.694 GB, free: 15.16 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.892e-05/0.2069, allocations: 7.938 kB / 0.694 GB, free: 15.16 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2069, allocations: 4 kB / 0.694 GB, free: 15.15 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.744e-05/0.2069, allocations: 51.98 kB / 0.6941 GB, free: 15.1 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.2069, allocations: 0 / 0.6941 GB, free: 15.1 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.207, allocations: 0 / 0.6941 GB, free: 15.1 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.2083, allocations: 1.203 MB / 0.6953 GB, free: 13.87 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007385/0.2091, allocations: 0.5986 MB / 0.6958 GB, free: 13.25 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002216/0.2093, allocations: 16 kB / 0.6959 GB, free: 13.23 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003107/0.2096, allocations: 24 kB / 0.6959 GB, free: 13.21 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.2097, allocations: 4 kB / 0.6959 GB, free: 13.21 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002016/0.2099, allocations: 228 kB / 0.6961 GB, free: 12.98 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.006167/0.216, allocations: 4.324 MB / 0.7003 GB, free: 8.699 MB / 0.5452 GB Notification: Performance of sort global known variables: time 7.51e-07/0.2161, allocations: 0 / 0.7003 GB, free: 8.699 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.001256/0.2174, allocations: 187.9 kB / 0.7005 GB, free: 8.516 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.0003224/0.2177, allocations: 135.7 kB / 0.7006 GB, free: 8.375 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0007614/0.2185, allocations: 279.4 kB / 0.7009 GB, free: 8.09 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2185, allocations: 4 kB / 0.7009 GB, free: 8.086 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0003903/0.2189, allocations: 191.3 kB / 0.7011 GB, free: 7.887 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/0.221, allocations: 451.3 kB / 0.7015 GB, free: 7.445 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01782/0.2389, allocations: 8.53 MB / 0.7098 GB, free: 14.88 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004412/0.2433, allocations: 2.728 MB / 0.7125 GB, free: 12.12 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.003971/0.2473, allocations: 1.145 MB / 0.7136 GB, free: 10.97 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005005/0.2478, allocations: 259.4 kB / 0.7139 GB, free: 10.72 MB / 0.5608 GB Notification: Performance of SimCode: time 1.343e-06/0.2479, allocations: 0 / 0.7139 GB, free: 10.72 MB / 0.5608 GB Notification: Performance of Templates: time 0.06569/0.3136, allocations: 20.7 MB / 0.7341 GB, free: 5.91 MB / 0.5764 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