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.001128/0.001128, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001078/0.001078, allocations: 167.7 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9872/0.9872, allocations: 177.1 MB / 206.1 MB, free: 4.461 MB / 186.7 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.8541/0.8541, allocations: 88.09 MB / 350.7 MB, free: 11.82 MB / 330.8 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|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 452.8 MB, free: 8.047 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.677e-05, allocations: 2.312 kB / 452.8 MB, free: 8.043 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002212/0.002239, allocations: 1.437 MB / 454.3 MB, free: 6.594 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008861/0.003125, allocations: 0.5686 MB / 454.8 MB, free: 6.02 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.036e-05/0.003185, allocations: 0 / 454.8 MB, free: 6.02 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.00336, allocations: 23.86 kB / 454.9 MB, free: 5.996 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.003626, allocations: 67.83 kB / 454.9 MB, free: 5.93 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.003869, allocations: 79.72 kB / 455 MB, free: 5.852 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.004, allocations: 99.73 kB / 455.1 MB, free: 5.754 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.004038, allocations: 7.984 kB / 455.1 MB, free: 5.746 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003479/0.004385, allocations: 159.7 kB / 455.3 MB, free: 5.59 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.39e-05/0.004449, allocations: 27.91 kB / 455.3 MB, free: 5.562 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.004466, allocations: 7.938 kB / 455.3 MB, free: 5.555 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.00457, allocations: 71.92 kB / 455.4 MB, free: 5.484 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 7.866e-05/0.004648, allocations: 59.88 kB / 455.4 MB, free: 5.426 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 3.788e-05/0.004686, allocations: 23.88 kB / 455.4 MB, free: 5.402 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.004884, allocations: 151.4 kB / 455.6 MB, free: 5.254 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.004887, allocations: 0 / 455.6 MB, free: 5.254 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004888, allocations: 0 / 455.6 MB, free: 5.254 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.004892, allocations: 0 / 455.6 MB, free: 5.254 MB / 426.8 MB 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.0004303/0.005323, allocations: 0.4973 MB / 456.1 MB, free: 4.715 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.005362, allocations: 8.031 kB / 456.1 MB, free: 4.707 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.539e-05/0.005407, allocations: 24.8 kB / 456.1 MB, free: 4.684 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.005641, allocations: 203.7 kB / 456.3 MB, free: 4.453 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.005652, allocations: 384 / 456.3 MB, free: 4.453 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.005663, allocations: 8.375 kB / 456.3 MB, free: 4.445 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.005777, allocations: 75.92 kB / 456.4 MB, free: 4.359 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.005784, allocations: 192 / 456.4 MB, free: 4.359 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.005795, allocations: 8.375 kB / 456.4 MB, free: 4.352 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.0058, allocations: 3.938 kB / 456.4 MB, free: 4.348 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.161e-05/0.005842, allocations: 41.69 kB / 456.5 MB, free: 4.301 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001444/0.005986, allocations: 129.3 kB / 456.6 MB, free: 4.148 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.289e-05/0.006049, allocations: 68.69 kB / 456.7 MB, free: 4.062 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.764e-05/0.006087, allocations: 45.39 kB / 456.7 MB, free: 4.008 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.714e-06/0.006094, allocations: 4 kB / 456.7 MB, free: 4.004 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/0.006224, allocations: 132.5 kB / 456.8 MB, free: 3.848 MB / 426.8 MB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.006225, allocations: 0 / 456.8 MB, free: 3.848 MB / 426.8 MB Notification: Performance of matching and sorting (n=8): time 0.0002545/0.00648, allocations: 230.5 kB / 457.1 MB, free: 3.598 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.006522, allocations: 85.11 kB / 457.1 MB, free: 3.496 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.006665, allocations: 268 kB / 457.4 MB, free: 3.219 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.006679, allocations: 33.69 kB / 457.4 MB, free: 3.18 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/0.006752, allocations: 166.8 kB / 457.6 MB, free: 3.012 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.006785, allocations: 23.83 kB / 457.6 MB, free: 2.988 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.006821, allocations: 27.36 kB / 457.6 MB, free: 2.953 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.006958, allocations: 0.5079 MB / 458.2 MB, free: 2.434 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.447e-05/0.006993, allocations: 49.69 kB / 458.2 MB, free: 2.379 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.75e-05/0.00702, allocations: 41.69 kB / 458.2 MB, free: 2.332 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.52e-05/0.007085, allocations: 99.08 kB / 458.3 MB, free: 2.219 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.007087, allocations: 0 / 458.3 MB, free: 2.219 MB / 426.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001493/0.007237, allocations: 184.8 kB / 458.5 MB, free: 2.02 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.007271, allocations: 37.69 kB / 458.6 MB, free: 1.977 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.007276, allocations: 0 / 458.6 MB, free: 1.977 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.007284, allocations: 0 / 458.6 MB, free: 1.977 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.061e-05/0.007344, allocations: 4 kB / 458.6 MB, free: 1.973 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.007349, allocations: 3.938 kB / 458.6 MB, free: 1.969 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.264e-05/0.007382, allocations: 4 kB / 458.6 MB, free: 1.965 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.007403, allocations: 19.98 kB / 458.6 MB, free: 1.945 MB / 426.8 MB 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.0001127/0.007515, allocations: 197.2 kB / 458.8 MB, free: 1.738 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.007537, allocations: 27.89 kB / 458.8 MB, free: 1.711 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.12e-05/0.007558, allocations: 13.47 kB / 458.8 MB, free: 1.703 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.00756, allocations: 0 / 458.8 MB, free: 1.703 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.007561, allocations: 0 / 458.8 MB, free: 1.703 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.007566, allocations: 3.938 kB / 458.8 MB, free: 1.699 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.007672, allocations: 137.2 kB / 459 MB, free: 1.539 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.007672, allocations: 0 / 459 MB, free: 1.539 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.052e-05/0.007693, allocations: 15.98 kB / 459 MB, free: 1.523 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.007695, allocations: 4.141 kB / 459 MB, free: 1.52 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.007703, allocations: 4 kB / 459 MB, free: 1.516 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.007704, allocations: 3.938 kB / 459 MB, free: 1.512 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.007705, allocations: 0 / 459 MB, free: 1.512 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.007904, allocations: 247.5 kB / 459.2 MB, free: 1.234 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.007944, allocations: 19.84 kB / 459.2 MB, free: 1.215 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.007964, allocations: 8 kB / 459.3 MB, free: 1.207 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.921e-05/0.007993, allocations: 3.984 kB / 459.3 MB, free: 1.203 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.008026, allocations: 4 kB / 459.3 MB, free: 1.199 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.008038, allocations: 8 kB / 459.3 MB, free: 1.191 MB / 426.8 MB Notification: Performance of sorting global known variables: time 9.136e-05/0.008129, allocations: 188.3 kB / 459.5 MB, free: 1.008 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.008129, allocations: 4 kB / 459.5 MB, free: 1.004 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001711/0.008301, allocations: 32 kB / 459.5 MB, free: 0.9727 MB / 426.8 MB 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.0001628/0.008463, allocations: 127.1 kB / 459.6 MB, free: 0.8398 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.008611, allocations: 178.4 kB / 459.8 MB, free: 0.6367 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.008613, allocations: 0 / 459.8 MB, free: 0.6367 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 5.609e-05/0.008669, allocations: 124.7 kB / 459.9 MB, free: 0.4922 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.008821, allocations: 16.73 kB / 459.9 MB, free: 484 kB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/0.009162, allocations: 293.1 kB / 460.2 MB, free: 156 kB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.476e-05/0.009206, allocations: 79.81 kB / 460.3 MB, free: 56 kB / 426.8 MB Notification: Performance of simCode: alias equations: time 4.29e-05/0.009249, allocations: 17.7 kB / 460.3 MB, free: 36 kB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.00935, allocations: 106.2 kB / 460.4 MB, free: 15.93 MB / 442.8 MB Notification: Performance of SimCode: time 5.91e-07/0.009351, allocations: 0 / 460.4 MB, free: 15.93 MB / 442.8 MB Notification: Performance of Templates: time 0.003643/0.01299, allocations: 1.414 MB / 461.8 MB, free: 14.51 MB / 442.8 MB " [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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.806810364127159]