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.001013/0.001013, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009756/0.0009756, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.93/0.93, allocations: 177.1 MB / 205 MB, free: 5.617 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.5838/0.5838, allocations: 88.08 MB / 349.6 MB, free: 14.32 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_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.403e-06/1.403e-06, allocations: 0 / 451.6 MB, free: 33.32 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.613e-05, allocations: 5.406 kB / 451.6 MB, free: 33.31 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.001512/0.001528, allocations: 1.434 MB / 453 MB, free: 32.36 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006988/0.002227, allocations: 0.5825 MB / 453.6 MB, free: 31.98 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.167e-05/0.002288, allocations: 0 / 453.6 MB, free: 31.98 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.002457, allocations: 23.14 kB / 453.6 MB, free: 31.98 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.002731, allocations: 70.64 kB / 453.7 MB, free: 31.95 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.002927, allocations: 83.09 kB / 453.8 MB, free: 31.91 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.003032, allocations: 88.84 kB / 453.8 MB, free: 31.89 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.416e-05/0.003066, allocations: 6.438 kB / 453.8 MB, free: 31.88 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.003209, allocations: 67.77 kB / 453.9 MB, free: 31.86 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.003313, allocations: 43.14 kB / 454 MB, free: 31.85 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.003331, allocations: 5.594 kB / 454 MB, free: 31.85 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.02e-05/0.003411, allocations: 69.14 kB / 454 MB, free: 31.83 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 8.539e-05/0.003497, allocations: 68.44 kB / 454.1 MB, free: 31.81 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.003534, allocations: 24.05 kB / 454.1 MB, free: 31.8 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.003691, allocations: 146.2 kB / 454.3 MB, free: 31.74 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003693, allocations: 0 / 454.3 MB, free: 31.74 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.42e-07/0.003694, allocations: 2.594 kB / 454.3 MB, free: 31.74 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.003698, allocations: 0 / 454.3 MB, free: 31.74 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.0003622/0.00406, allocations: 0.5072 MB / 454.8 MB, free: 31.25 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.004094, allocations: 10.88 kB / 454.8 MB, free: 31.25 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.00414, allocations: 20.58 kB / 454.8 MB, free: 31.25 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.004389, allocations: 233.9 kB / 455 MB, free: 31.06 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.004399, allocations: 3.281 kB / 455 MB, free: 31.06 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.004411, allocations: 3.312 kB / 455 MB, free: 31.06 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.919e-05/0.004501, allocations: 76.88 kB / 455.1 MB, free: 30.99 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.004508, allocations: 3.031 kB / 455.1 MB, free: 30.99 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.004517, allocations: 384 / 455.1 MB, free: 30.99 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.004524, allocations: 7.938 kB / 455.1 MB, free: 30.98 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.787e-05/0.004562, allocations: 51.3 kB / 455.2 MB, free: 30.95 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.004689, allocations: 169.1 kB / 455.3 MB, free: 30.78 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.473e-05/0.004734, allocations: 67.78 kB / 455.4 MB, free: 30.71 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.508e-05/0.004769, allocations: 59.5 kB / 455.5 MB, free: 30.66 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.052e-06/0.004775, allocations: 0 / 455.5 MB, free: 30.66 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.857e-05/0.004864, allocations: 137 kB / 455.6 MB, free: 30.53 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 8.31e-07/0.004864, allocations: 0 / 455.6 MB, free: 30.53 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.000218/0.005082, allocations: 224.1 kB / 455.8 MB, free: 30.38 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/0.005105, allocations: 87.41 kB / 455.9 MB, free: 30.28 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.005222, allocations: 271.6 kB / 456.2 MB, free: 30.08 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.963e-06/0.005229, allocations: 28.45 kB / 456.2 MB, free: 30.05 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.00527, allocations: 173.1 kB / 456.4 MB, free: 29.89 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.005295, allocations: 18.86 kB / 456.4 MB, free: 29.88 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.005324, allocations: 31.33 kB / 456.4 MB, free: 29.85 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.95e-05/0.005374, allocations: 0.5 MB / 456.9 MB, free: 29.35 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.664e-05/0.005401, allocations: 44.88 kB / 457 MB, free: 29.31 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.112e-05/0.005422, allocations: 47.31 kB / 457 MB, free: 29.28 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.639e-05/0.005478, allocations: 103.1 kB / 457.1 MB, free: 29.19 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.00548, allocations: 0 / 457.1 MB, free: 29.19 MB / 410.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001164/0.005596, allocations: 181 kB / 457.3 MB, free: 29.07 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.005619, allocations: 42.56 kB / 457.3 MB, free: 29.04 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.005622, allocations: 2.562 kB / 457.3 MB, free: 29.04 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.005635, allocations: 7.938 kB / 457.3 MB, free: 29.03 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.942e-05/0.005695, allocations: 6.531 kB / 457.3 MB, free: 29.02 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.005701, allocations: 2.625 kB / 457.3 MB, free: 29.02 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.891e-05/0.00574, allocations: 6.109 kB / 457.3 MB, free: 29.02 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.005755, allocations: 5.375 kB / 457.3 MB, free: 29.02 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 5.548e-05/0.00581, allocations: 196.6 kB / 457.5 MB, free: 28.83 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.005827, allocations: 22.73 kB / 457.6 MB, free: 28.82 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.005851, allocations: 18.48 kB / 457.6 MB, free: 28.81 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.005853, allocations: 4 kB / 457.6 MB, free: 28.81 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.005857, allocations: 3.938 kB / 457.6 MB, free: 28.8 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.00586, allocations: 2.938 kB / 457.6 MB, free: 28.8 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.274e-05/0.005933, allocations: 181.5 kB / 457.8 MB, free: 28.63 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.005933, allocations: 0 / 457.8 MB, free: 28.63 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.14e-05/0.005945, allocations: 3.062 kB / 457.8 MB, free: 28.63 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.005948, allocations: 2.906 kB / 457.8 MB, free: 28.63 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.00596, allocations: 2.938 kB / 457.8 MB, free: 28.63 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.005961, allocations: 0 / 457.8 MB, free: 28.63 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.005962, allocations: 0 / 457.8 MB, free: 28.63 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.006109, allocations: 250.1 kB / 458 MB, free: 28.45 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.006143, allocations: 31.84 kB / 458.1 MB, free: 28.43 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.006162, allocations: 2.812 kB / 458.1 MB, free: 28.43 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.41e-05/0.006186, allocations: 2.75 kB / 458.1 MB, free: 28.43 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.006217, allocations: 10.81 kB / 458.1 MB, free: 28.43 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.006226, allocations: 9.016 kB / 458.1 MB, free: 28.43 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.96e-05/0.006286, allocations: 184.6 kB / 458.3 MB, free: 28.29 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.006286, allocations: 3 kB / 458.3 MB, free: 28.29 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000147/0.006433, allocations: 32.17 kB / 458.3 MB, free: 28.29 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.000117/0.00655, allocations: 132 kB / 458.4 MB, free: 28.19 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.006687, allocations: 182.7 kB / 458.6 MB, free: 28.04 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.006689, allocations: 0 / 458.6 MB, free: 28.04 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 4.353e-05/0.006732, allocations: 125.1 kB / 458.7 MB, free: 27.93 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.006879, allocations: 16.2 kB / 458.7 MB, free: 27.92 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/0.007186, allocations: 298.1 kB / 459 MB, free: 27.7 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.319e-05/0.00722, allocations: 83.16 kB / 459.1 MB, free: 27.62 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 3.789e-05/0.007257, allocations: 18.62 kB / 459.1 MB, free: 27.61 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.965e-05/0.007277, allocations: 17.06 kB / 459.1 MB, free: 27.6 MB / 410.8 MB Notification: Performance of SimCode: time 5.11e-07/0.007278, allocations: 0 / 459.1 MB, free: 27.6 MB / 410.8 MB Notification: Performance of Templates: time 0.002999/0.01028, allocations: 1.428 MB / 460.6 MB, free: 27.37 MB / 410.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.734136577229947]