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.003505/0.003505, allocations: 76.41 kB / 21.69 MB, free: 2.859 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.001299/0.001299, allocations: 165.4 kB / 24.99 MB, free: 8.797 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 1.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.7443/0.7443, allocations: 88.07 MB / 349.9 MB, free: 14.26 MB / 330.7 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_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 451.5 MB, free: 33.37 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.232e-05, allocations: 2.312 kB / 451.5 MB, free: 33.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002008/0.00204, allocations: 1.442 MB / 453 MB, free: 32.4 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007834/0.002823, allocations: 0.5723 MB / 453.6 MB, free: 32.03 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.165e-05/0.002895, allocations: 3.938 kB / 453.6 MB, free: 32.03 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001971/0.003092, allocations: 23.11 kB / 453.6 MB, free: 32.02 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.003417, allocations: 74.38 kB / 453.7 MB, free: 31.99 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.003669, allocations: 76.22 kB / 453.7 MB, free: 31.96 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.003807, allocations: 90.75 kB / 453.8 MB, free: 31.93 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.00385, allocations: 9.719 kB / 453.8 MB, free: 31.93 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.004038, allocations: 57.16 kB / 453.9 MB, free: 31.91 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.004173, allocations: 47.94 kB / 453.9 MB, free: 31.89 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.004196, allocations: 5.969 kB / 453.9 MB, free: 31.89 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.004299, allocations: 75.67 kB / 454 MB, free: 31.88 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.004412, allocations: 64.8 kB / 454.1 MB, free: 31.86 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.817e-05/0.00446, allocations: 24.11 kB / 454.1 MB, free: 31.84 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.004669, allocations: 143.2 kB / 454.2 MB, free: 31.79 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.004672, allocations: 0 / 454.2 MB, free: 31.79 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.222e-06/0.004674, allocations: 0 / 454.2 MB, free: 31.79 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.004679, allocations: 0 / 454.2 MB, free: 31.79 MB / 410.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.0004734/0.005152, allocations: 0.5042 MB / 454.7 MB, free: 31.31 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.005197, allocations: 13.03 kB / 454.7 MB, free: 31.3 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.466e-05/0.005252, allocations: 20.47 kB / 454.8 MB, free: 31.3 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.005554, allocations: 241.2 kB / 455 MB, free: 31.1 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.005563, allocations: 2.625 kB / 455 MB, free: 31.1 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-06/0.005571, allocations: 2.719 kB / 455 MB, free: 31.1 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.005685, allocations: 78.89 kB / 455.1 MB, free: 31.04 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.005692, allocations: 192 / 455.1 MB, free: 31.04 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.005704, allocations: 3.188 kB / 455.1 MB, free: 31.04 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.005712, allocations: 3.938 kB / 455.1 MB, free: 31.03 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.446e-05/0.005756, allocations: 46.38 kB / 455.1 MB, free: 31 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.005912, allocations: 177.1 kB / 455.3 MB, free: 30.83 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.502e-05/0.005967, allocations: 71.83 kB / 455.4 MB, free: 30.75 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.278e-05/0.00601, allocations: 53.7 kB / 455.4 MB, free: 30.7 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.006018, allocations: 2.625 kB / 455.4 MB, free: 30.7 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.00614, allocations: 131.5 kB / 455.6 MB, free: 30.58 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.006142, allocations: 0 / 455.6 MB, free: 30.58 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0002563/0.006398, allocations: 221.9 kB / 455.8 MB, free: 30.43 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.006435, allocations: 91.28 kB / 455.9 MB, free: 30.33 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.006568, allocations: 264 kB / 456.1 MB, free: 30.13 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.006578, allocations: 32.7 kB / 456.2 MB, free: 30.1 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.985e-05/0.006628, allocations: 178 kB / 456.3 MB, free: 29.93 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.00666, allocations: 21.58 kB / 456.4 MB, free: 29.92 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.006695, allocations: 31.47 kB / 456.4 MB, free: 29.89 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.712e-05/0.006762, allocations: 0.5001 MB / 456.9 MB, free: 29.39 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.384e-05/0.006796, allocations: 44.53 kB / 456.9 MB, free: 29.36 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.484e-05/0.006821, allocations: 46.56 kB / 457 MB, free: 29.32 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.677e-05/0.006888, allocations: 103.5 kB / 457.1 MB, free: 29.23 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.00689, allocations: 0 / 457.1 MB, free: 29.23 MB / 410.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001355/0.007025, allocations: 180.2 kB / 457.3 MB, free: 29.12 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.565e-05/0.007061, allocations: 44.14 kB / 457.3 MB, free: 29.08 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.007067, allocations: 4 kB / 457.3 MB, free: 29.08 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.007082, allocations: 4 kB / 457.3 MB, free: 29.07 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.168e-05/0.007154, allocations: 10.66 kB / 457.3 MB, free: 29.07 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.007161, allocations: 2.906 kB / 457.3 MB, free: 29.07 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.998e-05/0.007201, allocations: 6.266 kB / 457.3 MB, free: 29.07 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.007218, allocations: 5.844 kB / 457.3 MB, free: 29.07 MB / 410.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 7.562e-05/0.007293, allocations: 194 kB / 457.5 MB, free: 28.87 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.007314, allocations: 26.2 kB / 457.5 MB, free: 28.86 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.00734, allocations: 15.69 kB / 457.6 MB, free: 28.86 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.007343, allocations: 2.703 kB / 457.6 MB, free: 28.86 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.007348, allocations: 11.92 kB / 457.6 MB, free: 28.84 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.007351, allocations: 0 / 457.6 MB, free: 28.84 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.814e-05/0.007449, allocations: 179.8 kB / 457.7 MB, free: 28.68 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.00745, allocations: 0 / 457.7 MB, free: 28.68 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.451e-05/0.007465, allocations: 2.875 kB / 457.8 MB, free: 28.68 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.007467, allocations: 0 / 457.8 MB, free: 28.68 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.007477, allocations: 5.719 kB / 457.8 MB, free: 28.68 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.007478, allocations: 0 / 457.8 MB, free: 28.68 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.007479, allocations: 0 / 457.8 MB, free: 28.68 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.007659, allocations: 246.1 kB / 458 MB, free: 28.5 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.007695, allocations: 28.28 kB / 458 MB, free: 28.48 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.007721, allocations: 10.25 kB / 458 MB, free: 28.48 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.921e-05/0.00775, allocations: 3.219 kB / 458 MB, free: 28.48 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.007789, allocations: 3.938 kB / 458 MB, free: 28.47 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.007803, allocations: 12.34 kB / 458.1 MB, free: 28.47 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.408e-05/0.007877, allocations: 189 kB / 458.2 MB, free: 28.33 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.007877, allocations: 0 / 458.2 MB, free: 28.33 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001681/0.008045, allocations: 34.12 kB / 458.3 MB, free: 28.33 MB / 410.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.0001474/0.008193, allocations: 125.3 kB / 458.4 MB, free: 28.24 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.00835, allocations: 178.2 kB / 458.6 MB, free: 28.09 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.008353, allocations: 4 kB / 458.6 MB, free: 28.09 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 5.053e-05/0.008404, allocations: 125.3 kB / 458.7 MB, free: 27.97 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.00858, allocations: 16.23 kB / 458.7 MB, free: 27.96 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003603/0.00894, allocations: 296.4 kB / 459 MB, free: 27.74 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.724e-05/0.008977, allocations: 80.14 kB / 459.1 MB, free: 27.67 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 5.069e-05/0.009028, allocations: 25.03 kB / 459.1 MB, free: 27.66 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/0.00905, allocations: 14.12 kB / 459.1 MB, free: 27.65 MB / 410.8 MB Notification: Performance of SimCode: time 1.383e-06/0.009051, allocations: 0 / 459.1 MB, free: 27.65 MB / 410.8 MB Notification: Performance of Templates: time 0.003495/0.01255, allocations: 1.429 MB / 460.5 MB, free: 27.41 MB / 410.8 MB " [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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) [Timeout 240] 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","",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.9049430128652602]