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.001134/0.001134, allocations: 114.9 kB / 17.75 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.001062/0.001062, allocations: 188.4 kB / 18.67 MB, free: 4.395 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.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.862/0.862, allocations: 119.3 MB / 411.8 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 66.05 kB / 0.5716 GB, free: 39.79 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1366, allocations: 80.69 MB / 0.6504 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002421/0.1391, allocations: 1.406 MB / 0.6517 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009364/0.14, allocations: 0.5729 MB / 0.6523 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.43e-05/0.1401, allocations: 4 kB / 0.6523 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0003876/0.1405, allocations: 451.1 kB / 0.6527 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0004658/0.141, allocations: 487 kB / 0.6532 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.1412, allocations: 87.72 kB / 0.6533 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0007776/0.142, allocations: 1.131 MB / 0.6544 GB, free: 8.922 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.1421, allocations: 4 kB / 0.6544 GB, free: 8.918 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000423/0.1425, allocations: 0.5576 MB / 0.6549 GB, free: 8.359 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007749/0.1433, allocations: 1.041 MB / 0.656 GB, free: 7.316 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.1434, allocations: 64 kB / 0.656 GB, free: 7.254 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002415/0.1437, allocations: 139.9 kB / 0.6562 GB, free: 7.117 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.00224/0.1459, allocations: 2.497 MB / 0.6586 GB, free: 4.613 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0008195/0.1468, allocations: 1.42 MB / 0.66 GB, free: 3.18 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.00196/0.1487, allocations: 3.178 MB / 0.6631 GB, free: 15.98 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1487, allocations: 0 / 0.6631 GB, free: 15.98 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1488, allocations: 4 kB / 0.6631 GB, free: 15.98 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 2.312e-05/0.1488, allocations: 0 / 0.6631 GB, free: 15.98 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.004395/0.1532, allocations: 5.157 MB / 0.6681 GB, free: 10.73 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1532, allocations: 12.03 kB / 0.6681 GB, free: 10.71 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004752/0.1537, allocations: 0.556 MB / 0.6687 GB, free: 10.15 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007879/0.1616, allocations: 6.527 MB / 0.675 GB, free: 3.543 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1616, allocations: 8.375 kB / 0.6751 GB, free: 3.535 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.686e-05/0.1617, allocations: 16.38 kB / 0.6751 GB, free: 3.52 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.162, allocations: 241.8 kB / 0.6753 GB, free: 3.277 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.162, allocations: 3.938 kB / 0.6753 GB, free: 3.273 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/0.1621, allocations: 16 kB / 0.6753 GB, free: 3.258 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1621, allocations: 0 / 0.6753 GB, free: 3.258 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.1623, allocations: 132 kB / 0.6754 GB, free: 3.129 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.1639, allocations: 1.862 MB / 0.6773 GB, free: 1.219 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.164, allocations: 98.58 kB / 0.6774 GB, free: 1.113 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.1642, allocations: 100.9 kB / 0.6775 GB, free: 1.012 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.1642, allocations: 0 / 0.6775 GB, free: 1.012 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002795/0.1645, allocations: 256.8 kB / 0.6777 GB, free: 0.7422 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.1645, allocations: 0 / 0.6777 GB, free: 0.7422 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.001246/0.1658, allocations: 1.164 MB / 0.6788 GB, free: 15.56 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.1658, allocations: 77.11 kB / 0.6789 GB, free: 15.46 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006043/0.1719, allocations: 6.283 MB / 0.685 GB, free: 9.227 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 7.448e-05/0.172, allocations: 41.7 kB / 0.6851 GB, free: 9.18 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001888/0.1739, allocations: 2.52 MB / 0.6875 GB, free: 6.656 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 8.463e-05/0.1739, allocations: 39.7 kB / 0.6876 GB, free: 6.617 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.1741, allocations: 129.7 kB / 0.6877 GB, free: 6.484 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 9.024e-05/0.1742, allocations: 309.9 kB / 0.688 GB, free: 6.176 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.1743, allocations: 83.92 kB / 0.6881 GB, free: 6.094 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.1745, allocations: 76 kB / 0.6882 GB, free: 6.02 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.1747, allocations: 232.2 kB / 0.6884 GB, free: 5.777 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1748, allocations: 4 kB / 0.6884 GB, free: 5.773 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001252/0.176, allocations: 1.093 MB / 0.6895 GB, free: 4.66 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.1761, allocations: 29.7 kB / 0.6895 GB, free: 4.625 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1761, allocations: 4 kB / 0.6895 GB, free: 4.621 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.1761, allocations: 0 / 0.6895 GB, free: 4.621 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.941e-05/0.1762, allocations: 4 kB / 0.6895 GB, free: 4.617 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1762, allocations: 240 / 0.6895 GB, free: 4.617 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003961/0.1766, allocations: 23.92 kB / 0.6895 GB, free: 4.594 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001772/0.1768, allocations: 224 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.001516/0.1783, allocations: 1.342 MB / 0.691 GB, free: 3.02 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004609/0.1788, allocations: 0.5785 MB / 0.6916 GB, free: 2.434 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006368/0.1794, allocations: 0.6481 MB / 0.6922 GB, free: 1.781 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1794, allocations: 3.984 kB / 0.6922 GB, free: 1.777 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1795, allocations: 0 / 0.6922 GB, free: 1.777 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1795, allocations: 0 / 0.6922 GB, free: 1.777 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.1812, allocations: 2.022 MB / 0.6942 GB, free: 15.71 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1812, allocations: 0 / 0.6942 GB, free: 15.71 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.759e-05/0.1812, allocations: 7.938 kB / 0.6942 GB, free: 15.7 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.1812, allocations: 0 / 0.6942 GB, free: 15.7 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.766e-05/0.1813, allocations: 59.98 kB / 0.6943 GB, free: 15.64 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1813, allocations: 4.078 kB / 0.6943 GB, free: 15.64 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.1813, allocations: 7.875 kB / 0.6943 GB, free: 15.63 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.1824, allocations: 1.168 MB / 0.6954 GB, free: 14.43 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006429/0.1831, allocations: 0.564 MB / 0.696 GB, free: 13.84 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/0.1833, allocations: 20 kB / 0.696 GB, free: 13.82 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003096/0.1836, allocations: 20 kB / 0.696 GB, free: 13.8 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.1837, allocations: 4 kB / 0.696 GB, free: 13.8 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/0.1839, allocations: 228 kB / 0.6962 GB, free: 13.57 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.004999/0.1889, allocations: 4.324 MB / 0.7005 GB, free: 9.289 MB / 0.5452 GB Notification: Performance of sort global known variables: time 3.5e-07/0.1889, allocations: 0 / 0.7005 GB, free: 9.289 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0005786/0.1895, allocations: 188 kB / 0.7006 GB, free: 9.105 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.000259/0.1897, allocations: 143.6 kB / 0.7008 GB, free: 8.961 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0004611/0.1902, allocations: 283.3 kB / 0.701 GB, free: 8.672 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.1902, allocations: 4 kB / 0.7011 GB, free: 8.668 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.1905, allocations: 191.4 kB / 0.7012 GB, free: 8.469 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.1916, allocations: 433.2 kB / 0.7016 GB, free: 8.043 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009312/0.2009, allocations: 8.616 MB / 0.7101 GB, free: 15.39 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002029/0.203, allocations: 2.732 MB / 0.7127 GB, free: 12.63 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.2033, allocations: 263.4 kB / 0.713 GB, free: 12.38 MB / 0.5608 GB Notification: Performance of SimCode: time 6.11e-07/0.2033, allocations: 0 / 0.713 GB, free: 12.38 MB / 0.5608 GB Notification: Performance of Templates: time 0.7602/0.9635, allocations: 140.6 MB / 0.8503 GB, free: 48.82 MB / 0.6079 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","/var/lib/jenkins1/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