Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_125",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_125",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.0015, allocations: 109.1 kB / 17.06 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 200 kB / 18.01 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9168/0.9168, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 64.22 kB / 0.5704 GB, free: 40.05 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1277, allocations: 80.7 MB / 0.6492 GB, free: 13.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125): time 0.002969/0.1307, allocations: 1.577 MB / 0.6508 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1322, allocations: 0.8924 MB / 0.6516 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.49e-05/0.1323, allocations: 0 / 0.6516 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0004391/0.1327, allocations: 263.4 kB / 0.6519 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003985/0.1332, allocations: 203.5 kB / 0.6521 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.1334, allocations: 107.6 kB / 0.6522 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003866/0.1338, allocations: 381.3 kB / 0.6525 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.1339, allocations: 11.98 kB / 0.6526 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.1341, allocations: 189.6 kB / 0.6527 GB, free: 9.949 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000314/0.1345, allocations: 295.5 kB / 0.653 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.221e-05/0.1345, allocations: 24 kB / 0.653 GB, free: 9.633 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.1346, allocations: 43.98 kB / 0.6531 GB, free: 9.59 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0006852/0.1353, allocations: 0.6411 MB / 0.6537 GB, free: 8.949 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0003069/0.1356, allocations: 388.2 kB / 0.6541 GB, free: 8.566 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0008088/0.1365, allocations: 0.8657 MB / 0.6549 GB, free: 7.695 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.1365, allocations: 3.984 kB / 0.6549 GB, free: 7.691 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1365, allocations: 0 / 0.6549 GB, free: 7.691 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.1365, allocations: 0 / 0.6549 GB, free: 7.691 MB / 0.4983 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.001785/0.1383, allocations: 1.641 MB / 0.6565 GB, free: 5.988 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.1383, allocations: 15.89 kB / 0.6566 GB, free: 5.973 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/0.1384, allocations: 34.73 kB / 0.6566 GB, free: 5.93 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.1386, allocations: 167.9 kB / 0.6567 GB, free: 5.766 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/0.141, allocations: 1.788 MB / 0.6585 GB, free: 3.906 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.141, allocations: 4.375 kB / 0.6585 GB, free: 3.902 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.1411, allocations: 3.938 kB / 0.6585 GB, free: 3.898 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.1412, allocations: 49.67 kB / 0.6585 GB, free: 3.844 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1412, allocations: 3.984 kB / 0.6585 GB, free: 3.84 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.1412, allocations: 0 / 0.6585 GB, free: 3.84 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1413, allocations: 0 / 0.6585 GB, free: 3.84 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.495e-05/0.1413, allocations: 19.92 kB / 0.6586 GB, free: 3.82 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006017/0.1419, allocations: 0.5861 MB / 0.6591 GB, free: 3.176 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.1421, allocations: 58.55 kB / 0.6592 GB, free: 3.109 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.619e-05/0.1422, allocations: 16.86 kB / 0.6592 GB, free: 3.09 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.1422, allocations: 0 / 0.6592 GB, free: 3.09 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.1424, allocations: 75.28 kB / 0.6593 GB, free: 3.004 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.1424, allocations: 0 / 0.6593 GB, free: 3.004 MB / 0.4983 GB Notification: Performance of matching and sorting (n=5): time 0.0004405/0.1429, allocations: 244.6 kB / 0.6595 GB, free: 2.758 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.1429, allocations: 51.41 kB / 0.6596 GB, free: 2.695 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/0.1449, allocations: 1.716 MB / 0.6612 GB, free: 0.9297 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.145, allocations: 29.7 kB / 0.6613 GB, free: 0.8945 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006284/0.1456, allocations: 0.6689 MB / 0.6619 GB, free: 224 kB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.1457, allocations: 15.88 kB / 0.6619 GB, free: 208 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.1457, allocations: 25.72 kB / 0.662 GB, free: 176 kB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1459, allocations: 306 kB / 0.6623 GB, free: 15.87 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.796e-05/0.1459, allocations: 19.92 kB / 0.6623 GB, free: 15.85 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.297e-05/0.146, allocations: 29.7 kB / 0.6623 GB, free: 15.81 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.1461, allocations: 45.66 kB / 0.6623 GB, free: 15.76 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.1461, allocations: 3.938 kB / 0.6624 GB, free: 15.76 MB / 0.5139 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003227/0.1465, allocations: 240.5 kB / 0.6626 GB, free: 15.52 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1465, allocations: 10.59 kB / 0.6626 GB, free: 15.51 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1465, allocations: 0 / 0.6626 GB, free: 15.51 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1465, allocations: 0 / 0.6626 GB, free: 15.51 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.203e-05/0.1466, allocations: 12 kB / 0.6626 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1466, allocations: 0 / 0.6626 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.1468, allocations: 15.94 kB / 0.6626 GB, free: 15.48 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1468, allocations: 0 / 0.6626 GB, free: 15.48 MB / 0.5139 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.0004656/0.1472, allocations: 422.9 kB / 0.663 GB, free: 15.06 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.1474, allocations: 166.9 kB / 0.6632 GB, free: 14.89 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.1476, allocations: 175 kB / 0.6633 GB, free: 14.72 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1476, allocations: 0 / 0.6633 GB, free: 14.72 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1476, allocations: 0 / 0.6633 GB, free: 14.72 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1476, allocations: 4 kB / 0.6633 GB, free: 14.71 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006861/0.1483, allocations: 0.6332 MB / 0.664 GB, free: 14.02 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1483, allocations: 4 kB / 0.664 GB, free: 14.02 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.432e-05/0.1484, allocations: 7.938 kB / 0.664 GB, free: 14.01 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1484, allocations: 0 / 0.664 GB, free: 14.01 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1484, allocations: 4 kB / 0.664 GB, free: 14.01 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1484, allocations: 4 kB / 0.664 GB, free: 14 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1484, allocations: 0 / 0.664 GB, free: 14 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/0.1488, allocations: 264.9 kB / 0.6642 GB, free: 13.72 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/0.149, allocations: 208.1 kB / 0.6644 GB, free: 13.5 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-05/0.1491, allocations: 4 kB / 0.6644 GB, free: 13.5 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.859e-05/0.1492, allocations: 8 kB / 0.6644 GB, free: 13.49 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.1492, allocations: 3.984 kB / 0.6645 GB, free: 13.48 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.1492, allocations: 8 kB / 0.6645 GB, free: 13.48 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.001476/0.1507, allocations: 1.187 MB / 0.6656 GB, free: 12.27 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1507, allocations: 0 / 0.6656 GB, free: 12.27 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002908/0.151, allocations: 63.88 kB / 0.6657 GB, free: 12.2 MB / 0.5139 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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.002069/0.1531, allocations: 1.126 MB / 0.6668 GB, free: 11.21 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0001837/0.1533, allocations: 43.92 kB / 0.6668 GB, free: 11.16 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1533, allocations: 0 / 0.6668 GB, free: 11.16 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 6.472e-05/0.1534, allocations: 19.98 kB / 0.6668 GB, free: 11.14 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.1539, allocations: 135.7 kB / 0.667 GB, free: 11.01 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.1654, allocations: 8.934 MB / 0.6757 GB, free: 1.855 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009673/0.1664, allocations: 1.199 MB / 0.6769 GB, free: 0.6289 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.000749/0.1672, allocations: 365.9 kB / 0.6772 GB, free: 272 kB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000701/0.1679, allocations: 0.5578 MB / 0.6778 GB, free: 15.7 MB / 0.5295 GB Notification: Performance of SimCode: time 1.223e-06/0.1679, allocations: 0 / 0.6778 GB, free: 15.7 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05101/0.2189, allocations: 20.69 MB / 0.698 GB, free: 11.16 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/11.92, allocations: 6.969 kB / 0.698 GB, free: 11.15 MB / 0.5452 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125_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_ScaledExperiments_CombiTimeTable_N_125.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches