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.000932/0.000932, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001285/0.001285, allocations: 169 kB / 24.91 MB, free: 8.723 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.9394/0.9394, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.7138/0.7138, allocations: 88.08 MB / 349.9 MB, free: 11.85 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.252e-06/1.252e-06, allocations: 0 / 398.8 MB, free: 13.35 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.576e-05/1.701e-05, allocations: 6.312 kB / 398.8 MB, free: 13.34 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.001777/0.001794, allocations: 1.477 MB / 400.3 MB, free: 11.86 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.000727/0.002521, allocations: 0.584 MB / 400.9 MB, free: 11.27 MB / 378.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.687e-05/0.002568, allocations: 0 / 400.9 MB, free: 11.27 MB / 378.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.00271, allocations: 19.91 kB / 400.9 MB, free: 11.25 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.002931, allocations: 75.78 kB / 401 MB, free: 11.17 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.003097, allocations: 71.72 kB / 401.1 MB, free: 11.1 MB / 378.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.003205, allocations: 83.81 kB / 401.1 MB, free: 11.02 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 2.719e-05/0.003233, allocations: 0 / 401.1 MB, free: 11.02 MB / 378.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002592/0.003492, allocations: 151.7 kB / 401.3 MB, free: 10.87 MB / 378.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.386e-05/0.003546, allocations: 27.91 kB / 401.3 MB, free: 10.84 MB / 378.8 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.00356, allocations: 4 kB / 401.3 MB, free: 10.84 MB / 378.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.003678, allocations: 87.84 kB / 401.4 MB, free: 10.75 MB / 378.8 MB Notification: Performance of NFScalarize.scalarize: time 6.025e-05/0.003738, allocations: 51.84 kB / 401.5 MB, free: 10.7 MB / 378.8 MB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.003765, allocations: 15.94 kB / 401.5 MB, free: 10.69 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.003921, allocations: 151.4 kB / 401.6 MB, free: 10.54 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.373e-06/0.003923, allocations: 0 / 401.6 MB, free: 10.54 MB / 378.8 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003923, allocations: 0 / 401.6 MB, free: 10.54 MB / 378.8 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.003927, allocations: 4 kB / 401.6 MB, free: 10.54 MB / 378.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.0003092/0.004236, allocations: 377.6 kB / 402 MB, free: 10.14 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.004264, allocations: 8.031 kB / 402 MB, free: 10.13 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.004291, allocations: 8.938 kB / 402 MB, free: 10.12 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.004736, allocations: 206.1 kB / 402.2 MB, free: 9.895 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-06/0.004743, allocations: 4.375 kB / 402.2 MB, free: 9.891 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.00475, allocations: 384 / 402.2 MB, free: 9.891 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.011e-05/0.00483, allocations: 79.94 kB / 402.3 MB, free: 9.801 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.004836, allocations: 192 / 402.3 MB, free: 9.801 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.004842, allocations: 4.375 kB / 402.3 MB, free: 9.797 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.004847, allocations: 3.938 kB / 402.3 MB, free: 9.793 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.135e-05/0.004879, allocations: 41.69 kB / 402.3 MB, free: 9.746 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.167e-05/0.00495, allocations: 65 kB / 402.4 MB, free: 9.668 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.29e-05/0.004993, allocations: 60.2 kB / 402.5 MB, free: 9.594 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.005026, allocations: 50.59 kB / 402.5 MB, free: 9.535 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-06/0.00503, allocations: 0 / 402.5 MB, free: 9.535 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.46e-05/0.005125, allocations: 134.9 kB / 402.6 MB, free: 9.379 MB / 378.8 MB Notification: Performance of pre-optimization done (n=8): time 6.72e-07/0.005126, allocations: 0 / 402.6 MB, free: 9.379 MB / 378.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001399/0.005266, allocations: 170.7 kB / 402.8 MB, free: 9.188 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.005295, allocations: 85.11 kB / 402.9 MB, free: 9.086 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.005396, allocations: 196.7 kB / 403.1 MB, free: 8.883 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.005408, allocations: 29.7 kB / 403.1 MB, free: 8.848 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.74e-05/0.005435, allocations: 96.61 kB / 403.2 MB, free: 8.75 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.005464, allocations: 23.81 kB / 403.2 MB, free: 8.727 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.005491, allocations: 17.72 kB / 403.2 MB, free: 8.703 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 7.404e-05/0.005565, allocations: 338.8 kB / 403.6 MB, free: 8.363 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.404e-05/0.005589, allocations: 37.7 kB / 403.6 MB, free: 8.32 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.306e-05/0.005612, allocations: 45.62 kB / 403.7 MB, free: 8.27 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.492e-05/0.005667, allocations: 92.23 kB / 403.8 MB, free: 8.164 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.005669, allocations: 0 / 403.8 MB, free: 8.164 MB / 378.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.783e-05/0.005757, allocations: 133 kB / 403.9 MB, free: 8.016 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.00578, allocations: 37.69 kB / 403.9 MB, free: 7.973 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.005783, allocations: 4 kB / 403.9 MB, free: 7.969 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.283e-06/0.005791, allocations: 0 / 403.9 MB, free: 7.969 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.266e-05/0.005833, allocations: 4 kB / 403.9 MB, free: 7.965 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.005837, allocations: 3.984 kB / 403.9 MB, free: 7.961 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.191e-05/0.005869, allocations: 15.83 kB / 403.9 MB, free: 7.945 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.005884, allocations: 8 kB / 404 MB, free: 7.938 MB / 378.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.429e-05/0.005958, allocations: 154.3 kB / 404.1 MB, free: 7.77 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.005978, allocations: 15.98 kB / 404.1 MB, free: 7.754 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.006, allocations: 17.47 kB / 404.1 MB, free: 7.734 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006001, allocations: 0 / 404.1 MB, free: 7.734 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.006002, allocations: 0 / 404.1 MB, free: 7.734 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.006006, allocations: 7.922 kB / 404.1 MB, free: 7.727 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.626e-05/0.006073, allocations: 97.86 kB / 404.2 MB, free: 7.613 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.006075, allocations: 4 kB / 404.2 MB, free: 7.609 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.013e-05/0.006085, allocations: 4 kB / 404.2 MB, free: 7.605 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.006086, allocations: 0 / 404.2 MB, free: 7.605 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.006093, allocations: 7.984 kB / 404.3 MB, free: 7.598 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.42e-07/0.006094, allocations: 0 / 404.3 MB, free: 7.598 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.006095, allocations: 0 / 404.3 MB, free: 7.598 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.006198, allocations: 176.4 kB / 404.4 MB, free: 7.395 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.633e-05/0.006224, allocations: 19.84 kB / 404.4 MB, free: 7.375 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.006243, allocations: 8 kB / 404.5 MB, free: 7.367 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.908e-05/0.006262, allocations: 7.938 kB / 404.5 MB, free: 7.359 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.183e-05/0.006284, allocations: 3.984 kB / 404.5 MB, free: 7.355 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.006295, allocations: 8 kB / 404.5 MB, free: 7.348 MB / 378.8 MB Notification: Performance of sorting global known variables: time 4.37e-05/0.006338, allocations: 66.03 kB / 404.5 MB, free: 7.277 MB / 378.8 MB Notification: Performance of sort global known variables: time 5e-08/0.006338, allocations: 0 / 404.5 MB, free: 7.277 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.0001209/0.006459, allocations: 32 kB / 404.6 MB, free: 7.246 MB / 378.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.0001071/0.006567, allocations: 108.3 kB / 404.7 MB, free: 7.129 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.006693, allocations: 179.5 kB / 404.9 MB, free: 6.926 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.006696, allocations: 0 / 404.9 MB, free: 6.926 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 5.414e-05/0.00675, allocations: 121.9 kB / 405 MB, free: 6.785 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.459e-05/0.006844, allocations: 16.73 kB / 405 MB, free: 6.762 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002783/0.007123, allocations: 286.4 kB / 405.3 MB, free: 6.449 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.022e-05/0.007163, allocations: 87.67 kB / 405.4 MB, free: 6.344 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 3.522e-05/0.007198, allocations: 17.78 kB / 405.4 MB, free: 6.324 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.222e-05/0.00728, allocations: 87.36 kB / 405.5 MB, free: 6.238 MB / 378.8 MB Notification: Performance of SimCode: time 1.042e-06/0.007281, allocations: 0 / 405.5 MB, free: 6.238 MB / 378.8 MB Notification: Performance of Templates: time 0.002822/0.0101, allocations: 1.385 MB / 406.8 MB, free: 4.871 MB / 378.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 -s gbode -gbm=radauIIA3 -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.2149522588588297]