Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_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.TimeTable_N_125,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_125",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_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.001833/0.001833, allocations: 112.3 kB / 17.06 MB, free: 5.992 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.002008/0.002008, allocations: 197.3 kB / 18.01 MB, free: 5.066 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.445/1.445, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.042/1.042, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 62.41 kB / 0.5704 GB, free: 40.03 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1401, allocations: 80.7 MB / 0.6492 GB, free: 13.55 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.002659/0.1428, allocations: 1.41 MB / 0.6506 GB, free: 12.14 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1439, allocations: 0.5652 MB / 0.6512 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.1439, allocations: 0 / 0.6512 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.1442, allocations: 123.7 kB / 0.6513 GB, free: 11.45 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003529/0.1446, allocations: 159.7 kB / 0.6514 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.1449, allocations: 83.78 kB / 0.6515 GB, free: 11.21 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003885/0.1453, allocations: 341.5 kB / 0.6518 GB, free: 10.87 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4e-05/0.1453, allocations: 4 kB / 0.6518 GB, free: 10.87 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.1455, allocations: 177.7 kB / 0.652 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003492/0.1459, allocations: 275.7 kB / 0.6523 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.607e-05/0.146, allocations: 20 kB / 0.6523 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.1462, allocations: 95.92 kB / 0.6524 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0007697/0.1469, allocations: 0.6371 MB / 0.653 GB, free: 9.672 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0003304/0.1473, allocations: 380.3 kB / 0.6534 GB, free: 9.297 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0008944/0.1482, allocations: 0.8697 MB / 0.6542 GB, free: 8.422 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1482, allocations: 0 / 0.6542 GB, free: 8.422 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1482, allocations: 0 / 0.6542 GB, free: 8.422 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.1482, allocations: 0 / 0.6542 GB, free: 8.422 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001918/0.1501, allocations: 1.623 MB / 0.6558 GB, free: 6.734 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.1502, allocations: 11.89 kB / 0.6558 GB, free: 6.723 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.309e-05/0.1502, allocations: 34.75 kB / 0.6558 GB, free: 6.68 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.1504, allocations: 155.9 kB / 0.656 GB, free: 6.527 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002642/0.1531, allocations: 1.779 MB / 0.6577 GB, free: 4.703 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.1531, allocations: 4.375 kB / 0.6577 GB, free: 4.699 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.1531, allocations: 4.375 kB / 0.6577 GB, free: 4.695 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.1533, allocations: 105.7 kB / 0.6578 GB, free: 4.586 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1533, allocations: 0 / 0.6578 GB, free: 4.586 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.1534, allocations: 4 kB / 0.6578 GB, free: 4.582 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.1534, allocations: 3.984 kB / 0.6578 GB, free: 4.578 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.1535, allocations: 47.98 kB / 0.6579 GB, free: 4.531 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006098/0.1541, allocations: 0.5774 MB / 0.6585 GB, free: 3.906 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.1542, allocations: 54.58 kB / 0.6585 GB, free: 3.844 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.726e-05/0.1543, allocations: 48.89 kB / 0.6586 GB, free: 3.793 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.1543, allocations: 0 / 0.6586 GB, free: 3.793 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/0.1546, allocations: 144.9 kB / 0.6587 GB, free: 3.633 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.1546, allocations: 0 / 0.6587 GB, free: 3.633 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0006161/0.1552, allocations: 422.4 kB / 0.6591 GB, free: 3.207 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.1553, allocations: 81.11 kB / 0.6592 GB, free: 3.109 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/0.1572, allocations: 1.636 MB / 0.6608 GB, free: 1.477 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.1572, allocations: 33.7 kB / 0.6608 GB, free: 1.438 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006027/0.1578, allocations: 0.6256 MB / 0.6614 GB, free: 0.8086 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/0.1579, allocations: 23.89 kB / 0.6614 GB, free: 0.7852 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.961e-05/0.158, allocations: 49.72 kB / 0.6615 GB, free: 0.7305 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1581, allocations: 306 kB / 0.6618 GB, free: 436 kB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.546e-05/0.1582, allocations: 43.86 kB / 0.6618 GB, free: 392 kB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.014e-05/0.1583, allocations: 28 kB / 0.6618 GB, free: 364 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.1584, allocations: 136.2 kB / 0.662 GB, free: 212 kB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1585, allocations: 4 kB / 0.662 GB, free: 208 kB / 0.4983 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004791/0.1589, allocations: 390.2 kB / 0.6624 GB, free: 15.81 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 3.986e-05/0.159, allocations: 32.83 kB / 0.6624 GB, free: 15.77 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.159, allocations: 4 kB / 0.6624 GB, free: 15.77 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.159, allocations: 0 / 0.6624 GB, free: 15.77 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.039e-05/0.1591, allocations: 4 kB / 0.6624 GB, free: 15.77 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1591, allocations: 0 / 0.6624 GB, free: 15.77 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.1593, allocations: 19.92 kB / 0.6624 GB, free: 15.75 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.604e-05/0.1593, allocations: 56 kB / 0.6625 GB, free: 15.69 MB / 0.5139 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.00053/0.1599, allocations: 452.7 kB / 0.6629 GB, free: 15.23 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.16, allocations: 162.9 kB / 0.6631 GB, free: 15.07 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.1602, allocations: 170.8 kB / 0.6632 GB, free: 14.9 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.1602, allocations: 0 / 0.6632 GB, free: 14.9 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1603, allocations: 4 kB / 0.6632 GB, free: 14.9 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1603, allocations: 0 / 0.6632 GB, free: 14.9 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006306/0.1609, allocations: 0.6242 MB / 0.6638 GB, free: 14.23 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1609, allocations: 3.938 kB / 0.6638 GB, free: 14.22 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.161, allocations: 7.938 kB / 0.6638 GB, free: 14.21 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.161, allocations: 4 kB / 0.6638 GB, free: 14.21 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.161, allocations: 20 kB / 0.6639 GB, free: 14.19 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.161, allocations: 7.922 kB / 0.6639 GB, free: 14.18 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.161, allocations: 96 / 0.6639 GB, free: 14.18 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005443/0.1616, allocations: 438.4 kB / 0.6643 GB, free: 13.73 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/0.1618, allocations: 220 kB / 0.6645 GB, free: 13.5 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.463e-05/0.1619, allocations: 12 kB / 0.6645 GB, free: 13.48 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.162, allocations: 4 kB / 0.6645 GB, free: 13.48 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.1621, allocations: 8 kB / 0.6645 GB, free: 13.47 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.073e-05/0.1621, allocations: 59.98 kB / 0.6646 GB, free: 13.41 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.00145/0.1636, allocations: 1.143 MB / 0.6657 GB, free: 12.28 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1636, allocations: 0 / 0.6657 GB, free: 12.28 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003142/0.1639, allocations: 75.94 kB / 0.6658 GB, free: 12.21 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: 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.001039/0.165, allocations: 1.015 MB / 0.6668 GB, free: 11.16 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0003298/0.1653, allocations: 171.4 kB / 0.6669 GB, free: 10.98 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1653, allocations: 0 / 0.6669 GB, free: 10.98 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.1655, allocations: 131.7 kB / 0.667 GB, free: 10.84 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.1659, allocations: 118.4 kB / 0.6672 GB, free: 10.72 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/0.1778, allocations: 8.993 MB / 0.6759 GB, free: 1.539 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009329/0.1787, allocations: 1.188 MB / 0.6771 GB, free: 332 kB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0006466/0.1794, allocations: 297.5 kB / 0.6774 GB, free: 28 kB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005455/0.18, allocations: 487.4 kB / 0.6778 GB, free: 15.55 MB / 0.5295 GB Notification: Performance of SimCode: time 7.31e-07/0.18, allocations: 0 / 0.6778 GB, free: 15.55 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05399/0.234, allocations: 21.08 MB / 0.6984 GB, free: 10.55 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.59, allocations: 12.94 kB / 0.6984 GB, free: 10.54 MB / 0.5452 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_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_TimeTable_N_125.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches