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.001191/0.001191, 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.001167/0.001167, allocations: 198.8 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.383/1.383, 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.015/1.015, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 61.77 kB / 0.5704 GB, free: 40.09 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1706, allocations: 80.69 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.003096/0.1738, allocations: 1.585 MB / 0.6508 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1754, allocations: 0.8924 MB / 0.6516 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.235e-05/0.1755, allocations: 0 / 0.6516 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0005518/0.1761, allocations: 259.5 kB / 0.6519 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0005279/0.1767, allocations: 211.5 kB / 0.6521 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.177, allocations: 107.6 kB / 0.6522 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004059/0.1775, allocations: 377.3 kB / 0.6526 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.098e-05/0.1775, allocations: 11.98 kB / 0.6526 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.1778, allocations: 189.5 kB / 0.6527 GB, free: 9.953 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003281/0.1781, allocations: 299.5 kB / 0.653 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 4.951e-05/0.1782, allocations: 20 kB / 0.6531 GB, free: 9.637 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.1783, allocations: 43.98 kB / 0.6531 GB, free: 9.594 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0006622/0.179, allocations: 0.6411 MB / 0.6537 GB, free: 8.953 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002948/0.1793, allocations: 388.2 kB / 0.6541 GB, free: 8.57 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0008433/0.1802, allocations: 0.8773 MB / 0.6549 GB, free: 7.688 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1802, allocations: 0 / 0.6549 GB, free: 7.688 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1802, allocations: 0 / 0.6549 GB, free: 7.688 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.1802, allocations: 0 / 0.6549 GB, free: 7.688 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.001848/0.1821, allocations: 1.641 MB / 0.6566 GB, free: 5.984 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.1821, allocations: 15.89 kB / 0.6566 GB, free: 5.969 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/0.1822, allocations: 30.75 kB / 0.6566 GB, free: 5.93 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.1823, allocations: 163.8 kB / 0.6568 GB, free: 5.77 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002727/0.1851, allocations: 1.796 MB / 0.6585 GB, free: 3.902 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1851, allocations: 8.375 kB / 0.6585 GB, free: 3.895 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.1851, allocations: 3.938 kB / 0.6585 GB, free: 3.891 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1853, allocations: 49.61 kB / 0.6586 GB, free: 3.836 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1853, allocations: 0 / 0.6586 GB, free: 3.836 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1854, allocations: 4 kB / 0.6586 GB, free: 3.832 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1854, allocations: 0 / 0.6586 GB, free: 3.832 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.191e-05/0.1854, allocations: 15.98 kB / 0.6586 GB, free: 3.816 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006123/0.1861, allocations: 0.5783 MB / 0.6591 GB, free: 3.18 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.1863, allocations: 62.55 kB / 0.6592 GB, free: 3.109 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.653e-05/0.1863, allocations: 20.84 kB / 0.6592 GB, free: 3.086 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.1864, allocations: 0 / 0.6592 GB, free: 3.086 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.1865, allocations: 75.28 kB / 0.6593 GB, free: 3 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=5): time 1.472e-06/0.1866, allocations: 0 / 0.6593 GB, free: 3 MB / 0.4983 GB Notification: Performance of matching and sorting (n=5): time 0.000457/0.187, allocations: 244.6 kB / 0.6595 GB, free: 2.754 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.1871, allocations: 51.41 kB / 0.6596 GB, free: 2.691 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.1889, allocations: 1.712 MB / 0.6613 GB, free: 0.9297 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.189, allocations: 29.7 kB / 0.6613 GB, free: 0.8945 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005323/0.1895, allocations: 0.6767 MB / 0.6619 GB, free: 216 kB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.1895, allocations: 11.89 kB / 0.662 GB, free: 204 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.862e-05/0.1896, allocations: 21.72 kB / 0.662 GB, free: 176 kB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1897, allocations: 310 kB / 0.6623 GB, free: 15.86 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.877e-05/0.1898, allocations: 19.94 kB / 0.6623 GB, free: 15.84 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.189e-05/0.1899, allocations: 25.7 kB / 0.6623 GB, free: 15.81 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.19, allocations: 45.7 kB / 0.6624 GB, free: 15.76 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.19, 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.0003326/0.1904, allocations: 240.5 kB / 0.6626 GB, free: 15.52 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.1904, allocations: 7.156 kB / 0.6626 GB, free: 15.51 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.1904, allocations: 4 kB / 0.6626 GB, free: 15.51 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1904, allocations: 0 / 0.6626 GB, free: 15.51 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.55e-05/0.1905, allocations: 12 kB / 0.6626 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.1905, allocations: 0 / 0.6626 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.1907, allocations: 11.94 kB / 0.6626 GB, free: 15.48 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.1907, allocations: 7.938 kB / 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.0004503/0.1912, allocations: 422.8 kB / 0.663 GB, free: 15.05 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.1913, allocations: 166.9 kB / 0.6632 GB, free: 14.89 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.1915, allocations: 175 kB / 0.6634 GB, free: 14.71 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1915, allocations: 0 / 0.6634 GB, free: 14.71 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1915, allocations: 0 / 0.6634 GB, free: 14.71 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1916, allocations: 0 / 0.6634 GB, free: 14.71 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005779/0.1921, allocations: 0.6371 MB / 0.664 GB, free: 14.02 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1921, allocations: 0 / 0.664 GB, free: 14.02 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.908e-05/0.1922, allocations: 8 kB / 0.664 GB, free: 14.01 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1922, allocations: 0 / 0.664 GB, free: 14.01 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.1922, allocations: 0 / 0.664 GB, free: 14.01 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1922, allocations: 4 kB / 0.664 GB, free: 14.01 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1922, allocations: 0 / 0.664 GB, free: 14.01 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.1926, allocations: 272.9 kB / 0.6643 GB, free: 13.72 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.1928, allocations: 208.1 kB / 0.6645 GB, free: 13.5 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.097e-05/0.1929, allocations: 7.984 kB / 0.6645 GB, free: 13.49 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.193, allocations: 8 kB / 0.6645 GB, free: 13.48 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.193, allocations: 7.922 kB / 0.6645 GB, free: 13.47 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.1931, allocations: 4 kB / 0.6645 GB, free: 13.47 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.001388/0.1945, allocations: 1.191 MB / 0.6656 GB, free: 12.25 MB / 0.5139 GB Notification: Performance of sort global known variables: time 3.91e-07/0.1945, allocations: 4 kB / 0.6656 GB, free: 12.25 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003073/0.1948, allocations: 59.89 kB / 0.6657 GB, free: 12.19 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.001494/0.1963, allocations: 1.102 MB / 0.6668 GB, free: 11.21 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0001842/0.1965, allocations: 47.92 kB / 0.6668 GB, free: 11.17 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1965, allocations: 4.062 kB / 0.6668 GB, free: 11.16 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 6.345e-05/0.1966, 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.0005373/0.1971, allocations: 134.5 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.01099/0.2081, allocations: 8.934 MB / 0.6757 GB, free: 1.852 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007813/0.2089, allocations: 1.192 MB / 0.6769 GB, free: 0.6328 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0007255/0.2097, allocations: 370.1 kB / 0.6772 GB, free: 272 kB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006306/0.2103, allocations: 0.5618 MB / 0.6778 GB, free: 15.7 MB / 0.5295 GB Notification: Performance of SimCode: time 1.643e-06/0.2103, allocations: 0 / 0.6778 GB, free: 15.7 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05289/0.2632, allocations: 20.68 MB / 0.698 GB, free: 11.16 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.06, 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