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.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.001452/0.001452, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.00154/0.00154, allocations: 211.4 kB / 23.73 MB, free: 4.41 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.119/1.119, allocations: 120.6 MB / 434.5 MB, free: 0.6797 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.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") [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.002047/0.002047, allocations: 63.91 kB / 0.6071 GB, free: 10.31 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1755, allocations: 85.87 MB / 0.691 GB, free: 4.227 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.003393/0.1789, allocations: 1.4 MB / 0.6924 GB, free: 2.82 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.1802, allocations: 0.5493 MB / 0.6929 GB, free: 2.266 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.861e-05/0.1803, allocations: 0 / 0.6929 GB, free: 2.266 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.1804, allocations: 23.86 kB / 0.6929 GB, free: 2.242 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.1808, allocations: 71.83 kB / 0.693 GB, free: 2.172 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.1811, allocations: 71.8 kB / 0.6931 GB, free: 2.102 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.1813, allocations: 91.73 kB / 0.6932 GB, free: 2.012 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.1814, allocations: 0 / 0.6932 GB, free: 2.012 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.1816, allocations: 63.83 kB / 0.6932 GB, free: 1.949 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.1818, allocations: 51.88 kB / 0.6933 GB, free: 1.898 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.1818, allocations: 4 kB / 0.6933 GB, free: 1.895 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.1819, allocations: 75.86 kB / 0.6933 GB, free: 1.82 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.1821, allocations: 59.83 kB / 0.6934 GB, free: 1.762 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 8.07e-05/0.1822, allocations: 35.72 kB / 0.6934 GB, free: 1.727 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.1825, allocations: 163.2 kB / 0.6936 GB, free: 1.566 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1825, allocations: 0 / 0.6936 GB, free: 1.566 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1825, allocations: 0 / 0.6936 GB, free: 1.566 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.1825, allocations: 0 / 0.6936 GB, free: 1.566 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006603/0.1831, allocations: 403 kB / 0.694 GB, free: 1.137 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.1832, allocations: 12.03 kB / 0.694 GB, free: 1.125 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.539e-05/0.1832, allocations: 20.8 kB / 0.694 GB, free: 1.105 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005872/0.1838, allocations: 249.5 kB / 0.6942 GB, free: 0.832 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.1838, allocations: 12.31 kB / 0.6943 GB, free: 0.8203 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.1839, allocations: 4.375 kB / 0.6943 GB, free: 0.8164 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.184, allocations: 91.69 kB / 0.6943 GB, free: 0.7148 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.184, allocations: 0 / 0.6943 GB, free: 0.7148 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1841, allocations: 0 / 0.6943 GB, free: 0.7148 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1841, allocations: 0 / 0.6943 GB, free: 0.7148 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.977e-05/0.1842, allocations: 53.69 kB / 0.6944 GB, free: 0.6562 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/0.1844, allocations: 157.1 kB / 0.6945 GB, free: 484 kB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.1845, allocations: 60.22 kB / 0.6946 GB, free: 408 kB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.766e-05/0.1846, allocations: 54.59 kB / 0.6947 GB, free: 344 kB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.1846, allocations: 4 kB / 0.6947 GB, free: 340 kB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.1848, allocations: 130.8 kB / 0.6948 GB, free: 184 kB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.1848, allocations: 4 kB / 0.6948 GB, free: 180 kB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0004418/0.1852, allocations: 238.8 kB / 0.695 GB, free: 15.92 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.612e-05/0.1853, allocations: 81.05 kB / 0.6951 GB, free: 15.82 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.1856, allocations: 229.5 kB / 0.6953 GB, free: 15.59 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.1856, allocations: 29.7 kB / 0.6953 GB, free: 15.55 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 8.954e-05/0.1857, allocations: 120.1 kB / 0.6955 GB, free: 15.43 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.1857, allocations: 23.8 kB / 0.6955 GB, free: 15.41 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.963e-05/0.1858, allocations: 21.7 kB / 0.6955 GB, free: 15.38 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1859, allocations: 330.8 kB / 0.6958 GB, free: 15.05 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-05/0.186, allocations: 49.69 kB / 0.6959 GB, free: 15 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.797e-05/0.1861, allocations: 57.69 kB / 0.6959 GB, free: 14.93 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.1862, allocations: 100.3 kB / 0.696 GB, free: 14.82 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1862, allocations: 0 / 0.696 GB, free: 14.82 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002525/0.1865, allocations: 188.9 kB / 0.6962 GB, free: 14.62 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 4.39e-05/0.1865, allocations: 41.62 kB / 0.6962 GB, free: 14.57 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1865, allocations: 0 / 0.6962 GB, free: 14.57 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.1865, allocations: 4 kB / 0.6962 GB, free: 14.57 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-05/0.1866, allocations: 4 kB / 0.6962 GB, free: 14.56 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1866, allocations: 0 / 0.6962 GB, free: 14.56 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.15e-05/0.1867, allocations: 8.047 kB / 0.6962 GB, free: 14.55 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.1867, allocations: 7.938 kB / 0.6963 GB, free: 14.55 MB / 0.5295 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.0001701/0.1869, allocations: 175.5 kB / 0.6964 GB, free: 14.36 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.1869, allocations: 27.83 kB / 0.6964 GB, free: 14.33 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.679e-05/0.1869, allocations: 17.41 kB / 0.6965 GB, free: 14.31 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1869, allocations: 0 / 0.6965 GB, free: 14.31 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1869, allocations: 0 / 0.6965 GB, free: 14.31 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1869, allocations: 7.875 kB / 0.6965 GB, free: 14.3 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.1871, allocations: 157.3 kB / 0.6966 GB, free: 14.12 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1871, allocations: 4 kB / 0.6966 GB, free: 14.12 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.058e-05/0.1871, allocations: 0 / 0.6966 GB, free: 14.12 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1871, allocations: 144 / 0.6966 GB, free: 14.12 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.1871, allocations: 11.94 kB / 0.6966 GB, free: 14.11 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1871, allocations: 0 / 0.6966 GB, free: 14.11 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1872, allocations: 7.984 kB / 0.6966 GB, free: 14.1 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.1875, allocations: 236.3 kB / 0.6969 GB, free: 13.84 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/0.1875, allocations: 23.89 kB / 0.6969 GB, free: 13.81 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.1876, allocations: 11.94 kB / 0.6969 GB, free: 13.8 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.399e-05/0.1876, allocations: 4 kB / 0.6969 GB, free: 13.8 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.1876, allocations: 0 / 0.6969 GB, free: 13.8 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.1877, allocations: 12 kB / 0.6969 GB, free: 13.79 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001715/0.1878, allocations: 172.5 kB / 0.6971 GB, free: 13.62 MB / 0.5295 GB Notification: Performance of sort global known variables: time 8e-08/0.1878, allocations: 0 / 0.6971 GB, free: 13.62 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002378/0.1881, allocations: 39.94 kB / 0.6971 GB, free: 13.58 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: 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.0001979/0.1883, allocations: 129.6 kB / 0.6972 GB, free: 13.45 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0002742/0.1885, allocations: 178.8 kB / 0.6974 GB, free: 13.25 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1885, allocations: 0 / 0.6974 GB, free: 13.25 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.1887, allocations: 113.1 kB / 0.6975 GB, free: 13.12 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.1889, allocations: 12.67 kB / 0.6975 GB, free: 13.1 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000591/0.1895, allocations: 337 kB / 0.6979 GB, free: 12.73 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.1896, allocations: 110.6 kB / 0.698 GB, free: 12.61 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 9.104e-05/0.1897, allocations: 29.62 kB / 0.698 GB, free: 12.58 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.1897, allocations: 11.44 kB / 0.698 GB, free: 12.57 MB / 0.5295 GB Notification: Performance of SimCode: time 7.11e-07/0.1897, allocations: 0 / 0.698 GB, free: 12.57 MB / 0.5295 GB Notification: Performance of Templates: time 0.005284/0.195, allocations: 1.558 MB / 0.6995 GB, free: 11.02 MB / 0.5295 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile [Timeout 300] (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 & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.154835075139999]