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.001288/0.001288, allocations: 76.31 kB / 21.42 MB, free: 3.074 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.004927/0.004927, allocations: 171.6 kB / 24.82 MB, free: 9.273 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.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.7606/0.7606, allocations: 88.08 MB / 349.9 MB, free: 14.15 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 2.354e-06/2.354e-06, allocations: 0 / 452 MB, free: 33.16 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.558e-05/3.793e-05, allocations: 2.312 kB / 452 MB, free: 33.15 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.003121/0.003159, allocations: 1.444 MB / 453.5 MB, free: 32.18 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.004302, allocations: 0.5699 MB / 454 MB, free: 31.82 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.066e-05/0.004383, allocations: 0 / 454 MB, free: 31.82 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.004592, allocations: 19.61 kB / 454 MB, free: 31.81 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.004949, allocations: 80.42 kB / 454.1 MB, free: 31.78 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.005281, allocations: 78.22 kB / 454.2 MB, free: 31.75 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.005455, allocations: 87.27 kB / 454.3 MB, free: 31.72 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.0055, allocations: 10.02 kB / 454.3 MB, free: 31.71 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004585/0.005958, allocations: 158.2 kB / 454.5 MB, free: 31.68 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 8.99e-05/0.006048, allocations: 35.86 kB / 454.5 MB, free: 31.67 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.006069, allocations: 2.906 kB / 454.5 MB, free: 31.67 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.006206, allocations: 73.94 kB / 454.6 MB, free: 31.66 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.006309, allocations: 62.84 kB / 454.6 MB, free: 31.63 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.338e-05/0.006352, allocations: 22.86 kB / 454.6 MB, free: 31.62 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.006663, allocations: 140.2 kB / 454.8 MB, free: 31.57 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.006669, allocations: 2.438 kB / 454.8 MB, free: 31.57 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.764e-06/0.00667, allocations: 0 / 454.8 MB, free: 31.57 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.006677, allocations: 0 / 454.8 MB, free: 31.57 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.0004389/0.007116, allocations: 0.5024 MB / 455.3 MB, free: 31.09 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.007159, allocations: 14.94 kB / 455.3 MB, free: 31.08 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.007204, allocations: 21.14 kB / 455.3 MB, free: 31.07 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.007382, allocations: 198.5 kB / 455.5 MB, free: 30.9 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.007391, allocations: 384 / 455.5 MB, free: 30.9 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/0.007401, allocations: 2.812 kB / 455.5 MB, free: 30.9 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.644e-05/0.007497, allocations: 85.02 kB / 455.6 MB, free: 30.83 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.007504, allocations: 192 / 455.6 MB, free: 30.83 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.007512, allocations: 3.375 kB / 455.6 MB, free: 30.83 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.007516, allocations: 7.875 kB / 455.6 MB, free: 30.82 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.183e-05/0.007548, allocations: 45.02 kB / 455.7 MB, free: 30.79 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.007682, allocations: 128 kB / 455.8 MB, free: 30.66 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.496e-05/0.007727, allocations: 67.44 kB / 455.9 MB, free: 30.59 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/0.00776, allocations: 49.8 kB / 455.9 MB, free: 30.54 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.007768, allocations: 3.984 kB / 455.9 MB, free: 30.54 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.007876, allocations: 138.9 kB / 456 MB, free: 30.41 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 8.81e-07/0.007877, allocations: 0 / 456 MB, free: 30.41 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0002575/0.008134, allocations: 214.2 kB / 456.2 MB, free: 30.27 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.00816, allocations: 83.98 kB / 456.3 MB, free: 30.17 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.008281, allocations: 272.8 kB / 456.6 MB, free: 29.96 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.008291, allocations: 28.8 kB / 456.6 MB, free: 29.93 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.008338, allocations: 174.9 kB / 456.8 MB, free: 29.77 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.008366, allocations: 17.86 kB / 456.8 MB, free: 29.76 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.008401, allocations: 35.05 kB / 456.8 MB, free: 29.73 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.446e-05/0.008476, allocations: 0.5045 MB / 457.4 MB, free: 29.22 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.709e-05/0.008503, allocations: 45.62 kB / 457.4 MB, free: 29.19 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.121e-05/0.008524, allocations: 45.58 kB / 457.4 MB, free: 29.15 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.164e-05/0.008576, allocations: 101.8 kB / 457.5 MB, free: 29.07 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.008577, allocations: 0 / 457.5 MB, free: 29.07 MB / 410.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001245/0.008702, allocations: 178.5 kB / 457.7 MB, free: 28.95 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.008728, allocations: 37.52 kB / 457.8 MB, free: 28.91 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.008734, allocations: 7.422 kB / 457.8 MB, free: 28.91 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.008745, allocations: 2.906 kB / 457.8 MB, free: 28.91 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.368e-05/0.008808, allocations: 2.844 kB / 457.8 MB, free: 28.91 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.008813, allocations: 3.938 kB / 457.8 MB, free: 28.91 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.752e-05/0.00885, allocations: 10.7 kB / 457.8 MB, free: 28.9 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.008868, allocations: 8.625 kB / 457.8 MB, free: 28.9 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.04e-05/0.008938, allocations: 194.1 kB / 458 MB, free: 28.7 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.837e-05/0.008957, allocations: 22.25 kB / 458 MB, free: 28.7 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.525e-05/0.008982, allocations: 19.47 kB / 458 MB, free: 28.69 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.008983, allocations: 2.812 kB / 458 MB, free: 28.69 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.008985, allocations: 4 kB / 458 MB, free: 28.68 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.008989, allocations: 3.938 kB / 458 MB, free: 28.68 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.958e-05/0.009069, allocations: 139.4 kB / 458.2 MB, free: 28.55 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.009069, allocations: 0 / 458.2 MB, free: 28.55 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.306e-05/0.009082, allocations: 6.875 kB / 458.2 MB, free: 28.55 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.009084, allocations: 0 / 458.2 MB, free: 28.55 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.009092, allocations: 6.094 kB / 458.2 MB, free: 28.55 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.009093, allocations: 0 / 458.2 MB, free: 28.55 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.009094, allocations: 0 / 458.2 MB, free: 28.55 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.009239, allocations: 241.9 kB / 458.4 MB, free: 28.37 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/0.009273, allocations: 23.73 kB / 458.4 MB, free: 28.36 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.009289, allocations: 6.938 kB / 458.4 MB, free: 28.36 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.399e-05/0.009313, allocations: 2.875 kB / 458.4 MB, free: 28.36 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.00934, allocations: 7.234 kB / 458.5 MB, free: 28.35 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.009353, allocations: 11.69 kB / 458.5 MB, free: 28.35 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.616e-05/0.009409, allocations: 184.8 kB / 458.6 MB, free: 28.21 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.009409, allocations: 0 / 458.6 MB, free: 28.21 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001581/0.009567, allocations: 33.25 kB / 458.7 MB, free: 28.21 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.000147/0.009714, allocations: 132.6 kB / 458.8 MB, free: 28.11 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001336/0.009848, allocations: 169 kB / 459 MB, free: 27.97 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.00985, allocations: 7.25 kB / 459 MB, free: 27.96 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 4.913e-05/0.009899, allocations: 126.1 kB / 459.1 MB, free: 27.85 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.01006, allocations: 16.19 kB / 459.1 MB, free: 27.84 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.01041, allocations: 293.5 kB / 459.4 MB, free: 27.62 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.348e-05/0.01044, allocations: 79.97 kB / 459.5 MB, free: 27.55 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 5.222e-05/0.01049, allocations: 24.92 kB / 459.5 MB, free: 27.54 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.882e-05/0.01057, allocations: 102 kB / 459.6 MB, free: 27.46 MB / 410.8 MB Notification: Performance of SimCode: time 6.11e-07/0.01057, allocations: 3.938 kB / 459.6 MB, free: 27.46 MB / 410.8 MB Notification: Performance of Templates: time 0.003442/0.01402, allocations: 1.406 MB / 461 MB, free: 27.22 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.887065386865288]