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.0008243/0.0008243, allocations: 113.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.001409/0.001409, allocations: 212.6 kB / 23.74 MB, free: 2.266 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 1/1, allocations: 230.6 MB / 257.5 MB, free: 9.82 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.8289/0.8289, allocations: 120.6 MB / 434.5 MB, free: 13.49 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.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.000967/0.000967, allocations: 66.62 kB / 0.6067 GB, free: 63.68 MB / 0.495 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1375, allocations: 85.87 MB / 0.6906 GB, free: 8.648 MB / 0.5106 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002446/0.1399, allocations: 1.587 MB / 0.6922 GB, free: 7.051 MB / 0.5106 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.1411, allocations: 1.065 MB / 0.6932 GB, free: 5.98 MB / 0.5106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.777e-05/0.1412, allocations: 0 / 0.6932 GB, free: 5.98 MB / 0.5106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.1416, allocations: 75.66 kB / 0.6933 GB, free: 5.906 MB / 0.5106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004208/0.142, allocations: 147.5 kB / 0.6934 GB, free: 5.762 MB / 0.5106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.1422, allocations: 79.72 kB / 0.6935 GB, free: 5.684 MB / 0.5106 GB Notification: Performance of NFFlatten.flatten: time 0.000166/0.1423, allocations: 135.6 kB / 0.6936 GB, free: 5.551 MB / 0.5106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.1424, allocations: 4 kB / 0.6936 GB, free: 5.547 MB / 0.5106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.1426, allocations: 83.67 kB / 0.6937 GB, free: 5.465 MB / 0.5106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.926e-05/0.1427, allocations: 63.75 kB / 0.6938 GB, free: 5.402 MB / 0.5106 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.1427, allocations: 4 kB / 0.6938 GB, free: 5.398 MB / 0.5106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.511e-05/0.1428, allocations: 35.92 kB / 0.6938 GB, free: 5.363 MB / 0.5106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.1429, allocations: 75.8 kB / 0.6939 GB, free: 5.289 MB / 0.5106 GB Notification: Performance of NFVerifyModel.verify: time 5.699e-05/0.1429, allocations: 59.48 kB / 0.6939 GB, free: 5.23 MB / 0.5106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.1431, allocations: 159.4 kB / 0.6941 GB, free: 5.074 MB / 0.5106 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1431, allocations: 0 / 0.6941 GB, free: 5.074 MB / 0.5106 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1431, allocations: 0 / 0.6941 GB, free: 5.074 MB / 0.5106 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.1431, allocations: 0 / 0.6941 GB, free: 5.074 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004382/0.1435, allocations: 436.8 kB / 0.6945 GB, free: 4.617 MB / 0.5106 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.1436, allocations: 12.03 kB / 0.6945 GB, free: 4.605 MB / 0.5106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.849e-05/0.1436, allocations: 38.69 kB / 0.6945 GB, free: 4.559 MB / 0.5106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.1436, allocations: 20.8 kB / 0.6946 GB, free: 4.539 MB / 0.5106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.144, allocations: 281.1 kB / 0.6948 GB, free: 4.238 MB / 0.5106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.144, allocations: 4.375 kB / 0.6948 GB, free: 4.234 MB / 0.5106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.144, allocations: 3.938 kB / 0.6948 GB, free: 4.23 MB / 0.5106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.1442, allocations: 49.67 kB / 0.6949 GB, free: 4.176 MB / 0.5106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1442, allocations: 0 / 0.6949 GB, free: 4.176 MB / 0.5106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1442, allocations: 4 kB / 0.6949 GB, free: 4.172 MB / 0.5106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.1442, allocations: 3.938 kB / 0.6949 GB, free: 4.168 MB / 0.5106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.557e-05/0.1442, allocations: 19.92 kB / 0.6949 GB, free: 4.148 MB / 0.5106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001795/0.1444, allocations: 184.8 kB / 0.6951 GB, free: 3.926 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.1445, allocations: 54.53 kB / 0.6951 GB, free: 3.863 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.368e-05/0.1445, allocations: 24.84 kB / 0.6952 GB, free: 3.836 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.1446, allocations: 0 / 0.6952 GB, free: 3.836 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001131/0.1447, allocations: 75.33 kB / 0.6952 GB, free: 3.75 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=5): time 7.62e-07/0.1447, allocations: 0 / 0.6952 GB, free: 3.75 MB / 0.5106 GB Notification: Performance of matching and sorting (n=5): time 0.0001986/0.1449, allocations: 101.5 kB / 0.6953 GB, free: 3.645 MB / 0.5106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.1449, allocations: 55.41 kB / 0.6954 GB, free: 3.578 MB / 0.5106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.1451, allocations: 288.2 kB / 0.6957 GB, free: 3.285 MB / 0.5106 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1451, allocations: 29.7 kB / 0.6957 GB, free: 3.25 MB / 0.5106 GB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.1452, allocations: 136.1 kB / 0.6958 GB, free: 3.113 MB / 0.5106 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.1452, allocations: 15.89 kB / 0.6958 GB, free: 3.098 MB / 0.5106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.1452, allocations: 21.72 kB / 0.6958 GB, free: 3.07 MB / 0.5106 GB Notification: Performance of setup shared object (initialization): time 9.171e-05/0.1453, allocations: 334.8 kB / 0.6962 GB, free: 2.734 MB / 0.5106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.66e-05/0.1453, allocations: 8 kB / 0.6962 GB, free: 2.727 MB / 0.5106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.885e-05/0.1454, allocations: 45.61 kB / 0.6962 GB, free: 2.676 MB / 0.5106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.55e-05/0.1454, allocations: 41.7 kB / 0.6963 GB, free: 2.629 MB / 0.5106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1454, allocations: 3.938 kB / 0.6963 GB, free: 2.625 MB / 0.5106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.727e-05/0.1455, allocations: 93.48 kB / 0.6964 GB, free: 2.527 MB / 0.5106 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.1455, allocations: 4 kB / 0.6964 GB, free: 2.523 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1456, allocations: 4 kB / 0.6964 GB, free: 2.52 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/0.1456, allocations: 0 / 0.6964 GB, free: 2.52 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.747e-05/0.1456, allocations: 12.02 kB / 0.6964 GB, free: 2.508 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1456, allocations: 4 kB / 0.6964 GB, free: 2.504 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.316e-05/0.1456, allocations: 11.94 kB / 0.6964 GB, free: 2.492 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.1457, allocations: 4 kB / 0.6964 GB, free: 2.488 MB / 0.5106 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 8.799e-05/0.1457, allocations: 145.8 kB / 0.6965 GB, free: 2.336 MB / 0.5106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.1458, allocations: 19.86 kB / 0.6965 GB, free: 2.316 MB / 0.5106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.1459, allocations: 103 kB / 0.6966 GB, free: 2.211 MB / 0.5106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1459, allocations: 0 / 0.6966 GB, free: 2.211 MB / 0.5106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1459, allocations: 384 / 0.6966 GB, free: 2.211 MB / 0.5106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1459, allocations: 4 kB / 0.6967 GB, free: 2.207 MB / 0.5106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.146, allocations: 204.5 kB / 0.6968 GB, free: 1.965 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.146, allocations: 3.938 kB / 0.6969 GB, free: 1.961 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.013e-05/0.146, allocations: 4 kB / 0.6969 GB, free: 1.957 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.146, allocations: 0 / 0.6969 GB, free: 1.957 MB / 0.5106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.146, allocations: 4 kB / 0.6969 GB, free: 1.953 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.146, allocations: 0 / 0.6969 GB, free: 1.953 MB / 0.5106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.146, allocations: 0 / 0.6969 GB, free: 1.953 MB / 0.5106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.1461, allocations: 128.8 kB / 0.697 GB, free: 1.809 MB / 0.5106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.943e-05/0.1462, allocations: 23.84 kB / 0.697 GB, free: 1.785 MB / 0.5106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.1462, allocations: 4 kB / 0.697 GB, free: 1.781 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.856e-05/0.1462, allocations: 0 / 0.697 GB, free: 1.781 MB / 0.5106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.1462, allocations: 7.984 kB / 0.697 GB, free: 1.773 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.1462, allocations: 4 kB / 0.697 GB, free: 1.77 MB / 0.5106 GB Notification: Performance of sorting global known variables: time 0.0001253/0.1464, allocations: 207.1 kB / 0.6972 GB, free: 1.566 MB / 0.5106 GB Notification: Performance of sort global known variables: time 7e-08/0.1464, allocations: 4 kB / 0.6972 GB, free: 1.562 MB / 0.5106 GB Notification: Performance of remove unused functions: time 0.0001467/0.1465, allocations: 23.92 kB / 0.6972 GB, free: 1.539 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: 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.0008523/0.1474, allocations: 0.9597 MB / 0.6982 GB, free: 0.7109 MB / 0.5106 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.1475, allocations: 39.98 kB / 0.6982 GB, free: 0.6719 MB / 0.5106 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1475, allocations: 0 / 0.6982 GB, free: 0.6719 MB / 0.5106 GB Notification: Performance of simCode: created simulation system equations: time 2.986e-05/0.1475, allocations: 15.94 kB / 0.6982 GB, free: 0.6562 MB / 0.5106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.1477, allocations: 44.56 kB / 0.6983 GB, free: 0.6133 MB / 0.5106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.1491, allocations: 2.01 MB / 0.7002 GB, free: 14.51 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.1493, allocations: 0.7359 MB / 0.701 GB, free: 13.75 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 6.982e-05/0.1494, allocations: 41.59 kB / 0.701 GB, free: 13.71 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.606e-05/0.1495, allocations: 59.42 kB / 0.7011 GB, free: 13.65 MB / 0.5263 GB Notification: Performance of SimCode: time 6.62e-07/0.1495, allocations: 0 / 0.7011 GB, free: 13.65 MB / 0.5263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.1674, allocations: 4.593 MB / 0.7055 GB, free: 9.117 MB / 0.5263 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.875/7.042, allocations: 7.547 kB / 0.7055 GB, free: 9.113 MB / 0.5263 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/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: 10.354229652089998]