Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.001488/0.001488, allocations: 107.9 kB / 20.43 MB, free: 1.066 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.00157/0.00157, allocations: 215.4 kB / 23.73 MB, free: 4.156 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.335/1.335, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 179] 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 0.8797/0.8797, allocations: 120.6 MB / 434.5 MB, free: 0.6953 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_noopt_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_noopt_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.001912/0.001912, allocations: 63.91 kB / 0.6071 GB, free: 10.28 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1312, allocations: 85.87 MB / 0.691 GB, free: 4.203 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002517/0.1337, allocations: 1.408 MB / 0.6924 GB, free: 2.789 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0009808/0.1347, allocations: 0.5493 MB / 0.6929 GB, free: 2.234 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.796e-05/0.1347, allocations: 3.938 kB / 0.6929 GB, free: 2.23 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.1349, allocations: 19.91 kB / 0.6929 GB, free: 2.211 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.1351, allocations: 63.86 kB / 0.693 GB, free: 2.148 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.1354, allocations: 79.66 kB / 0.6931 GB, free: 2.074 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.1355, allocations: 87.8 kB / 0.6932 GB, free: 1.988 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.249e-05/0.1355, allocations: 8 kB / 0.6932 GB, free: 1.98 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.1357, allocations: 59.77 kB / 0.6932 GB, free: 1.922 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.1358, allocations: 51.88 kB / 0.6933 GB, free: 1.871 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.1358, allocations: 4 kB / 0.6933 GB, free: 1.867 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.136, allocations: 71.88 kB / 0.6933 GB, free: 1.797 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.1361, allocations: 67.8 kB / 0.6934 GB, free: 1.73 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 5.662e-05/0.1361, allocations: 31.73 kB / 0.6934 GB, free: 1.699 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.1364, allocations: 163.2 kB / 0.6936 GB, free: 1.539 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1364, allocations: 0 / 0.6936 GB, free: 1.539 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1364, allocations: 0 / 0.6936 GB, free: 1.539 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.1364, allocations: 0 / 0.6936 GB, free: 1.539 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.0004994/0.1369, allocations: 403 kB / 0.694 GB, free: 1.109 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.1369, allocations: 12.03 kB / 0.694 GB, free: 1.098 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.1369, allocations: 20.8 kB / 0.694 GB, free: 1.078 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004345/0.1374, allocations: 253.5 kB / 0.6942 GB, free: 0.8008 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1374, allocations: 4.375 kB / 0.6943 GB, free: 0.7969 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.1374, allocations: 8.359 kB / 0.6943 GB, free: 0.7891 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.1375, allocations: 87.7 kB / 0.6943 GB, free: 0.6914 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.1375, allocations: 0 / 0.6943 GB, free: 0.6914 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.1375, allocations: 3.938 kB / 0.6943 GB, free: 0.6875 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.1375, allocations: 0 / 0.6943 GB, free: 0.6875 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.482e-05/0.1376, allocations: 53.69 kB / 0.6944 GB, free: 0.6289 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.1378, allocations: 149.2 kB / 0.6945 GB, free: 464 kB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 8.196e-05/0.1379, allocations: 64.2 kB / 0.6946 GB, free: 384 kB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.53e-05/0.1379, allocations: 50.56 kB / 0.6947 GB, free: 324 kB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.1379, allocations: 8.031 kB / 0.6947 GB, free: 316 kB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.1381, allocations: 126.8 kB / 0.6948 GB, free: 164 kB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.1381, allocations: 4 kB / 0.6948 GB, free: 160 kB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0003521/0.1384, allocations: 242.9 kB / 0.695 GB, free: 15.89 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.1385, allocations: 81.05 kB / 0.6951 GB, free: 15.79 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.1387, allocations: 225.5 kB / 0.6953 GB, free: 15.57 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.1387, allocations: 33.7 kB / 0.6953 GB, free: 15.53 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 7.063e-05/0.1388, allocations: 116.1 kB / 0.6955 GB, free: 15.41 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.1388, allocations: 27.78 kB / 0.6955 GB, free: 15.38 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.1389, allocations: 21.72 kB / 0.6955 GB, free: 15.36 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.139, allocations: 330.8 kB / 0.6958 GB, free: 15.02 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.098e-05/0.1391, allocations: 49.7 kB / 0.6959 GB, free: 14.97 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.68e-05/0.1391, allocations: 53.73 kB / 0.6959 GB, free: 14.91 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.1393, allocations: 104.2 kB / 0.696 GB, free: 14.79 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1393, allocations: 4 kB / 0.696 GB, free: 14.79 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002215/0.1395, allocations: 193 kB / 0.6962 GB, free: 14.58 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.1395, allocations: 36.11 kB / 0.6962 GB, free: 14.55 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/0.1395, allocations: 0 / 0.6962 GB, free: 14.55 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.1395, allocations: 4.094 kB / 0.6962 GB, free: 14.54 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.814e-05/0.1396, allocations: 7.938 kB / 0.6962 GB, free: 14.54 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1396, allocations: 3.984 kB / 0.6962 GB, free: 14.53 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.041e-05/0.1396, allocations: 7.953 kB / 0.6963 GB, free: 14.52 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.1396, allocations: 8 kB / 0.6963 GB, free: 14.52 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.0001429/0.1398, allocations: 179.5 kB / 0.6964 GB, free: 14.32 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.1398, allocations: 19.84 kB / 0.6965 GB, free: 14.3 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.1399, allocations: 21.39 kB / 0.6965 GB, free: 14.28 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1399, allocations: 0 / 0.6965 GB, free: 14.28 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1399, allocations: 0 / 0.6965 GB, free: 14.28 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1399, allocations: 0 / 0.6965 GB, free: 14.28 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.14, allocations: 157.3 kB / 0.6966 GB, free: 14.1 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.14, allocations: 0 / 0.6966 GB, free: 14.1 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.766e-05/0.14, allocations: 0 / 0.6966 GB, free: 14.1 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.14, allocations: 4 kB / 0.6966 GB, free: 14.09 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.14, allocations: 7.938 kB / 0.6966 GB, free: 14.09 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.14, allocations: 7.984 kB / 0.6966 GB, free: 14.08 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.14, allocations: 0 / 0.6966 GB, free: 14.08 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.1403, allocations: 236.3 kB / 0.6969 GB, free: 13.82 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.1404, allocations: 23.89 kB / 0.6969 GB, free: 13.79 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.1404, allocations: 11.94 kB / 0.6969 GB, free: 13.78 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.154e-05/0.1404, allocations: 4 kB / 0.6969 GB, free: 13.78 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.1405, allocations: 7.984 kB / 0.6969 GB, free: 13.77 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.1405, allocations: 11.94 kB / 0.6969 GB, free: 13.76 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001495/0.1406, allocations: 172.5 kB / 0.6971 GB, free: 13.59 MB / 0.5295 GB Notification: Performance of sort global known variables: time 9e-08/0.1406, allocations: 4 kB / 0.6971 GB, free: 13.59 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002245/0.1409, allocations: 35.94 kB / 0.6971 GB, free: 13.55 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.0001561/0.141, allocations: 123.2 kB / 0.6972 GB, free: 13.42 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.1412, allocations: 178.8 kB / 0.6974 GB, free: 13.22 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1412, allocations: 0 / 0.6974 GB, free: 13.22 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.1413, allocations: 117.1 kB / 0.6975 GB, free: 13.09 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.1415, allocations: 12.67 kB / 0.6975 GB, free: 13.07 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004701/0.142, allocations: 333 kB / 0.6979 GB, free: 12.71 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.1421, allocations: 114.5 kB / 0.698 GB, free: 12.58 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 6.019e-05/0.1422, allocations: 25.64 kB / 0.698 GB, free: 12.55 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.902e-05/0.1422, allocations: 11.44 kB / 0.698 GB, free: 12.54 MB / 0.5295 GB Notification: Performance of SimCode: time 3e-07/0.1422, allocations: 4 kB / 0.698 GB, free: 12.54 MB / 0.5295 GB Notification: Performance of Templates: time 0.004296/0.1465, allocations: 1.555 MB / 0.6995 GB, free: 10.99 MB / 0.5295 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_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_noopt_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: 4.939241044223309]