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.001205/0.001205, allocations: 109.7 kB / 17.07 MB, free: 5.996 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.001266/0.001266, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.402/1.402, 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 1.048/1.048, allocations: 119.3 MB / 411.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 66.48 kB / 0.5704 GB, free: 40.05 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1581, 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.003096/0.1613, allocations: 1.573 MB / 0.6508 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.1628, allocations: 0.8963 MB / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.1629, allocations: 0 / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0006271/0.1636, allocations: 483.2 kB / 0.6521 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0005505/0.1642, allocations: 319.4 kB / 0.6524 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.1646, allocations: 107.5 kB / 0.6525 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005834/0.1652, allocations: 0.628 MB / 0.6531 GB, free: 9.559 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.973e-05/0.1652, allocations: 23.95 kB / 0.6532 GB, free: 9.535 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004424/0.1657, allocations: 323.4 kB / 0.6535 GB, free: 9.219 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005467/0.1662, allocations: 0.5422 MB / 0.654 GB, free: 8.676 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 9.386e-05/0.1663, allocations: 36 kB / 0.654 GB, free: 8.641 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.1665, allocations: 63.97 kB / 0.6541 GB, free: 8.578 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.1678, allocations: 1.266 MB / 0.6553 GB, free: 7.309 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0008352/0.1687, allocations: 0.7272 MB / 0.656 GB, free: 6.574 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.1703, allocations: 1.645 MB / 0.6576 GB, free: 4.918 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1703, allocations: 4 kB / 0.6576 GB, free: 4.914 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1703, allocations: 0 / 0.6576 GB, free: 4.914 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.398e-05/0.1704, 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.003815/0.1742, allocations: 2.893 MB / 0.6605 GB, free: 1.953 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.1742, allocations: 11.89 kB / 0.6605 GB, free: 1.941 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/0.1743, allocations: 34.75 kB / 0.6605 GB, free: 1.898 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004074/0.1747, allocations: 310.8 kB / 0.6608 GB, free: 1.594 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005545/0.1803, allocations: 3.39 MB / 0.6641 GB, free: 14.15 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.1803, allocations: 4.375 kB / 0.6641 GB, free: 14.15 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.1804, allocations: 3.938 kB / 0.6641 GB, free: 14.14 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.1806, allocations: 45.67 kB / 0.6642 GB, free: 14.09 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1806, allocations: 0 / 0.6642 GB, free: 14.09 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1806, allocations: 11.94 kB / 0.6642 GB, free: 14.08 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1806, allocations: 0 / 0.6642 GB, free: 14.08 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.627e-05/0.1807, allocations: 19.92 kB / 0.6642 GB, free: 14.06 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.1821, allocations: 1.004 MB / 0.6652 GB, free: 13.02 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.1823, allocations: 54.56 kB / 0.6652 GB, free: 12.95 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.857e-05/0.1824, allocations: 20.84 kB / 0.6653 GB, free: 12.93 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.1824, allocations: 8 kB / 0.6653 GB, free: 12.92 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.1826, allocations: 67.33 kB / 0.6653 GB, free: 12.84 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 1.914e-06/0.1826, allocations: 0 / 0.6653 GB, free: 12.84 MB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.0007673/0.1834, allocations: 395.6 kB / 0.6657 GB, free: 12.45 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.1834, allocations: 55.41 kB / 0.6658 GB, free: 12.38 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004453/0.1879, allocations: 3.284 MB / 0.669 GB, free: 9.121 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.188, allocations: 29.7 kB / 0.669 GB, free: 9.086 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001205/0.1892, allocations: 1.318 MB / 0.6703 GB, free: 7.766 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 6.306e-05/0.1893, allocations: 19.88 kB / 0.6703 GB, free: 7.746 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-05/0.1893, allocations: 21.72 kB / 0.6703 GB, free: 7.719 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1895, allocations: 306 kB / 0.6706 GB, free: 7.414 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.068e-05/0.1895, allocations: 19.92 kB / 0.6706 GB, free: 7.395 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.02e-05/0.1896, allocations: 25.72 kB / 0.6707 GB, free: 7.363 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.1898, allocations: 49.64 kB / 0.6707 GB, free: 7.309 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.1898, allocations: 3.938 kB / 0.6707 GB, free: 7.305 MB / 0.5139 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006233/0.1904, allocations: 391.8 kB / 0.6711 GB, free: 6.914 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.1904, allocations: 11.98 kB / 0.6711 GB, free: 6.902 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1904, allocations: 0 / 0.6711 GB, free: 6.902 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1905, allocations: 0 / 0.6711 GB, free: 6.902 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.122e-05/0.1906, allocations: 8 kB / 0.6711 GB, free: 6.895 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1906, allocations: 0 / 0.6711 GB, free: 6.895 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/0.1909, allocations: 19.97 kB / 0.6711 GB, free: 6.875 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.1909, allocations: 4 kB / 0.6711 GB, free: 6.871 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.0008369/0.1918, allocations: 0.7018 MB / 0.6718 GB, free: 6.16 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003451/0.1921, allocations: 321.9 kB / 0.6721 GB, free: 5.844 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00036/0.1925, allocations: 334 kB / 0.6724 GB, free: 5.516 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1925, allocations: 4 kB / 0.6724 GB, free: 5.512 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1925, allocations: 0 / 0.6724 GB, free: 5.512 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1925, allocations: 3.984 kB / 0.6724 GB, free: 5.508 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.1936, allocations: 1.094 MB / 0.6735 GB, free: 4.371 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1936, allocations: 0 / 0.6735 GB, free: 4.371 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.142e-05/0.1937, allocations: 15.92 kB / 0.6735 GB, free: 4.355 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1937, allocations: 0 / 0.6735 GB, free: 4.355 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1937, allocations: 0 / 0.6735 GB, free: 4.355 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.1937, allocations: 4 kB / 0.6735 GB, free: 4.352 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.1937, allocations: 3.984 kB / 0.6735 GB, free: 4.348 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005436/0.1943, allocations: 441.2 kB / 0.6739 GB, free: 3.898 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004196/0.1947, allocations: 323 kB / 0.6743 GB, free: 3.562 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.1948, allocations: 12 kB / 0.6743 GB, free: 3.551 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.195, allocations: 12 kB / 0.6743 GB, free: 3.539 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.1951, allocations: 0 / 0.6743 GB, free: 3.539 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.1951, allocations: 8.109 kB / 0.6743 GB, free: 3.531 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.00274/0.1978, allocations: 2.263 MB / 0.6765 GB, free: 1.289 MB / 0.5139 GB Notification: Performance of sort global known variables: time 2.91e-07/0.1979, allocations: 0 / 0.6765 GB, free: 1.289 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004513/0.1983, allocations: 95.98 kB / 0.6766 GB, free: 1.195 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.001685/0.2, allocations: 1.293 MB / 0.6779 GB, free: 24 kB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0002189/0.2003, allocations: 47.92 kB / 0.6779 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2003, allocations: 0 / 0.6779 GB, free: 15.98 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 6.744e-05/0.2003, 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.0008464/0.2012, allocations: 247.4 kB / 0.6781 GB, free: 15.71 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02268/0.2239, allocations: 16.66 MB / 0.6944 GB, free: 14.83 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001326/0.2253, allocations: 1.703 MB / 0.6961 GB, free: 13.09 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.001478/0.2268, allocations: 0.7019 MB / 0.6968 GB, free: 12.39 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/0.228, allocations: 1.151 MB / 0.6979 GB, free: 11.23 MB / 0.5452 GB Notification: Performance of SimCode: time 1.272e-06/0.228, allocations: 4 kB / 0.6979 GB, free: 11.23 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07858/0.3066, allocations: 38.61 MB / 0.7356 GB, free: 4.734 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.03/19.34, allocations: 11.03 kB / 0.7356 GB, free: 4.727 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