Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.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_250,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250",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.001951/0.001951, allocations: 106.6 kB / 17.06 MB, free: 6.098 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.002217/0.002217, allocations: 193.4 kB / 18 MB, free: 5.172 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.431/1.431, 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 0.9528/0.9528, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 66.59 kB / 0.5704 GB, free: 40.07 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1235, allocations: 80.7 MB / 0.6492 GB, free: 13.56 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.002947/0.1265, allocations: 1.413 MB / 0.6506 GB, free: 12.14 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.1277, allocations: 0.5652 MB / 0.6512 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.244e-05/0.1278, allocations: 8 kB / 0.6512 GB, free: 11.56 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.1281, allocations: 227.7 kB / 0.6514 GB, free: 11.34 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0004555/0.1286, allocations: 267.5 kB / 0.6516 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.1289, allocations: 83.77 kB / 0.6517 GB, free: 11 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005892/0.1295, allocations: 0.593 MB / 0.6523 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.578e-05/0.1295, allocations: 4 kB / 0.6523 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003358/0.1299, allocations: 307.5 kB / 0.6526 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005309/0.1304, allocations: 0.5345 MB / 0.6531 GB, free: 9.562 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.45e-05/0.1305, allocations: 32 kB / 0.6532 GB, free: 9.531 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.1307, allocations: 115.9 kB / 0.6533 GB, free: 9.418 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001342/0.1321, allocations: 1.259 MB / 0.6545 GB, free: 8.156 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0005936/0.1327, allocations: 0.7156 MB / 0.6552 GB, free: 7.434 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.1342, allocations: 1.646 MB / 0.6568 GB, free: 5.777 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1342, allocations: 3.984 kB / 0.6568 GB, free: 5.773 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1342, allocations: 0 / 0.6568 GB, free: 5.773 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.572e-05/0.1342, allocations: 3.938 kB / 0.6568 GB, free: 5.77 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.003084/0.1373, allocations: 2.872 MB / 0.6596 GB, free: 2.824 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1374, allocations: 8.031 kB / 0.6596 GB, free: 2.816 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.1374, allocations: 38.75 kB / 0.6597 GB, free: 2.77 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003176/0.1378, allocations: 310.9 kB / 0.66 GB, free: 2.465 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00489/0.1427, allocations: 3.362 MB / 0.6632 GB, free: 15.05 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1427, allocations: 4.375 kB / 0.6632 GB, free: 15.05 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.1427, allocations: 16.3 kB / 0.6633 GB, free: 15.03 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.143, allocations: 149.7 kB / 0.6634 GB, free: 14.88 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.143, allocations: 0 / 0.6634 GB, free: 14.88 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.143, allocations: 8 kB / 0.6634 GB, free: 14.87 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.143, allocations: 0 / 0.6634 GB, free: 14.87 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.1432, allocations: 71.98 kB / 0.6635 GB, free: 14.8 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.1443, allocations: 1.015 MB / 0.6645 GB, free: 13.74 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.1444, allocations: 66.52 kB / 0.6645 GB, free: 13.67 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.1445, allocations: 68.83 kB / 0.6646 GB, free: 13.6 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.1445, allocations: 0 / 0.6646 GB, free: 13.6 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000248/0.1448, allocations: 180.9 kB / 0.6648 GB, free: 13.4 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.1448, allocations: 4 kB / 0.6648 GB, free: 13.4 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0009078/0.1457, allocations: 0.6653 MB / 0.6654 GB, free: 12.72 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.1458, allocations: 77.11 kB / 0.6655 GB, free: 12.62 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003669/0.1495, allocations: 3.189 MB / 0.6686 GB, free: 9.457 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.1495, allocations: 37.7 kB / 0.6686 GB, free: 9.414 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001188/0.1507, allocations: 1.24 MB / 0.6699 GB, free: 8.172 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 5.688e-05/0.1508, allocations: 24.05 kB / 0.6699 GB, free: 8.148 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.1509, allocations: 73.72 kB / 0.67 GB, free: 8.07 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1511, allocations: 318 kB / 0.6703 GB, free: 7.754 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.131e-05/0.1512, allocations: 44 kB / 0.6703 GB, free: 7.711 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.464e-05/0.1513, allocations: 51.98 kB / 0.6703 GB, free: 7.66 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.1515, allocations: 164.3 kB / 0.6705 GB, free: 7.484 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1515, allocations: 3.938 kB / 0.6705 GB, free: 7.48 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007665/0.1523, allocations: 0.6262 MB / 0.6711 GB, free: 6.84 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 4.726e-05/0.1523, allocations: 40.81 kB / 0.6712 GB, free: 6.797 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1523, allocations: 0 / 0.6712 GB, free: 6.797 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1524, allocations: 0 / 0.6712 GB, free: 6.797 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.126e-05/0.1525, allocations: 4 kB / 0.6712 GB, free: 6.793 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1525, allocations: 4.234 kB / 0.6712 GB, free: 6.789 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.1527, allocations: 15.95 kB / 0.6712 GB, free: 6.773 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.1528, allocations: 112 kB / 0.6713 GB, free: 6.664 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.0008814/0.1537, allocations: 0.7426 MB / 0.672 GB, free: 5.906 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002804/0.154, allocations: 313.9 kB / 0.6723 GB, free: 5.598 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003571/0.1543, allocations: 333.8 kB / 0.6726 GB, free: 5.27 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1543, allocations: 0 / 0.6726 GB, free: 5.27 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1544, allocations: 0 / 0.6726 GB, free: 5.27 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1544, allocations: 0 / 0.6726 GB, free: 5.27 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.1555, allocations: 1.097 MB / 0.6737 GB, free: 4.129 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.1555, allocations: 11.86 kB / 0.6737 GB, free: 4.117 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.256e-05/0.1555, allocations: 8 kB / 0.6737 GB, free: 4.109 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.1555, allocations: 0 / 0.6737 GB, free: 4.109 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-05/0.1556, allocations: 32 kB / 0.6738 GB, free: 4.078 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1556, allocations: 0 / 0.6738 GB, free: 4.078 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1556, allocations: 3.984 kB / 0.6738 GB, free: 4.074 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007795/0.1564, allocations: 0.6746 MB / 0.6744 GB, free: 3.375 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003909/0.1568, allocations: 359 kB / 0.6748 GB, free: 3.004 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.1569, allocations: 12 kB / 0.6748 GB, free: 2.992 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.1571, allocations: 8 kB / 0.6748 GB, free: 2.984 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.1571, allocations: 7.984 kB / 0.6748 GB, free: 2.977 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.1572, allocations: 112.2 kB / 0.6749 GB, free: 2.867 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.00271/0.1599, allocations: 2.203 MB / 0.677 GB, free: 0.6836 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.8e-07/0.16, allocations: 0 / 0.677 GB, free: 0.6836 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004087/0.1604, allocations: 112 kB / 0.6771 GB, free: 0.5742 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.001211/0.1616, allocations: 1.287 MB / 0.6784 GB, free: 15.25 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0003394/0.1619, allocations: 199.4 kB / 0.6786 GB, free: 15.05 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1619, allocations: 0 / 0.6786 GB, free: 15.05 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.1621, allocations: 155.3 kB / 0.6787 GB, free: 14.88 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000661/0.1628, allocations: 232.6 kB / 0.679 GB, free: 14.65 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02117/0.184, allocations: 16.87 MB / 0.6954 GB, free: 13.67 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/0.1855, allocations: 1.699 MB / 0.6971 GB, free: 11.94 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.001193/0.1867, allocations: 0.5923 MB / 0.6977 GB, free: 11.34 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/0.1877, allocations: 0.9914 MB / 0.6986 GB, free: 10.35 MB / 0.5452 GB Notification: Performance of SimCode: time 3.236e-06/0.1877, allocations: 0 / 0.6986 GB, free: 10.35 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08126/0.269, allocations: 40.4 MB / 0.7381 GB, free: 2.035 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/14.93, allocations: 8.953 kB / 0.7381 GB, free: 2.031 MB / 0.5764 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_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_250.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches