Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002015/0.002015, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002614/0.002614, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1.127/1.127, allocations: 120.6 MB / 434.5 MB, free: 0.6211 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 63.89 kB / 0.6072 GB, free: 10.25 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1747, allocations: 85.85 MB / 0.691 GB, free: 4.184 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.004094/0.1788, allocations: 1.564 MB / 0.6925 GB, free: 2.609 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.002069/0.1808, allocations: 0.9849 MB / 0.6935 GB, free: 1.621 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.1809, allocations: 8 kB / 0.6935 GB, free: 1.613 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0003666/0.1813, allocations: 63.67 kB / 0.6935 GB, free: 1.551 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0005865/0.1819, allocations: 151.5 kB / 0.6937 GB, free: 1.402 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.1821, allocations: 71.73 kB / 0.6938 GB, free: 1.332 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.1824, allocations: 143.6 kB / 0.6939 GB, free: 1.191 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.844e-05/0.1825, allocations: 4 kB / 0.6939 GB, free: 1.188 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002601/0.1827, allocations: 79.69 kB / 0.694 GB, free: 1.109 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.1829, allocations: 59.75 kB / 0.694 GB, free: 1.051 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.1829, allocations: 8 kB / 0.694 GB, free: 1.043 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.183, allocations: 39.92 kB / 0.6941 GB, free: 1.004 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.1832, allocations: 75.73 kB / 0.6942 GB, free: 0.9297 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 8.721e-05/0.1833, allocations: 43.61 kB / 0.6942 GB, free: 0.8867 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.1836, allocations: 167.1 kB / 0.6944 GB, free: 0.7227 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1837, allocations: 0 / 0.6944 GB, free: 0.7227 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1837, allocations: 4 kB / 0.6944 GB, free: 0.7188 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.1837, allocations: 0 / 0.6944 GB, free: 0.7188 MB / 0.5139 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.0008274/0.1845, allocations: 428.8 kB / 0.6948 GB, free: 276 kB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.1845, allocations: 8.031 kB / 0.6948 GB, free: 268 kB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.562e-05/0.1846, allocations: 24.8 kB / 0.6948 GB, free: 244 kB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006199/0.1852, allocations: 281.1 kB / 0.6951 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.1853, allocations: 384 / 0.6951 GB, free: 15.93 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.1853, allocations: 12.12 kB / 0.6951 GB, free: 15.92 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.1854, allocations: 45.67 kB / 0.6951 GB, free: 15.87 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1855, allocations: 4 kB / 0.6951 GB, free: 15.87 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1855, allocations: 4 kB / 0.6951 GB, free: 15.86 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.1855, allocations: 3.984 kB / 0.6951 GB, free: 15.86 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.215e-05/0.1855, allocations: 19.92 kB / 0.6952 GB, free: 15.84 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002483/0.1858, allocations: 161.3 kB / 0.6953 GB, free: 15.65 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.186, allocations: 54.55 kB / 0.6954 GB, free: 15.59 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.458e-05/0.186, allocations: 16.86 kB / 0.6954 GB, free: 15.57 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.186, allocations: 0 / 0.6954 GB, free: 15.57 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.1862, allocations: 75.31 kB / 0.6954 GB, free: 15.48 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1862, allocations: 4 kB / 0.6954 GB, free: 15.48 MB / 0.5295 GB Notification: Performance of matching and sorting (n=5): time 0.0003211/0.1866, allocations: 109.5 kB / 0.6956 GB, free: 15.37 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.1866, allocations: 51.41 kB / 0.6956 GB, free: 15.3 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003369/0.1869, allocations: 292.2 kB / 0.6959 GB, free: 15.01 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.187, allocations: 33.7 kB / 0.6959 GB, free: 14.97 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.1871, allocations: 136.1 kB / 0.696 GB, free: 14.83 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.1871, allocations: 15.84 kB / 0.6961 GB, free: 14.82 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.1872, allocations: 17.72 kB / 0.6961 GB, free: 14.79 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1873, allocations: 334.8 kB / 0.6964 GB, free: 14.46 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.385e-05/0.1874, allocations: 19.98 kB / 0.6964 GB, free: 14.44 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.001e-05/0.1875, allocations: 37.61 kB / 0.6965 GB, free: 14.4 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.1876, allocations: 45.66 kB / 0.6965 GB, free: 14.35 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1876, allocations: 0 / 0.6965 GB, free: 14.35 MB / 0.5295 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001743/0.1877, allocations: 97.47 kB / 0.6966 GB, free: 14.25 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1878, allocations: 6.656 kB / 0.6966 GB, free: 14.24 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1878, allocations: 0 / 0.6966 GB, free: 14.24 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.1878, allocations: 4 kB / 0.6966 GB, free: 14.24 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.266e-05/0.1879, allocations: 11.94 kB / 0.6966 GB, free: 14.23 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1879, allocations: 8.328 kB / 0.6966 GB, free: 14.22 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.879e-05/0.1879, allocations: 11.94 kB / 0.6966 GB, free: 14.21 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1879, allocations: 4 kB / 0.6966 GB, free: 14.2 MB / 0.5295 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.0001509/0.1881, allocations: 145.8 kB / 0.6968 GB, free: 14.05 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.1881, allocations: 23.8 kB / 0.6968 GB, free: 14.03 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.1884, allocations: 111 kB / 0.6969 GB, free: 13.91 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1884, allocations: 0 / 0.6969 GB, free: 13.91 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1884, allocations: 0 / 0.6969 GB, free: 13.91 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1884, allocations: 0 / 0.6969 GB, free: 13.91 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.1885, allocations: 165.2 kB / 0.6971 GB, free: 13.72 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1886, allocations: 4 kB / 0.6971 GB, free: 13.72 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.885e-05/0.1886, allocations: 11.94 kB / 0.6971 GB, free: 13.71 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1886, allocations: 3.938 kB / 0.6971 GB, free: 13.7 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.1886, allocations: 0 / 0.6971 GB, free: 13.7 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1886, allocations: 0 / 0.6971 GB, free: 13.7 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1886, allocations: 0 / 0.6971 GB, free: 13.7 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.1888, allocations: 125 kB / 0.6972 GB, free: 13.56 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.1889, allocations: 31.78 kB / 0.6972 GB, free: 13.53 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.1889, allocations: 0 / 0.6972 GB, free: 13.53 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.813e-05/0.1889, allocations: 7.984 kB / 0.6972 GB, free: 13.52 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.189, allocations: 7.938 kB / 0.6972 GB, free: 13.52 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.189, allocations: 4 kB / 0.6972 GB, free: 13.51 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0002338/0.1892, allocations: 219 kB / 0.6975 GB, free: 13.3 MB / 0.5295 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1892, allocations: 0 / 0.6975 GB, free: 13.3 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002299/0.1895, allocations: 23.94 kB / 0.6975 GB, free: 13.27 MB / 0.5295 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001738/0.1912, allocations: 426 kB / 0.6979 GB, free: 13.03 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.000184/0.1914, allocations: 47.97 kB / 0.6979 GB, free: 12.98 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1914, allocations: 0 / 0.6979 GB, free: 12.98 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 6.904e-05/0.1915, allocations: 27.98 kB / 0.698 GB, free: 12.96 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.1918, allocations: 51.42 kB / 0.698 GB, free: 12.91 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006169/0.1924, allocations: 327.9 kB / 0.6983 GB, free: 12.56 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.1925, allocations: 131.9 kB / 0.6984 GB, free: 12.42 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.1926, allocations: 41.59 kB / 0.6985 GB, free: 12.37 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.647e-05/0.1927, allocations: 23.44 kB / 0.6985 GB, free: 12.35 MB / 0.5295 GB Notification: Performance of SimCode: time 4.61e-07/0.1927, allocations: 0 / 0.6985 GB, free: 12.35 MB / 0.5295 GB Notification: Performance of Templates: time 0.005756/0.1984, allocations: 2 MB / 0.7005 GB, free: 10.37 MB / 0.5295 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.211097287014127]