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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 106 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.001877/0.001877, allocations: 197.4 kB / 18 MB, free: 5.168 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.468/1.468, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9879/0.9879, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 70.16 kB / 0.5704 GB, free: 40.01 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1685, allocations: 80.69 MB / 0.6492 GB, free: 13.6 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.003099/0.1717, allocations: 1.396 MB / 0.6506 GB, free: 12.19 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.1728, allocations: 0.5675 MB / 0.6511 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.418e-05/0.1729, allocations: 0 / 0.6511 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.1731, allocations: 19.92 kB / 0.6511 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.1734, allocations: 63.8 kB / 0.6512 GB, free: 11.54 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.1737, allocations: 79.77 kB / 0.6513 GB, free: 11.46 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.1739, allocations: 91.81 kB / 0.6514 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.1739, allocations: 4 kB / 0.6514 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.174, allocations: 47.83 kB / 0.6514 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.1742, allocations: 51.83 kB / 0.6515 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.1742, allocations: 4 kB / 0.6515 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.1744, allocations: 79.92 kB / 0.6515 GB, free: 11.19 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.1745, allocations: 59.81 kB / 0.6516 GB, free: 11.13 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 7.952e-05/0.1746, allocations: 47.61 kB / 0.6517 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.1749, allocations: 151.6 kB / 0.6518 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1749, allocations: 4 kB / 0.6518 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1749, allocations: 0 / 0.6518 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1749, allocations: 0 / 0.6518 GB, free: 10.93 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.000669/0.1756, allocations: 488 kB / 0.6523 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.1756, allocations: 15.89 kB / 0.6523 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.775e-05/0.1757, allocations: 42.67 kB / 0.6523 GB, free: 10.33 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.1757, allocations: 16.84 kB / 0.6523 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005215/0.1763, allocations: 313 kB / 0.6526 GB, free: 9.969 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1763, allocations: 4.375 kB / 0.6526 GB, free: 9.965 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.1763, allocations: 4.375 kB / 0.6526 GB, free: 9.961 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.1764, allocations: 49.81 kB / 0.6527 GB, free: 9.906 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1765, allocations: 0 / 0.6527 GB, free: 9.906 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1765, allocations: 4 kB / 0.6527 GB, free: 9.902 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1765, allocations: 0 / 0.6527 GB, free: 9.902 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.793e-05/0.1766, allocations: 27.92 kB / 0.6527 GB, free: 9.875 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002431/0.1768, allocations: 201.6 kB / 0.6529 GB, free: 9.629 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 8.294e-05/0.1769, allocations: 46.56 kB / 0.653 GB, free: 9.574 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.39e-05/0.177, allocations: 28.86 kB / 0.653 GB, free: 9.543 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.177, allocations: 0 / 0.653 GB, free: 9.543 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002877/0.1773, allocations: 105.1 kB / 0.6531 GB, free: 9.422 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.1773, allocations: 0 / 0.6531 GB, free: 9.422 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0003559/0.1777, allocations: 171.3 kB / 0.6532 GB, free: 9.242 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.616e-05/0.1777, allocations: 89.03 kB / 0.6533 GB, free: 9.137 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.178, allocations: 236.2 kB / 0.6536 GB, free: 8.895 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.178, allocations: 25.7 kB / 0.6536 GB, free: 8.863 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.1782, allocations: 116.1 kB / 0.6537 GB, free: 8.746 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.1782, allocations: 19.84 kB / 0.6537 GB, free: 8.727 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.1783, allocations: 29.7 kB / 0.6537 GB, free: 8.691 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0002746/0.1785, allocations: 326.8 kB / 0.6541 GB, free: 8.363 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.279e-05/0.1786, allocations: 19.98 kB / 0.6541 GB, free: 8.344 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.447e-05/0.1786, allocations: 12 kB / 0.6541 GB, free: 8.332 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.1789, allocations: 112.2 kB / 0.6542 GB, free: 8.207 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1789, allocations: 4 kB / 0.6542 GB, free: 8.203 MB / 0.4983 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000286/0.1792, allocations: 147.2 kB / 0.6543 GB, free: 8.047 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 5.035e-05/0.1792, allocations: 41.69 kB / 0.6544 GB, free: 8 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1793, allocations: 0 / 0.6544 GB, free: 8 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1793, allocations: 0 / 0.6544 GB, free: 8 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-05/0.1794, allocations: 7.938 kB / 0.6544 GB, free: 7.992 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1794, allocations: 0 / 0.6544 GB, free: 7.992 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.531e-05/0.1794, allocations: 7.984 kB / 0.6544 GB, free: 7.984 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.1795, allocations: 8 kB / 0.6544 GB, free: 7.977 MB / 0.4983 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.0001719/0.1796, allocations: 175.5 kB / 0.6546 GB, free: 7.789 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.1797, allocations: 23.8 kB / 0.6546 GB, free: 7.766 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.1797, allocations: 21.39 kB / 0.6546 GB, free: 7.742 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1797, allocations: 4 kB / 0.6546 GB, free: 7.738 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.1797, allocations: 0 / 0.6546 GB, free: 7.738 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1798, allocations: 96 / 0.6546 GB, free: 7.738 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.18, allocations: 213.5 kB / 0.6548 GB, free: 7.48 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.18, allocations: 3.938 kB / 0.6548 GB, free: 7.477 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.061e-05/0.18, allocations: 4 kB / 0.6548 GB, free: 7.473 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.18, allocations: 4 kB / 0.6548 GB, free: 7.469 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.18, allocations: 8 kB / 0.6548 GB, free: 7.461 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.18, allocations: 4 kB / 0.6548 GB, free: 7.457 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.18, allocations: 240 / 0.6548 GB, free: 7.457 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.1803, allocations: 202.6 kB / 0.655 GB, free: 7.234 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.1805, allocations: 108.9 kB / 0.6551 GB, free: 7.109 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.1805, allocations: 7.938 kB / 0.6551 GB, free: 7.102 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.136e-05/0.1805, allocations: 3.984 kB / 0.6551 GB, free: 7.098 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.1806, allocations: 8 kB / 0.6552 GB, free: 7.09 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.1806, allocations: 12 kB / 0.6552 GB, free: 7.078 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001653/0.1808, allocations: 173.6 kB / 0.6553 GB, free: 6.91 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1808, allocations: 0 / 0.6553 GB, free: 6.91 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002541/0.181, allocations: 35.94 kB / 0.6554 GB, free: 6.875 MB / 0.4983 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.0008021/0.1819, allocations: 0.7512 MB / 0.6561 GB, free: 6.09 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002516/0.1821, allocations: 147.3 kB / 0.6562 GB, free: 5.934 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1821, allocations: 0 / 0.6562 GB, free: 5.934 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.1822, allocations: 107.4 kB / 0.6563 GB, free: 5.816 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.1825, allocations: 16.67 kB / 0.6564 GB, free: 5.797 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.1849, allocations: 1.943 MB / 0.6583 GB, free: 3.762 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.1853, allocations: 0.7278 MB / 0.659 GB, free: 3.008 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 7.759e-05/0.1854, allocations: 25.81 kB / 0.659 GB, free: 2.984 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.58e-05/0.1854, allocations: 47.42 kB / 0.659 GB, free: 2.938 MB / 0.4983 GB Notification: Performance of SimCode: time 2.71e-07/0.1854, allocations: 3.938 kB / 0.659 GB, free: 2.934 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/0.2131, allocations: 3.473 MB / 0.6624 GB, free: 15.56 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.935/8.148, allocations: 4 kB / 0.6624 GB, free: 15.55 MB / 0.5139 GB (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) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches