Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 112 kB / 20.43 MB, free: 1.305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002048/0.002048, allocations: 189.2 kB / 23.72 MB, free: 4.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9778/0.9778, allocations: 120.6 MB / 428.3 MB, free: 5.562 MB / 334.1 MB " [Timeout remaining time 179] 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: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 67.89 kB / 0.5989 GB, free: 16.81 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1868, allocations: 84.68 MB / 0.6816 GB, free: 11.93 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002742/0.1896, allocations: 1.43 MB / 0.683 GB, free: 10.48 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1907, allocations: 0.5725 MB / 0.6836 GB, free: 9.906 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.092e-05/0.1907, allocations: 0 / 0.6836 GB, free: 9.906 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0004691/0.1912, allocations: 451.1 kB / 0.684 GB, free: 9.465 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0006203/0.1918, allocations: 0.495 MB / 0.6845 GB, free: 8.969 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.1921, allocations: 79.8 kB / 0.6846 GB, free: 8.891 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.001016/0.1931, allocations: 1.127 MB / 0.6857 GB, free: 7.762 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.1932, allocations: 3.938 kB / 0.6857 GB, free: 7.758 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005764/0.1937, allocations: 0.5693 MB / 0.6862 GB, free: 7.188 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.1948, allocations: 1.162 MB / 0.6874 GB, free: 6.023 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.1949, allocations: 68 kB / 0.6874 GB, free: 5.957 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002738/0.1952, allocations: 139.9 kB / 0.6876 GB, free: 5.82 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.002754/0.198, allocations: 2.595 MB / 0.6901 GB, free: 3.219 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.1991, allocations: 1.427 MB / 0.6915 GB, free: 1.777 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.002881/0.202, allocations: 3.193 MB / 0.6946 GB, free: 14.56 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.202, allocations: 3.938 kB / 0.6946 GB, free: 14.56 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.263e-06/0.202, allocations: 0 / 0.6946 GB, free: 14.56 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 3.494e-05/0.202, allocations: 0 / 0.6946 GB, free: 14.56 MB / 0.5295 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.006333/0.2084, allocations: 5.319 MB / 0.6998 GB, free: 9.164 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.2084, allocations: 8.031 kB / 0.6998 GB, free: 9.156 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006481/0.2091, allocations: 0.5829 MB / 0.7004 GB, free: 8.57 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/0.2196, allocations: 6.325 MB / 0.7066 GB, free: 2.137 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.2197, allocations: 4.375 kB / 0.7066 GB, free: 2.133 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.2197, allocations: 16.38 kB / 0.7066 GB, free: 2.117 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003534/0.2201, allocations: 237.8 kB / 0.7068 GB, free: 1.879 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.2201, allocations: 0 / 0.7068 GB, free: 1.879 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.2201, allocations: 16 kB / 0.7068 GB, free: 1.863 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.2201, allocations: 3.984 kB / 0.7068 GB, free: 1.859 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/0.2203, allocations: 139.9 kB / 0.707 GB, free: 1.723 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002063/0.2224, allocations: 1.837 MB / 0.7088 GB, free: 15.84 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.2226, allocations: 90.56 kB / 0.7088 GB, free: 15.75 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.2227, allocations: 80.86 kB / 0.7089 GB, free: 15.66 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.2227, allocations: 0 / 0.7089 GB, free: 15.66 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003409/0.2231, allocations: 256.9 kB / 0.7092 GB, free: 15.39 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=8): time 1.953e-06/0.2231, allocations: 0 / 0.7092 GB, free: 15.39 MB / 0.5452 GB Notification: Performance of matching and sorting (n=8): time 0.001535/0.2246, allocations: 1.198 MB / 0.7103 GB, free: 14.18 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.2247, allocations: 85.11 kB / 0.7104 GB, free: 14.08 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007422/0.2321, allocations: 6.271 MB / 0.7165 GB, free: 7.852 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 9.075e-05/0.2322, allocations: 49.64 kB / 0.7166 GB, free: 7.797 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.002309/0.2345, allocations: 2.524 MB / 0.7191 GB, free: 5.27 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 9.282e-05/0.2346, allocations: 31.84 kB / 0.7191 GB, free: 5.238 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.2347, allocations: 133.7 kB / 0.7192 GB, free: 5.102 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.2349, allocations: 314 kB / 0.7195 GB, free: 4.789 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.235, allocations: 76 kB / 0.7196 GB, free: 4.715 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.2351, allocations: 79.98 kB / 0.7197 GB, free: 4.637 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.2355, allocations: 236.2 kB / 0.7199 GB, free: 4.391 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2355, allocations: 0 / 0.7199 GB, free: 4.391 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0014/0.2369, allocations: 1.116 MB / 0.721 GB, free: 3.258 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/0.2369, allocations: 37.69 kB / 0.721 GB, free: 3.215 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.2369, allocations: 0 / 0.721 GB, free: 3.215 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.2369, allocations: 4 kB / 0.721 GB, free: 3.211 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.524e-05/0.237, allocations: 11.94 kB / 0.721 GB, free: 3.199 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.237, allocations: 0 / 0.721 GB, free: 3.199 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003826/0.2374, allocations: 24 kB / 0.7211 GB, free: 3.176 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/0.2376, allocations: 220 kB / 0.7213 GB, free: 2.961 MB / 0.5452 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.001565/0.2392, allocations: 1.338 MB / 0.7226 GB, free: 1.605 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005204/0.2397, allocations: 0.6092 MB / 0.7232 GB, free: 0.9922 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006455/0.2403, allocations: 0.6441 MB / 0.7238 GB, free: 356 kB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2403, allocations: 0 / 0.7238 GB, free: 356 kB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.2403, allocations: 0 / 0.7238 GB, free: 356 kB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2403, allocations: 4 kB / 0.7238 GB, free: 352 kB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.2422, allocations: 1.994 MB / 0.7257 GB, free: 14.31 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2422, allocations: 0 / 0.7257 GB, free: 14.31 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.883e-05/0.2422, allocations: 7.938 kB / 0.7258 GB, free: 14.3 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.2422, allocations: 0 / 0.7258 GB, free: 14.3 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.401e-05/0.2423, allocations: 56 kB / 0.7258 GB, free: 14.25 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2423, allocations: 0 / 0.7258 GB, free: 14.25 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2423, allocations: 0 / 0.7258 GB, free: 14.25 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.2436, allocations: 1.206 MB / 0.727 GB, free: 13.01 MB / 0.5608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009093/0.2445, allocations: 0.5233 MB / 0.7275 GB, free: 12.48 MB / 0.5608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/0.2447, allocations: 16 kB / 0.7275 GB, free: 12.47 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003162/0.245, allocations: 20 kB / 0.7275 GB, free: 12.45 MB / 0.5608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.245, allocations: 7.984 kB / 0.7275 GB, free: 12.44 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001963/0.2452, allocations: 224 kB / 0.7278 GB, free: 12.22 MB / 0.5608 GB Notification: Performance of sorting global known variables: time 0.005343/0.2506, allocations: 4.324 MB / 0.732 GB, free: 7.938 MB / 0.5608 GB Notification: Performance of sort global known variables: time 1e-07/0.2506, allocations: 3.938 kB / 0.732 GB, free: 7.934 MB / 0.5608 GB Notification: Performance of remove unused functions: time 0.0005944/0.2512, allocations: 187.9 kB / 0.7322 GB, free: 7.75 MB / 0.5608 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.0002244/0.2514, allocations: 143.2 kB / 0.7323 GB, free: 7.602 MB / 0.5608 GB Notification: Performance of simCode: created initialization part: time 0.0004371/0.2518, allocations: 247.4 kB / 0.7325 GB, free: 7.348 MB / 0.5608 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2518, allocations: 0 / 0.7325 GB, free: 7.348 MB / 0.5608 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.2521, allocations: 163.6 kB / 0.7327 GB, free: 7.176 MB / 0.5608 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.2532, allocations: 441.2 kB / 0.7331 GB, free: 6.742 MB / 0.5608 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.2643, allocations: 8.522 MB / 0.7414 GB, free: 14.18 MB / 0.5764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002575/0.2669, allocations: 2.728 MB / 0.7441 GB, free: 11.43 MB / 0.5764 GB Notification: Performance of simCode: alias equations: time 0.002336/0.2692, allocations: 1.141 MB / 0.7452 GB, free: 10.28 MB / 0.5764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/0.2695, allocations: 255.4 kB / 0.7454 GB, free: 10.03 MB / 0.5764 GB Notification: Performance of SimCode: time 9.42e-07/0.2695, allocations: 4 kB / 0.7455 GB, free: 10.02 MB / 0.5764 GB Notification: Performance of Templates: time 0.636/0.9055, allocations: 20.98 MB / 0.7659 GB, free: 66.34 MB / 0.5767 GB " [Timeout remaining time 299] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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.780009984970093]