Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.CombiTimeTable_N_250,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_250",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_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.001523/0.001523, allocations: 109.7 kB / 17.06 MB, free: 5.812 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.001711/0.001711, allocations: 200 kB / 18.01 MB, free: 4.941 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.374/1.374, 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.9727/0.9727, allocations: 119.3 MB / 411.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 61.92 kB / 0.5704 GB, free: 39.97 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1496, allocations: 80.7 MB / 0.6492 GB, free: 13.55 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250): time 0.003019/0.1527, allocations: 1.57 MB / 0.6508 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.1542, allocations: 0.8924 MB / 0.6516 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.953e-05/0.1543, allocations: 3.938 kB / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0006997/0.155, allocations: 483.2 kB / 0.6521 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0005511/0.1556, allocations: 315.4 kB / 0.6524 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.1559, allocations: 103.6 kB / 0.6525 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0006289/0.1565, allocations: 0.6319 MB / 0.6531 GB, free: 9.559 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.1566, allocations: 15.98 kB / 0.6531 GB, free: 9.543 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003768/0.157, allocations: 331.3 kB / 0.6534 GB, free: 9.219 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005606/0.1576, allocations: 0.5422 MB / 0.654 GB, free: 8.676 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.815e-05/0.1577, allocations: 36 kB / 0.654 GB, free: 8.641 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.1578, allocations: 59.98 kB / 0.6541 GB, free: 8.582 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001397/0.1592, allocations: 1.263 MB / 0.6553 GB, free: 7.316 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0006286/0.1599, allocations: 0.735 MB / 0.656 GB, free: 6.574 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.1614, allocations: 1.649 MB / 0.6576 GB, free: 4.914 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1614, allocations: 0 / 0.6576 GB, free: 4.914 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.714e-06/0.1615, allocations: 0 / 0.6576 GB, free: 4.914 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.916e-05/0.1615, allocations: 0 / 0.6576 GB, free: 4.914 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.003335/0.1648, allocations: 2.89 MB / 0.6605 GB, free: 1.957 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.1649, allocations: 11.89 kB / 0.6605 GB, free: 1.945 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.596e-05/0.1649, allocations: 34.69 kB / 0.6605 GB, free: 1.902 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003618/0.1653, allocations: 310.8 kB / 0.6608 GB, free: 1.598 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005146/0.1705, allocations: 3.394 MB / 0.6641 GB, free: 14.15 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.1705, allocations: 8.312 kB / 0.6641 GB, free: 14.14 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.1705, allocations: 7.938 kB / 0.6641 GB, free: 14.14 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.1707, allocations: 49.66 kB / 0.6642 GB, free: 14.08 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1707, allocations: 0 / 0.6642 GB, free: 14.08 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1708, allocations: 4 kB / 0.6642 GB, free: 14.08 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1708, allocations: 0 / 0.6642 GB, free: 14.08 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.423e-05/0.1708, allocations: 12 kB / 0.6642 GB, free: 14.07 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.1721, allocations: 1.008 MB / 0.6652 GB, free: 13.02 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.1723, allocations: 58.48 kB / 0.6652 GB, free: 12.95 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.1724, allocations: 16.86 kB / 0.6652 GB, free: 12.93 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.1724, allocations: 7.984 kB / 0.6653 GB, free: 12.92 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.1726, allocations: 67.39 kB / 0.6653 GB, free: 12.84 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 1.833e-06/0.1726, allocations: 0 / 0.6653 GB, free: 12.84 MB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.0006715/0.1733, allocations: 395.6 kB / 0.6657 GB, free: 12.45 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.1733, allocations: 59.34 kB / 0.6657 GB, free: 12.38 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004463/0.1778, allocations: 3.284 MB / 0.669 GB, free: 9.117 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.1779, allocations: 33.7 kB / 0.669 GB, free: 9.078 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001362/0.1793, allocations: 1.315 MB / 0.6703 GB, free: 7.762 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 5.74e-05/0.1793, allocations: 7.906 kB / 0.6703 GB, free: 7.754 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-05/0.1794, allocations: 29.7 kB / 0.6703 GB, free: 7.719 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1796, allocations: 310 kB / 0.6706 GB, free: 7.41 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.339e-05/0.1797, allocations: 12 kB / 0.6706 GB, free: 7.398 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.353e-05/0.1798, allocations: 29.64 kB / 0.6706 GB, free: 7.363 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.1799, allocations: 45.7 kB / 0.6707 GB, free: 7.312 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.1799, allocations: 3.938 kB / 0.6707 GB, free: 7.309 MB / 0.5139 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006609/0.1806, allocations: 387.8 kB / 0.6711 GB, free: 6.922 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.1806, allocations: 8 kB / 0.6711 GB, free: 6.914 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.1806, allocations: 64 / 0.6711 GB, free: 6.914 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.1806, allocations: 4 kB / 0.6711 GB, free: 6.91 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.482e-05/0.1807, allocations: 11.98 kB / 0.6711 GB, free: 6.898 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1807, allocations: 4.094 kB / 0.6711 GB, free: 6.895 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.181, allocations: 19.94 kB / 0.6711 GB, free: 6.875 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.181, allocations: 7.984 kB / 0.6711 GB, free: 6.867 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.0009205/0.1819, allocations: 0.7018 MB / 0.6718 GB, free: 6.156 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003351/0.1823, allocations: 321.9 kB / 0.6721 GB, free: 5.84 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003801/0.1826, allocations: 337.8 kB / 0.6724 GB, free: 5.508 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1827, allocations: 4 kB / 0.6724 GB, free: 5.504 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1827, allocations: 0 / 0.6724 GB, free: 5.504 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1827, allocations: 0 / 0.6724 GB, free: 5.504 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.1838, allocations: 1.101 MB / 0.6735 GB, free: 4.359 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1838, allocations: 0 / 0.6735 GB, free: 4.359 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.745e-05/0.1839, allocations: 4 kB / 0.6735 GB, free: 4.355 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1839, allocations: 3.984 kB / 0.6735 GB, free: 4.352 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1839, allocations: 4 kB / 0.6735 GB, free: 4.348 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1839, allocations: 4 kB / 0.6735 GB, free: 4.344 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1839, allocations: 0 / 0.6735 GB, free: 4.344 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005211/0.1844, allocations: 441.2 kB / 0.6739 GB, free: 3.895 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003735/0.1848, allocations: 315 kB / 0.6742 GB, free: 3.566 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.185, allocations: 12 kB / 0.6743 GB, free: 3.555 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.1851, allocations: 11.98 kB / 0.6743 GB, free: 3.543 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.1852, allocations: 8 kB / 0.6743 GB, free: 3.535 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.1852, allocations: 4 kB / 0.6743 GB, free: 3.531 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.002985/0.1882, allocations: 2.267 MB / 0.6765 GB, free: 1.285 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1882, allocations: 0 / 0.6765 GB, free: 1.285 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003804/0.1886, allocations: 88 kB / 0.6766 GB, free: 1.199 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.002307/0.1909, allocations: 1.303 MB / 0.6778 GB, free: 24 kB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0002334/0.1911, allocations: 43.97 kB / 0.6779 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1912, allocations: 0 / 0.6779 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 6.843e-05/0.1912, allocations: 16 kB / 0.6779 GB, free: 15.96 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007991/0.192, allocations: 248.8 kB / 0.6781 GB, free: 15.72 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.023/0.2151, allocations: 16.66 MB / 0.6944 GB, free: 14.84 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001431/0.2165, allocations: 1.71 MB / 0.6961 GB, free: 13.09 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.001414/0.218, allocations: 0.6941 MB / 0.6968 GB, free: 12.39 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001271/0.2193, allocations: 1.147 MB / 0.6979 GB, free: 11.24 MB / 0.5452 GB Notification: Performance of SimCode: time 9.11e-07/0.2193, allocations: 0 / 0.6979 GB, free: 11.24 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08133/0.3006, allocations: 38.62 MB / 0.7356 GB, free: 4.734 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.51/18.81, allocations: 7.859 kB / 0.7356 GB, free: 4.73 MB / 0.5764 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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_CombiTimeTable_N_250.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches