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.001886/0.001886, 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.001489/0.001489, 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.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.09/1.09, allocations: 120.6 MB / 434.5 MB, free: 0.8359 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.001994/0.001994, allocations: 63.91 kB / 0.6067 GB, free: 10.95 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1716, allocations: 85.86 MB / 0.6906 GB, free: 4.879 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.003112/0.1747, allocations: 1.595 MB / 0.6921 GB, free: 3.273 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0018/0.1765, allocations: 1.068 MB / 0.6932 GB, free: 2.199 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.323e-05/0.1766, allocations: 0 / 0.6932 GB, free: 2.199 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.1769, allocations: 67.67 kB / 0.6933 GB, free: 2.133 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0004529/0.1774, allocations: 151.5 kB / 0.6934 GB, free: 1.984 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.1775, allocations: 79.72 kB / 0.6935 GB, free: 1.906 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.1778, allocations: 135.6 kB / 0.6936 GB, free: 1.773 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.436e-05/0.1778, allocations: 4 kB / 0.6936 GB, free: 1.77 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.178, allocations: 79.69 kB / 0.6937 GB, free: 1.691 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.1782, allocations: 79.67 kB / 0.6938 GB, free: 1.613 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.1782, allocations: 4 kB / 0.6938 GB, free: 1.609 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 8.09e-05/0.1783, allocations: 27.98 kB / 0.6938 GB, free: 1.582 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.1784, allocations: 75.8 kB / 0.6939 GB, free: 1.508 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 7.001e-05/0.1785, allocations: 59.48 kB / 0.6939 GB, free: 1.449 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.1787, allocations: 155.4 kB / 0.6941 GB, free: 1.297 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1787, allocations: 4 kB / 0.6941 GB, free: 1.293 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1787, allocations: 0 / 0.6941 GB, free: 1.293 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.1787, allocations: 0 / 0.6941 GB, free: 1.293 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.000639/0.1794, allocations: 432.8 kB / 0.6945 GB, free: 0.8398 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.1794, allocations: 12.02 kB / 0.6945 GB, free: 0.8281 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.681e-05/0.1794, allocations: 30.75 kB / 0.6945 GB, free: 0.7891 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/0.1795, allocations: 24.8 kB / 0.6946 GB, free: 0.7656 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004867/0.18, allocations: 285.1 kB / 0.6948 GB, free: 472 kB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.18, allocations: 4.375 kB / 0.6948 GB, free: 468 kB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.18, allocations: 3.938 kB / 0.6948 GB, free: 464 kB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.1801, allocations: 49.67 kB / 0.6949 GB, free: 408 kB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1802, allocations: 0 / 0.6949 GB, free: 408 kB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.1802, allocations: 0 / 0.6949 GB, free: 408 kB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1802, allocations: 7.875 kB / 0.6949 GB, free: 400 kB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.532e-05/0.1802, allocations: 12 kB / 0.6949 GB, free: 388 kB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002296/0.1805, allocations: 192.7 kB / 0.6951 GB, free: 152 kB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.1806, allocations: 58.55 kB / 0.6951 GB, free: 84 kB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.965e-05/0.1807, allocations: 12.86 kB / 0.6951 GB, free: 68 kB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.1807, allocations: 11.92 kB / 0.6952 GB, free: 56 kB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.1809, allocations: 63.33 kB / 0.6952 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1809, allocations: 0 / 0.6952 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of matching and sorting (n=5): time 0.0002934/0.1812, allocations: 109.5 kB / 0.6953 GB, free: 15.87 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.1812, allocations: 55.41 kB / 0.6954 GB, free: 15.8 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.1815, allocations: 284.2 kB / 0.6956 GB, free: 15.51 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1815, allocations: 29.7 kB / 0.6957 GB, free: 15.48 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 9.758e-05/0.1816, allocations: 136.1 kB / 0.6958 GB, free: 15.34 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.1817, allocations: 19.83 kB / 0.6958 GB, free: 15.32 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.1817, allocations: 17.72 kB / 0.6958 GB, free: 15.3 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1819, allocations: 338.8 kB / 0.6962 GB, free: 14.96 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.897e-05/0.1819, allocations: 16 kB / 0.6962 GB, free: 14.94 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.174e-05/0.182, allocations: 37.61 kB / 0.6962 GB, free: 14.9 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.66e-05/0.1821, allocations: 45.7 kB / 0.6963 GB, free: 14.85 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1821, allocations: 3.938 kB / 0.6963 GB, free: 14.84 MB / 0.5295 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001677/0.1822, allocations: 89.48 kB / 0.6964 GB, free: 14.75 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1823, allocations: 8.031 kB / 0.6964 GB, free: 14.74 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.1823, allocations: 4 kB / 0.6964 GB, free: 14.74 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1823, allocations: 0 / 0.6964 GB, free: 14.74 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.905e-05/0.1823, allocations: 8 kB / 0.6964 GB, free: 14.73 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.1824, allocations: 7.984 kB / 0.6964 GB, free: 14.72 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/0.1824, allocations: 4 kB / 0.6964 GB, free: 14.72 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.1824, allocations: 4 kB / 0.6964 GB, free: 14.71 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.0001218/0.1825, allocations: 141.8 kB / 0.6965 GB, free: 14.57 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.1826, allocations: 27.86 kB / 0.6965 GB, free: 14.54 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.1828, allocations: 99.42 kB / 0.6966 GB, free: 14.44 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.1828, allocations: 7.984 kB / 0.6966 GB, free: 14.43 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.1828, allocations: 4 kB / 0.6967 GB, free: 14.43 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1828, allocations: 3.984 kB / 0.6967 GB, free: 14.42 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.183, allocations: 192.6 kB / 0.6968 GB, free: 14.19 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.183, allocations: 3.938 kB / 0.6968 GB, free: 14.19 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.025e-05/0.183, allocations: 4 kB / 0.6968 GB, free: 14.18 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.183, allocations: 0 / 0.6968 GB, free: 14.18 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.183, allocations: 4 kB / 0.6969 GB, free: 14.18 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.183, allocations: 0 / 0.6969 GB, free: 14.18 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.183, allocations: 4 kB / 0.6969 GB, free: 14.18 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.1832, allocations: 124.8 kB / 0.697 GB, free: 14.04 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.1832, allocations: 23.84 kB / 0.697 GB, free: 14.01 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.1833, allocations: 4 kB / 0.697 GB, free: 14.01 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.96e-05/0.1833, allocations: 0 / 0.697 GB, free: 14.01 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.1833, allocations: 7.984 kB / 0.697 GB, free: 14 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.1833, allocations: 0 / 0.697 GB, free: 14 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0002055/0.1835, allocations: 223 kB / 0.6972 GB, free: 13.78 MB / 0.5295 GB Notification: Performance of sort global known variables: time 9e-08/0.1835, allocations: 0 / 0.6972 GB, free: 13.78 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002141/0.1838, allocations: 23.94 kB / 0.6972 GB, free: 13.76 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 (5): * Single equations (assignments): 3 * 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.001835/0.1856, allocations: 0.9471 MB / 0.6982 GB, free: 12.95 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0001692/0.1858, allocations: 47.97 kB / 0.6982 GB, free: 12.9 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1858, allocations: 0 / 0.6982 GB, free: 12.9 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 6.055e-05/0.1858, allocations: 27.81 kB / 0.6982 GB, free: 12.87 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.1861, allocations: 40.33 kB / 0.6983 GB, free: 12.83 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.1884, allocations: 2.01 MB / 0.7002 GB, free: 10.73 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.1888, allocations: 0.7359 MB / 0.701 GB, free: 9.969 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 9.614e-05/0.1889, allocations: 33.61 kB / 0.701 GB, free: 9.938 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.93e-05/0.189, allocations: 63.41 kB / 0.7011 GB, free: 9.875 MB / 0.5295 GB Notification: Performance of SimCode: time 4.61e-07/0.189, allocations: 4 kB / 0.7011 GB, free: 9.871 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03364/0.2226, allocations: 4.589 MB / 0.7055 GB, free: 5.355 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.45, allocations: 13.94 kB / 0.7056 GB, free: 5.348 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.723267601999396]