Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.001618/0.001618, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001907/0.001907, allocations: 208.4 kB / 23.73 MB, free: 4.387 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.023/1.023, allocations: 120.6 MB / 434.5 MB, free: 0.5977 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.CombiTimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable",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.002033/0.002033, allocations: 77.59 kB / 0.6067 GB, free: 10.75 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1704, allocations: 85.86 MB / 0.6905 GB, free: 4.68 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.003187/0.1736, allocations: 1.571 MB / 0.692 GB, free: 3.098 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.00185/0.1754, allocations: 0.9861 MB / 0.693 GB, free: 2.105 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.534e-05/0.1755, allocations: 0 / 0.693 GB, free: 2.105 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.1759, allocations: 63.67 kB / 0.6931 GB, free: 2.043 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0005059/0.1764, allocations: 155.5 kB / 0.6932 GB, free: 1.891 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.1765, allocations: 71.73 kB / 0.6933 GB, free: 1.82 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.1768, allocations: 135.6 kB / 0.6934 GB, free: 1.688 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.751e-05/0.1768, allocations: 7.984 kB / 0.6934 GB, free: 1.68 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.177, allocations: 79.69 kB / 0.6935 GB, free: 1.602 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.1772, allocations: 59.77 kB / 0.6936 GB, free: 1.543 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.1772, allocations: 4 kB / 0.6936 GB, free: 1.539 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 9.82e-05/0.1773, allocations: 43.91 kB / 0.6936 GB, free: 1.496 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.1774, allocations: 71.8 kB / 0.6937 GB, free: 1.426 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 6.191e-05/0.1775, allocations: 43.61 kB / 0.6937 GB, free: 1.383 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.1778, allocations: 163.4 kB / 0.6939 GB, free: 1.223 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1778, allocations: 0 / 0.6939 GB, free: 1.223 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1778, allocations: 4 kB / 0.6939 GB, free: 1.219 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.1778, allocations: 4 kB / 0.6939 GB, free: 1.215 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006697/0.1785, allocations: 432.8 kB / 0.6943 GB, free: 0.7617 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1785, allocations: 8.031 kB / 0.6943 GB, free: 0.7539 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.1785, allocations: 38.75 kB / 0.6943 GB, free: 0.707 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/0.1786, allocations: 20.8 kB / 0.6944 GB, free: 0.6875 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005407/0.1791, allocations: 281.1 kB / 0.6946 GB, free: 396 kB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1791, allocations: 384 / 0.6946 GB, free: 396 kB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.1792, allocations: 3.938 kB / 0.6946 GB, free: 392 kB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.1793, allocations: 53.67 kB / 0.6947 GB, free: 332 kB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.1793, allocations: 0 / 0.6947 GB, free: 332 kB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1793, allocations: 8 kB / 0.6947 GB, free: 324 kB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1793, allocations: 0 / 0.6947 GB, free: 324 kB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.715e-05/0.1794, allocations: 23.92 kB / 0.6947 GB, free: 300 kB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002361/0.1797, allocations: 176.8 kB / 0.6949 GB, free: 80 kB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.1798, allocations: 58.48 kB / 0.6949 GB, free: 12 kB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.737e-05/0.1799, allocations: 16.86 kB / 0.6949 GB, free: 15.99 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.1799, allocations: 3.984 kB / 0.6949 GB, free: 15.99 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.1801, allocations: 71.39 kB / 0.695 GB, free: 15.91 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=5): time 1.422e-06/0.1801, allocations: 4 kB / 0.695 GB, free: 15.9 MB / 0.5295 GB Notification: Performance of matching and sorting (n=5): time 0.0003151/0.1804, allocations: 109.5 kB / 0.6951 GB, free: 15.79 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.1805, allocations: 51.41 kB / 0.6952 GB, free: 15.73 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.1808, allocations: 292.2 kB / 0.6955 GB, free: 15.43 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.1808, allocations: 25.7 kB / 0.6955 GB, free: 15.4 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.1809, allocations: 140.1 kB / 0.6956 GB, free: 15.26 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.181, allocations: 19.84 kB / 0.6956 GB, free: 15.24 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.181, allocations: 17.72 kB / 0.6956 GB, free: 15.21 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.1812, allocations: 334.8 kB / 0.696 GB, free: 14.88 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.576e-05/0.1812, allocations: 15.98 kB / 0.696 GB, free: 14.86 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.892e-05/0.1813, allocations: 37.7 kB / 0.696 GB, free: 14.82 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.1814, allocations: 49.64 kB / 0.6961 GB, free: 14.77 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1814, allocations: 3.938 kB / 0.6961 GB, free: 14.76 MB / 0.5295 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001785/0.1816, allocations: 93.48 kB / 0.6962 GB, free: 14.66 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1816, allocations: 4 kB / 0.6962 GB, free: 14.66 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1816, allocations: 3.938 kB / 0.6962 GB, free: 14.66 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1816, allocations: 0 / 0.6962 GB, free: 14.66 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.122e-05/0.1817, allocations: 15.98 kB / 0.6962 GB, free: 14.64 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1817, allocations: 4.031 kB / 0.6962 GB, free: 14.64 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.1818, allocations: 0 / 0.6962 GB, free: 14.64 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.1818, allocations: 8 kB / 0.6962 GB, free: 14.63 MB / 0.5295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001357/0.1819, allocations: 145 kB / 0.6963 GB, free: 14.48 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.1819, allocations: 23.86 kB / 0.6964 GB, free: 14.46 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.1822, allocations: 111 kB / 0.6965 GB, free: 14.34 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1822, allocations: 7.984 kB / 0.6965 GB, free: 14.34 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1822, allocations: 0 / 0.6965 GB, free: 14.34 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1822, allocations: 384 / 0.6965 GB, free: 14.34 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.1824, allocations: 192.6 kB / 0.6967 GB, free: 14.11 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1824, allocations: 8 kB / 0.6967 GB, free: 14.1 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.522e-05/0.1824, allocations: 4 kB / 0.6967 GB, free: 14.09 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.1824, allocations: 7.984 kB / 0.6967 GB, free: 14.09 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1824, allocations: 0 / 0.6967 GB, free: 14.09 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1824, allocations: 0 / 0.6967 GB, free: 14.09 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1824, allocations: 0 / 0.6967 GB, free: 14.09 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.1827, allocations: 132.8 kB / 0.6968 GB, free: 13.94 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.1827, allocations: 23.86 kB / 0.6968 GB, free: 13.91 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.1827, allocations: 3.984 kB / 0.6968 GB, free: 13.91 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.254e-05/0.1828, allocations: 4 kB / 0.6968 GB, free: 13.91 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.1828, allocations: 7.938 kB / 0.6968 GB, free: 13.9 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.1828, allocations: 7.984 kB / 0.6968 GB, free: 13.89 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.000223/0.1831, allocations: 215.1 kB / 0.697 GB, free: 13.68 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1e-07/0.1831, allocations: 0 / 0.697 GB, free: 13.68 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002267/0.1833, allocations: 23.94 kB / 0.6971 GB, free: 13.66 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003009/0.1863, allocations: 0.9935 MB / 0.698 GB, free: 12.82 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0002004/0.1865, allocations: 47.86 kB / 0.6981 GB, free: 12.78 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.1865, allocations: 4 kB / 0.6981 GB, free: 12.77 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 6.567e-05/0.1866, allocations: 24.05 kB / 0.6981 GB, free: 12.75 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.1869, allocations: 36.95 kB / 0.6981 GB, free: 12.71 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.1893, allocations: 2.029 MB / 0.7001 GB, free: 10.59 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.1895, allocations: 127.9 kB / 0.7003 GB, free: 10.45 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0001078/0.1896, allocations: 33.61 kB / 0.7003 GB, free: 10.41 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.1897, allocations: 67.41 kB / 0.7003 GB, free: 10.35 MB / 0.5295 GB Notification: Performance of SimCode: time 1.082e-06/0.1897, allocations: 0 / 0.7003 GB, free: 10.35 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0361/0.2258, allocations: 5.127 MB / 0.7054 GB, free: 5.273 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.34, allocations: 11.69 kB / 0.7054 GB, free: 5.266 MB / 0.5295 GB " [Timeout remaining time 288] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_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_CombiTimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.542989431414753]