Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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.001666/0.001666, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001452/0.001452, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 8.035 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 1.103/1.103, allocations: 120.6 MB / 434.5 MB, free: 0.875 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: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",fmuType="me",version="2.0",platforms={"static"}) [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.00198/0.00198, allocations: 70.41 kB / 0.6067 GB, free: 10.98 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1672, allocations: 85.86 MB / 0.6906 GB, free: 4.91 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002686/0.1699, allocations: 1.423 MB / 0.692 GB, free: 3.48 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.171, allocations: 0.6038 MB / 0.6926 GB, free: 2.871 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.347e-05/0.1711, allocations: 0 / 0.6926 GB, free: 2.871 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001777/0.1712, allocations: 19.92 kB / 0.6926 GB, free: 2.852 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.1715, allocations: 75.77 kB / 0.6927 GB, free: 2.777 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.1718, allocations: 79.78 kB / 0.6927 GB, free: 2.699 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.172, allocations: 87.81 kB / 0.6928 GB, free: 2.613 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.807e-05/0.172, allocations: 8.219 kB / 0.6928 GB, free: 2.605 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.1722, allocations: 55.83 kB / 0.6929 GB, free: 2.551 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.1723, allocations: 51.88 kB / 0.6929 GB, free: 2.5 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.1723, allocations: 4 kB / 0.6929 GB, free: 2.496 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.1725, allocations: 75.92 kB / 0.693 GB, free: 2.422 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.1726, allocations: 71.75 kB / 0.6931 GB, free: 2.352 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 6.591e-05/0.1727, allocations: 39.67 kB / 0.6931 GB, free: 2.312 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.1729, allocations: 159.2 kB / 0.6933 GB, free: 2.156 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1729, allocations: 0 / 0.6933 GB, free: 2.156 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.532e-06/0.1729, allocations: 4 kB / 0.6933 GB, free: 2.152 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.1729, allocations: 0 / 0.6933 GB, free: 2.152 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.000554/0.1735, allocations: 399 kB / 0.6936 GB, free: 1.727 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1735, allocations: 12.03 kB / 0.6937 GB, free: 1.715 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.1736, allocations: 34.75 kB / 0.6937 GB, free: 1.672 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.1736, allocations: 24.8 kB / 0.6937 GB, free: 1.648 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004586/0.1741, allocations: 253.5 kB / 0.694 GB, free: 1.371 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.1741, allocations: 384 / 0.694 GB, free: 1.371 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.1741, allocations: 8.312 kB / 0.694 GB, free: 1.363 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.1742, allocations: 57.8 kB / 0.694 GB, free: 1.301 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1742, allocations: 0 / 0.694 GB, free: 1.301 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1742, allocations: 4 kB / 0.694 GB, free: 1.297 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1742, allocations: 4 kB / 0.694 GB, free: 1.293 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.477e-05/0.1743, allocations: 19.98 kB / 0.694 GB, free: 1.273 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/0.1745, allocations: 176.7 kB / 0.6942 GB, free: 1.059 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 6.416e-05/0.1746, allocations: 26.58 kB / 0.6942 GB, free: 1.023 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.877e-05/0.1746, allocations: 28.83 kB / 0.6943 GB, free: 0.9922 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.1746, allocations: 3.938 kB / 0.6943 GB, free: 0.9883 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.1748, allocations: 101 kB / 0.6944 GB, free: 0.8711 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.1748, allocations: 0 / 0.6944 GB, free: 0.8711 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.000318/0.1751, allocations: 163.4 kB / 0.6945 GB, free: 0.6992 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/0.1752, allocations: 89.05 kB / 0.6946 GB, free: 0.5938 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.1754, allocations: 225.5 kB / 0.6948 GB, free: 376 kB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.1754, allocations: 25.7 kB / 0.6949 GB, free: 344 kB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 7.962e-05/0.1755, allocations: 128.1 kB / 0.695 GB, free: 212 kB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.1755, allocations: 19.8 kB / 0.695 GB, free: 192 kB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.1756, allocations: 25.72 kB / 0.695 GB, free: 160 kB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1757, allocations: 334.8 kB / 0.6953 GB, free: 15.82 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.063e-05/0.1758, allocations: 16 kB / 0.6954 GB, free: 15.8 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.339e-05/0.1758, allocations: 19.98 kB / 0.6954 GB, free: 15.79 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.1759, allocations: 104.2 kB / 0.6955 GB, free: 15.67 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.1759, allocations: 4 kB / 0.6955 GB, free: 15.66 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001946/0.1761, allocations: 155.1 kB / 0.6956 GB, free: 15.5 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.1762, allocations: 29.7 kB / 0.6956 GB, free: 15.46 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.1762, allocations: 7.984 kB / 0.6957 GB, free: 15.46 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1762, allocations: 4 kB / 0.6957 GB, free: 15.45 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.888e-05/0.1762, allocations: 7.938 kB / 0.6957 GB, free: 15.45 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1762, allocations: 0 / 0.6957 GB, free: 15.45 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.223e-05/0.1763, allocations: 11.95 kB / 0.6957 GB, free: 15.43 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.1763, allocations: 8 kB / 0.6957 GB, free: 15.43 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.0001483/0.1765, allocations: 174.5 kB / 0.6959 GB, free: 15.24 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.1765, allocations: 19.94 kB / 0.6959 GB, free: 15.22 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/0.1765, allocations: 25.33 kB / 0.6959 GB, free: 15.2 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1765, allocations: 144 / 0.6959 GB, free: 15.2 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1765, allocations: 4 kB / 0.6959 GB, free: 15.19 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1765, allocations: 3.984 kB / 0.6959 GB, free: 15.19 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.1767, allocations: 188.6 kB / 0.6961 GB, free: 14.96 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1767, allocations: 3.938 kB / 0.6961 GB, free: 14.96 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.101e-05/0.1767, allocations: 4 kB / 0.6961 GB, free: 14.95 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.1767, allocations: 0 / 0.6961 GB, free: 14.95 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1767, allocations: 4 kB / 0.6961 GB, free: 14.95 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1768, allocations: 3.984 kB / 0.6961 GB, free: 14.95 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1768, allocations: 0 / 0.6961 GB, free: 14.95 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.177, allocations: 206.7 kB / 0.6963 GB, free: 14.72 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.1771, allocations: 23.83 kB / 0.6963 GB, free: 14.7 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.1771, allocations: 8 kB / 0.6963 GB, free: 14.69 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.164e-05/0.1771, allocations: 4 kB / 0.6963 GB, free: 14.68 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.563e-05/0.1772, allocations: 0 / 0.6963 GB, free: 14.68 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.1772, allocations: 11.98 kB / 0.6963 GB, free: 14.67 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001535/0.1773, allocations: 168.5 kB / 0.6965 GB, free: 14.51 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1e-07/0.1773, allocations: 0 / 0.6965 GB, free: 14.51 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002306/0.1776, allocations: 39.94 kB / 0.6965 GB, free: 14.47 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.0006127/0.1782, allocations: 0.7584 MB / 0.6973 GB, free: 13.68 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0001922/0.1784, allocations: 115.3 kB / 0.6974 GB, free: 13.55 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1784, allocations: 0 / 0.6974 GB, free: 13.55 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 8.563e-05/0.1785, allocations: 83.33 kB / 0.6975 GB, free: 13.46 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.1787, allocations: 20.66 kB / 0.6975 GB, free: 13.43 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.1808, allocations: 1.936 MB / 0.6994 GB, free: 11.4 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.1811, allocations: 0.7278 MB / 0.7001 GB, free: 10.65 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 6.878e-05/0.1812, allocations: 29.67 kB / 0.7001 GB, free: 10.62 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.074e-05/0.1812, allocations: 43.42 kB / 0.7002 GB, free: 10.58 MB / 0.5295 GB Notification: Performance of SimCode: time 8.31e-07/0.1812, allocations: 0 / 0.7002 GB, free: 10.58 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.2119, allocations: 3.643 MB / 0.7037 GB, free: 7.07 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.15, allocations: 2.906 kB / 0.7037 GB, free: 7.07 MB / 0.5295 GB " [Timeout remaining time 289] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_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: 15.461649244]