Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 107.9 kB / 20.43 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002028/0.002028, allocations: 214.7 kB / 23.73 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.9818/0.9818, allocations: 120.6 MB / 434.5 MB, free: 0.6484 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 71.91 kB / 0.6072 GB, free: 10.28 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1584, allocations: 85.86 MB / 0.691 GB, free: 4.219 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002869/0.1613, allocations: 1.417 MB / 0.6924 GB, free: 2.797 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.1624, allocations: 0.5415 MB / 0.6929 GB, free: 2.25 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/0.1625, allocations: 0 / 0.6929 GB, free: 2.25 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.1626, allocations: 19.91 kB / 0.6929 GB, free: 2.23 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.163, allocations: 71.78 kB / 0.693 GB, free: 2.16 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.1633, allocations: 75.8 kB / 0.6931 GB, free: 2.086 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.1634, allocations: 99.72 kB / 0.6932 GB, free: 1.988 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.606e-05/0.1635, allocations: 0 / 0.6932 GB, free: 1.988 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.1637, allocations: 55.84 kB / 0.6932 GB, free: 1.934 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.1638, allocations: 43.89 kB / 0.6933 GB, free: 1.891 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.1638, allocations: 4 kB / 0.6933 GB, free: 1.887 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.164, allocations: 75.91 kB / 0.6933 GB, free: 1.812 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.1641, allocations: 71.75 kB / 0.6934 GB, free: 1.742 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 6.498e-05/0.1642, allocations: 31.73 kB / 0.6934 GB, free: 1.711 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.1644, allocations: 155.2 kB / 0.6936 GB, free: 1.559 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1644, allocations: 4 kB / 0.6936 GB, free: 1.555 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1644, allocations: 0 / 0.6936 GB, free: 1.555 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.1644, allocations: 0 / 0.6936 GB, free: 1.555 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.0005823/0.165, allocations: 406.9 kB / 0.694 GB, free: 1.121 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1651, allocations: 12.03 kB / 0.694 GB, free: 1.109 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.574e-05/0.1651, allocations: 24.8 kB / 0.694 GB, free: 1.086 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004976/0.1656, allocations: 249.5 kB / 0.6943 GB, free: 0.8125 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1656, allocations: 384 / 0.6943 GB, free: 0.8125 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.1656, allocations: 4.375 kB / 0.6943 GB, free: 0.8086 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.1658, allocations: 95.61 kB / 0.6943 GB, free: 0.7031 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1658, allocations: 0 / 0.6943 GB, free: 0.7031 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1658, allocations: 0 / 0.6943 GB, free: 0.7031 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1658, allocations: 0 / 0.6943 GB, free: 0.7031 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.312e-05/0.1659, allocations: 53.69 kB / 0.6944 GB, free: 0.6445 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.1661, allocations: 149.2 kB / 0.6945 GB, free: 480 kB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 9.711e-05/0.1662, allocations: 64.27 kB / 0.6946 GB, free: 400 kB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.832e-05/0.1663, allocations: 54.56 kB / 0.6947 GB, free: 336 kB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.1663, allocations: 0 / 0.6947 GB, free: 336 kB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.1665, allocations: 138.8 kB / 0.6948 GB, free: 172 kB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.1665, allocations: 0 / 0.6948 GB, free: 172 kB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0003894/0.1669, allocations: 234.6 kB / 0.695 GB, free: 15.91 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.1669, allocations: 77.11 kB / 0.6951 GB, free: 15.82 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.1671, allocations: 229.5 kB / 0.6953 GB, free: 15.59 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.1672, allocations: 29.7 kB / 0.6953 GB, free: 15.55 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/0.1672, allocations: 116.1 kB / 0.6954 GB, free: 15.44 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.1673, allocations: 31.92 kB / 0.6955 GB, free: 15.41 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-05/0.1673, allocations: 25.72 kB / 0.6955 GB, free: 15.38 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1675, allocations: 334.8 kB / 0.6958 GB, free: 15.04 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.244e-05/0.1676, allocations: 49.64 kB / 0.6959 GB, free: 14.98 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.996e-05/0.1676, allocations: 53.69 kB / 0.6959 GB, free: 14.93 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.1677, allocations: 104.2 kB / 0.696 GB, free: 14.81 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1677, allocations: 0 / 0.696 GB, free: 14.81 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002389/0.168, allocations: 193 kB / 0.6962 GB, free: 14.6 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/0.168, allocations: 37.64 kB / 0.6962 GB, free: 14.56 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.168, allocations: 0 / 0.6962 GB, free: 14.56 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.168, allocations: 4.141 kB / 0.6962 GB, free: 14.55 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.16e-05/0.1681, allocations: 12 kB / 0.6962 GB, free: 14.54 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1681, allocations: 0 / 0.6962 GB, free: 14.54 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.464e-05/0.1682, allocations: 7.938 kB / 0.6963 GB, free: 14.54 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.1682, allocations: 11.98 kB / 0.6963 GB, free: 14.52 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.0001522/0.1683, allocations: 167.5 kB / 0.6964 GB, free: 14.34 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.1684, allocations: 23.84 kB / 0.6965 GB, free: 14.32 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.496e-05/0.1684, allocations: 21.39 kB / 0.6965 GB, free: 14.3 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1684, allocations: 0 / 0.6965 GB, free: 14.3 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1684, allocations: 3.938 kB / 0.6965 GB, free: 14.29 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.1684, allocations: 0 / 0.6965 GB, free: 14.29 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.1686, allocations: 157.3 kB / 0.6966 GB, free: 14.11 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.1686, allocations: 4 kB / 0.6966 GB, free: 14.11 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.032e-05/0.1686, allocations: 0 / 0.6966 GB, free: 14.11 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1686, allocations: 0 / 0.6966 GB, free: 14.11 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.1686, allocations: 11.94 kB / 0.6966 GB, free: 14.09 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1686, allocations: 3.938 kB / 0.6966 GB, free: 14.09 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1686, allocations: 3.984 kB / 0.6966 GB, free: 14.09 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.1689, allocations: 232.4 kB / 0.6969 GB, free: 13.83 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 5.733e-05/0.169, allocations: 23.89 kB / 0.6969 GB, free: 13.8 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.169, allocations: 7.938 kB / 0.6969 GB, free: 13.8 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.23e-05/0.169, allocations: 4 kB / 0.6969 GB, free: 13.79 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.1691, allocations: 11.98 kB / 0.6969 GB, free: 13.78 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.1691, allocations: 8 kB / 0.6969 GB, free: 13.77 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001563/0.1692, allocations: 172.5 kB / 0.6971 GB, free: 13.61 MB / 0.5295 GB Notification: Performance of sort global known variables: time 8e-08/0.1692, allocations: 0 / 0.6971 GB, free: 13.61 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002359/0.1695, allocations: 35.94 kB / 0.6971 GB, free: 13.57 MB / 0.5295 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.0001756/0.1697, allocations: 125.5 kB / 0.6972 GB, free: 13.44 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0002515/0.1699, allocations: 178.7 kB / 0.6974 GB, free: 13.24 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1699, allocations: 0 / 0.6974 GB, free: 13.24 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.17, allocations: 113.1 kB / 0.6975 GB, free: 13.11 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.1702, allocations: 24.66 kB / 0.6975 GB, free: 13.09 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005767/0.1708, allocations: 325 kB / 0.6979 GB, free: 12.73 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.1709, allocations: 110.6 kB / 0.698 GB, free: 12.6 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 7.252e-05/0.171, allocations: 29.62 kB / 0.698 GB, free: 12.57 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.155e-05/0.171, allocations: 15.44 kB / 0.698 GB, free: 12.56 MB / 0.5295 GB Notification: Performance of SimCode: time 4.91e-07/0.171, allocations: 0 / 0.698 GB, free: 12.56 MB / 0.5295 GB Notification: Performance of Templates: time 0.00499/0.176, allocations: 1.552 MB / 0.6995 GB, free: 11.01 MB / 0.5295 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.652824716642499]