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.001088/0.001088, allocations: 112.2 kB / 20.43 MB, free: 4.594 MB / 13.93 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.0007908/0.0007908, allocations: 208.7 kB / 23.74 MB, free: 2.27 MB / 13.93 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 0.9712/0.9712, allocations: 230.6 MB / 257.5 MB, free: 9.789 MB / 202.7 MB " [Timeout remaining time 179] 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.8292/0.8292, allocations: 120.6 MB / 434.5 MB, free: 13.46 MB / 346.8 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.001019/0.001019, allocations: 62.94 kB / 0.6067 GB, free: 63.82 MB / 0.495 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1278, allocations: 85.87 MB / 0.6906 GB, free: 8.738 MB / 0.5106 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002137/0.1299, allocations: 1.412 MB / 0.692 GB, free: 7.316 MB / 0.5106 GB Notification: Performance of NFInst.instExpressions: time 0.000844/0.1308, allocations: 0.6038 MB / 0.6926 GB, free: 6.707 MB / 0.5106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.831e-05/0.1308, allocations: 3.938 kB / 0.6926 GB, free: 6.703 MB / 0.5106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.1311, allocations: 15.92 kB / 0.6926 GB, free: 6.688 MB / 0.5106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003055/0.1314, allocations: 79.83 kB / 0.6927 GB, free: 6.609 MB / 0.5106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.1316, allocations: 75.8 kB / 0.6927 GB, free: 6.535 MB / 0.5106 GB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.1318, allocations: 83.81 kB / 0.6928 GB, free: 6.453 MB / 0.5106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.771e-05/0.1318, allocations: 0 / 0.6928 GB, free: 6.453 MB / 0.5106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.132, allocations: 59.81 kB / 0.6929 GB, free: 6.395 MB / 0.5106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.1321, allocations: 51.83 kB / 0.6929 GB, free: 6.344 MB / 0.5106 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.1321, allocations: 4 kB / 0.6929 GB, free: 6.34 MB / 0.5106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.1323, allocations: 83.86 kB / 0.693 GB, free: 6.258 MB / 0.5106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.1324, allocations: 59.88 kB / 0.6931 GB, free: 6.199 MB / 0.5106 GB Notification: Performance of NFVerifyModel.verify: time 6.257e-05/0.1324, allocations: 51.61 kB / 0.6931 GB, free: 6.148 MB / 0.5106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.1326, allocations: 151.5 kB / 0.6933 GB, free: 6 MB / 0.5106 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1326, allocations: 0 / 0.6933 GB, free: 6 MB / 0.5106 GB Notification: Performance of FrontEnd: time 1.734e-06/0.1326, allocations: 0 / 0.6933 GB, free: 6 MB / 0.5106 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.1327, allocations: 0 / 0.6933 GB, free: 6 MB / 0.5106 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.0004618/0.1331, allocations: 411 kB / 0.6936 GB, free: 5.562 MB / 0.5106 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1332, allocations: 8.031 kB / 0.6937 GB, free: 5.555 MB / 0.5106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.736e-05/0.1332, allocations: 34.75 kB / 0.6937 GB, free: 5.512 MB / 0.5106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.013e-05/0.1332, allocations: 24.8 kB / 0.6937 GB, free: 5.488 MB / 0.5106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004917/0.1337, allocations: 257.4 kB / 0.694 GB, free: 5.207 MB / 0.5106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1337, allocations: 8.375 kB / 0.694 GB, free: 5.199 MB / 0.5106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.1337, allocations: 384 / 0.694 GB, free: 5.199 MB / 0.5106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.1339, allocations: 61.73 kB / 0.694 GB, free: 5.133 MB / 0.5106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.1339, allocations: 4 kB / 0.694 GB, free: 5.129 MB / 0.5106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1339, allocations: 0 / 0.694 GB, free: 5.129 MB / 0.5106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1339, allocations: 0 / 0.694 GB, free: 5.129 MB / 0.5106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.958e-05/0.1339, allocations: 23.98 kB / 0.6941 GB, free: 5.105 MB / 0.5106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.1341, allocations: 168.7 kB / 0.6942 GB, free: 4.898 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.866e-05/0.1342, allocations: 38.5 kB / 0.6942 GB, free: 4.852 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/0.1342, allocations: 16.86 kB / 0.6943 GB, free: 4.832 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.1342, allocations: 4.047 kB / 0.6943 GB, free: 4.828 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.1344, allocations: 113.1 kB / 0.6944 GB, free: 4.699 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.1344, allocations: 0 / 0.6944 GB, free: 4.699 MB / 0.5106 GB Notification: Performance of matching and sorting (n=8): time 0.0002778/0.1346, allocations: 167.2 kB / 0.6945 GB, free: 4.523 MB / 0.5106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.1347, allocations: 81.11 kB / 0.6946 GB, free: 4.426 MB / 0.5106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.1348, allocations: 228.1 kB / 0.6948 GB, free: 4.195 MB / 0.5106 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.1348, allocations: 29.7 kB / 0.6949 GB, free: 4.16 MB / 0.5106 GB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.1349, allocations: 128.1 kB / 0.695 GB, free: 4.031 MB / 0.5106 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.1349, allocations: 15.86 kB / 0.695 GB, free: 4.016 MB / 0.5106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.135, allocations: 25.72 kB / 0.695 GB, free: 3.984 MB / 0.5106 GB Notification: Performance of setup shared object (initialization): time 8.737e-05/0.1351, allocations: 326.8 kB / 0.6953 GB, free: 3.656 MB / 0.5106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.884e-05/0.1351, allocations: 20 kB / 0.6954 GB, free: 3.637 MB / 0.5106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.134e-05/0.1351, allocations: 15.98 kB / 0.6954 GB, free: 3.621 MB / 0.5106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.099e-05/0.1352, allocations: 108.2 kB / 0.6955 GB, free: 3.5 MB / 0.5106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1352, allocations: 0 / 0.6955 GB, free: 3.5 MB / 0.5106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000128/0.1353, allocations: 155.2 kB / 0.6956 GB, free: 3.336 MB / 0.5106 GB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.1353, allocations: 41.7 kB / 0.6957 GB, free: 3.289 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1353, allocations: 0 / 0.6957 GB, free: 3.289 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1354, allocations: 3.984 kB / 0.6957 GB, free: 3.285 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.743e-05/0.1354, allocations: 4 kB / 0.6957 GB, free: 3.281 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1354, allocations: 0 / 0.6957 GB, free: 3.281 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.262e-05/0.1355, allocations: 11.89 kB / 0.6957 GB, free: 3.27 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.1355, allocations: 11.94 kB / 0.6957 GB, free: 3.258 MB / 0.5106 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.0001089/0.1356, allocations: 173.8 kB / 0.6959 GB, free: 3.074 MB / 0.5106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.1356, allocations: 23.84 kB / 0.6959 GB, free: 3.051 MB / 0.5106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.1357, allocations: 29.39 kB / 0.6959 GB, free: 3.02 MB / 0.5106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1357, allocations: 0 / 0.6959 GB, free: 3.02 MB / 0.5106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1357, allocations: 0 / 0.6959 GB, free: 3.02 MB / 0.5106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1357, allocations: 0 / 0.6959 GB, free: 3.02 MB / 0.5106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.1358, allocations: 184.7 kB / 0.6961 GB, free: 2.797 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.1358, allocations: 3.938 kB / 0.6961 GB, free: 2.793 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.376e-05/0.1358, allocations: 4 kB / 0.6961 GB, free: 2.789 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.1358, allocations: 0 / 0.6961 GB, free: 2.789 MB / 0.5106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1358, allocations: 8 kB / 0.6961 GB, free: 2.781 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.1358, allocations: 0 / 0.6961 GB, free: 2.781 MB / 0.5106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1358, allocations: 7.984 kB / 0.6961 GB, free: 2.773 MB / 0.5106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.136, allocations: 199.5 kB / 0.6963 GB, free: 2.555 MB / 0.5106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.136, allocations: 27.83 kB / 0.6963 GB, free: 2.527 MB / 0.5106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.136, allocations: 7.938 kB / 0.6963 GB, free: 2.52 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.725e-05/0.1361, allocations: 4 kB / 0.6963 GB, free: 2.516 MB / 0.5106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.1361, allocations: 0 / 0.6963 GB, free: 2.516 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.1361, allocations: 12 kB / 0.6963 GB, free: 2.504 MB / 0.5106 GB Notification: Performance of sorting global known variables: time 9.169e-05/0.1362, allocations: 173.8 kB / 0.6965 GB, free: 2.336 MB / 0.5106 GB Notification: Performance of sort global known variables: time 7e-08/0.1362, allocations: 4 kB / 0.6965 GB, free: 2.332 MB / 0.5106 GB Notification: Performance of remove unused functions: time 0.0001489/0.1363, allocations: 31.94 kB / 0.6965 GB, free: 2.301 MB / 0.5106 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.0003908/0.1367, allocations: 0.7586 MB / 0.6973 GB, free: 1.508 MB / 0.5106 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.1369, allocations: 115.3 kB / 0.6974 GB, free: 1.383 MB / 0.5106 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.1369, allocations: 0 / 0.6974 GB, free: 1.383 MB / 0.5106 GB Notification: Performance of simCode: created simulation system equations: time 4.853e-05/0.137, allocations: 87.39 kB / 0.6975 GB, free: 1.285 MB / 0.5106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.1372, allocations: 12.67 kB / 0.6975 GB, free: 1.27 MB / 0.5106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.1386, allocations: 1.943 MB / 0.6994 GB, free: 15.22 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.1388, allocations: 0.7278 MB / 0.7001 GB, free: 14.47 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 5.555e-05/0.1388, allocations: 29.81 kB / 0.7001 GB, free: 14.44 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.822e-05/0.1389, allocations: 43.42 kB / 0.7002 GB, free: 14.4 MB / 0.5263 GB Notification: Performance of SimCode: time 4.51e-07/0.1389, allocations: 0 / 0.7002 GB, free: 14.4 MB / 0.5263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.1555, allocations: 3.62 MB / 0.7037 GB, free: 10.9 MB / 0.5263 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.574/6.73, allocations: 0 / 0.7037 GB, free: 10.9 MB / 0.5263 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/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: 9.952141452115029]