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.001583/0.001583, allocations: 111.3 kB / 17.11 MB, free: 5.887 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.001678/0.001678, allocations: 193.3 kB / 18.05 MB, free: 4.965 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.307/1.307, allocations: 225.6 MB / 244.4 MB, free: 14.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8817/0.8817, allocations: 120.6 MB / 417.9 MB, free: 6.379 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 70.25 kB / 0.5852 GB, free: 34.09 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1262, allocations: 84.64 MB / 0.6679 GB, free: 15.92 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002567/0.1287, allocations: 1.413 MB / 0.6692 GB, free: 14.5 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0009348/0.1297, allocations: 0.5807 MB / 0.6698 GB, free: 13.91 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.397e-05/0.1297, allocations: 0 / 0.6698 GB, free: 13.91 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0004051/0.1301, allocations: 447.1 kB / 0.6702 GB, free: 13.48 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.000501/0.1306, allocations: 491 kB / 0.6707 GB, free: 13 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.1309, allocations: 87.78 kB / 0.6708 GB, free: 12.91 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0009334/0.1318, allocations: 1.123 MB / 0.6719 GB, free: 11.79 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.1318, allocations: 4 kB / 0.6719 GB, free: 11.78 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005179/0.1324, allocations: 0.5654 MB / 0.6724 GB, free: 11.21 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009974/0.1334, allocations: 1.158 MB / 0.6736 GB, free: 10.05 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.1335, allocations: 64 kB / 0.6736 GB, free: 9.992 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.1337, allocations: 143.9 kB / 0.6738 GB, free: 9.852 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.002634/0.1363, allocations: 2.564 MB / 0.6763 GB, free: 7.281 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.1374, allocations: 1.423 MB / 0.6777 GB, free: 5.844 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.002622/0.14, allocations: 3.201 MB / 0.6808 GB, free: 2.621 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.14, allocations: 0 / 0.6808 GB, free: 2.621 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.222e-06/0.14, allocations: 0 / 0.6808 GB, free: 2.621 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 2.063e-05/0.1401, allocations: 0 / 0.6808 GB, free: 2.621 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.005302/0.1454, allocations: 5.384 MB / 0.686 GB, free: 13.14 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.1454, allocations: 8.031 kB / 0.6861 GB, free: 13.13 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005683/0.146, allocations: 0.5907 MB / 0.6866 GB, free: 12.54 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008839/0.1548, allocations: 6.627 MB / 0.6931 GB, free: 5.84 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1548, allocations: 4.375 kB / 0.6931 GB, free: 5.836 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.894e-05/0.1549, allocations: 20.38 kB / 0.6931 GB, free: 5.816 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.1552, allocations: 241.8 kB / 0.6934 GB, free: 5.574 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1552, allocations: 0 / 0.6934 GB, free: 5.574 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.788e-05/0.1552, allocations: 16 kB / 0.6934 GB, free: 5.559 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1553, allocations: 3.938 kB / 0.6934 GB, free: 5.555 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.1554, allocations: 132 kB / 0.6935 GB, free: 5.426 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.1572, allocations: 1.858 MB / 0.6953 GB, free: 3.52 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.1573, allocations: 98.56 kB / 0.6954 GB, free: 3.414 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.1575, allocations: 80.86 kB / 0.6955 GB, free: 3.332 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.1575, allocations: 0 / 0.6955 GB, free: 3.332 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002994/0.1578, allocations: 256.8 kB / 0.6957 GB, free: 3.062 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.1578, allocations: 4 kB / 0.6957 GB, free: 3.059 MB / 0.5295 GB Notification: Performance of matching and sorting (n=8): time 0.001377/0.1592, allocations: 1.195 MB / 0.6969 GB, free: 1.848 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.1592, allocations: 81.11 kB / 0.697 GB, free: 1.75 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006723/0.166, allocations: 6.275 MB / 0.7031 GB, free: 11.52 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 4.791e-05/0.166, allocations: 41.7 kB / 0.7031 GB, free: 11.47 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.002319/0.1683, allocations: 2.52 MB / 0.7056 GB, free: 8.949 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-05/0.1684, allocations: 40.03 kB / 0.7056 GB, free: 8.91 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.1686, allocations: 133.7 kB / 0.7058 GB, free: 8.773 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1687, allocations: 318 kB / 0.7061 GB, free: 8.457 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.1689, allocations: 72 kB / 0.7061 GB, free: 8.387 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.169, allocations: 87.92 kB / 0.7062 GB, free: 8.301 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.1693, allocations: 224.3 kB / 0.7064 GB, free: 8.066 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1693, allocations: 0 / 0.7064 GB, free: 8.066 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001244/0.1706, allocations: 1.124 MB / 0.7075 GB, free: 6.926 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/0.1706, allocations: 33.7 kB / 0.7076 GB, free: 6.887 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1706, allocations: 0 / 0.7076 GB, free: 6.887 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1706, allocations: 0 / 0.7076 GB, free: 6.887 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.523e-05/0.1707, allocations: 7.984 kB / 0.7076 GB, free: 6.879 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.1707, allocations: 7.938 kB / 0.7076 GB, free: 6.871 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003318/0.171, allocations: 23.94 kB / 0.7076 GB, free: 6.848 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002085/0.1712, allocations: 224 kB / 0.7078 GB, free: 6.629 MB / 0.5452 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.00153/0.1728, allocations: 1.335 MB / 0.7091 GB, free: 5.277 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005348/0.1733, allocations: 0.6053 MB / 0.7097 GB, free: 4.668 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006611/0.174, allocations: 0.648 MB / 0.7103 GB, free: 4.016 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.174, allocations: 4 kB / 0.7104 GB, free: 4.012 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.174, allocations: 0 / 0.7104 GB, free: 4.012 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.174, allocations: 0 / 0.7104 GB, free: 4.012 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.1758, allocations: 2.022 MB / 0.7123 GB, free: 1.941 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.1758, allocations: 4 kB / 0.7123 GB, free: 1.938 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.688e-05/0.1759, allocations: 11.92 kB / 0.7123 GB, free: 1.926 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1759, allocations: 0 / 0.7123 GB, free: 1.926 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.813e-05/0.1759, allocations: 48.09 kB / 0.7124 GB, free: 1.879 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1759, allocations: 3.938 kB / 0.7124 GB, free: 1.875 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1759, allocations: 0 / 0.7124 GB, free: 1.875 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.1772, allocations: 1.203 MB / 0.7136 GB, free: 0.6445 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006576/0.1778, allocations: 0.5988 MB / 0.7142 GB, free: 24 kB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002169/0.1781, allocations: 20 kB / 0.7142 GB, free: 4 kB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/0.1784, allocations: 16.05 kB / 0.7142 GB, free: 15.98 MB / 0.5608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.1784, allocations: 11.92 kB / 0.7142 GB, free: 15.98 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001919/0.1786, allocations: 220 kB / 0.7144 GB, free: 15.76 MB / 0.5608 GB Notification: Performance of sorting global known variables: time 0.005036/0.1837, allocations: 4.328 MB / 0.7186 GB, free: 11.47 MB / 0.5608 GB Notification: Performance of sort global known variables: time 7e-08/0.1837, allocations: 0 / 0.7186 GB, free: 11.47 MB / 0.5608 GB Notification: Performance of remove unused functions: time 0.0004983/0.1841, allocations: 187.9 kB / 0.7188 GB, free: 11.29 MB / 0.5608 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.0002005/0.1844, allocations: 147.3 kB / 0.719 GB, free: 11.14 MB / 0.5608 GB Notification: Performance of simCode: created initialization part: time 0.0004406/0.1848, allocations: 255.3 kB / 0.7192 GB, free: 10.88 MB / 0.5608 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1848, allocations: 0 / 0.7192 GB, free: 10.88 MB / 0.5608 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.185, allocations: 159.4 kB / 0.7193 GB, free: 10.71 MB / 0.5608 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.1861, allocations: 441.1 kB / 0.7198 GB, free: 10.28 MB / 0.5608 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009699/0.1958, allocations: 8.53 MB / 0.7281 GB, free: 1.707 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002515/0.1983, allocations: 2.732 MB / 0.7308 GB, free: 14.95 MB / 0.5764 GB Notification: Performance of simCode: alias equations: time 0.002163/0.2004, allocations: 1.137 MB / 0.7319 GB, free: 13.8 MB / 0.5764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/0.2007, allocations: 259.4 kB / 0.7321 GB, free: 13.55 MB / 0.5764 GB Notification: Performance of SimCode: time 1.062e-06/0.2007, allocations: 0 / 0.7321 GB, free: 13.55 MB / 0.5764 GB Notification: Performance of Templates: time 0.04685/0.2476, allocations: 20.95 MB / 0.7526 GB, free: 8.488 MB / 0.592 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