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.001155/0.001155, allocations: 84.22 kB / 20.93 MB, free: 3.625 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.001215/0.001215, allocations: 161 kB / 24.23 MB, free: 332 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 1.117/1.117, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.8847/0.8847, allocations: 88.08 MB / 349.1 MB, free: 14.29 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.693e-06/1.693e-06, allocations: 0 / 450.8 MB, free: 33.44 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.723e-05/3.892e-05, allocations: 5.375 kB / 450.8 MB, free: 33.44 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002222/0.002261, allocations: 1.437 MB / 452.2 MB, free: 32.47 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000946/0.003207, allocations: 0.5757 MB / 452.8 MB, free: 32.11 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.798e-05/0.003285, allocations: 6.781 kB / 452.8 MB, free: 32.1 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.00353, allocations: 24.06 kB / 452.8 MB, free: 32.09 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003793/0.00391, allocations: 72.2 kB / 452.9 MB, free: 32.07 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.004177, allocations: 76.41 kB / 453 MB, free: 32.04 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.004335, allocations: 87.86 kB / 453.1 MB, free: 32.01 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.341e-05/0.004389, allocations: 3.938 kB / 453.1 MB, free: 32 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.00462, allocations: 65.81 kB / 453.1 MB, free: 31.98 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.004778, allocations: 47.7 kB / 453.2 MB, free: 31.97 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.004802, allocations: 5.875 kB / 453.2 MB, free: 31.97 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.004914, allocations: 74.31 kB / 453.2 MB, free: 31.95 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.005044, allocations: 67.44 kB / 453.3 MB, free: 31.93 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.104e-05/0.005105, allocations: 20.22 kB / 453.3 MB, free: 31.92 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.005337, allocations: 146 kB / 453.5 MB, free: 31.86 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.005342, allocations: 0 / 453.5 MB, free: 31.86 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.154e-06/0.005344, allocations: 4 kB / 453.5 MB, free: 31.86 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.005351, allocations: 2.969 kB / 453.5 MB, free: 31.86 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.0005522/0.005903, allocations: 0.4988 MB / 454 MB, free: 31.38 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.005953, allocations: 8.719 kB / 454 MB, free: 31.38 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.978e-05/0.006023, allocations: 19.72 kB / 454 MB, free: 31.37 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.006393, allocations: 237.9 kB / 454.2 MB, free: 31.18 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.006405, allocations: 384 / 454.2 MB, free: 31.18 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.006422, allocations: 5.891 kB / 454.2 MB, free: 31.18 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.00657, allocations: 81.22 kB / 454.3 MB, free: 31.11 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.006578, allocations: 192 / 454.3 MB, free: 31.11 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.006586, allocations: 4.375 kB / 454.3 MB, free: 31.11 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.006598, allocations: 3.938 kB / 454.3 MB, free: 31.11 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.073e-05/0.006649, allocations: 50 kB / 454.4 MB, free: 31.07 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.006842, allocations: 171.1 kB / 454.6 MB, free: 30.91 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.22e-05/0.006914, allocations: 71.77 kB / 454.6 MB, free: 30.83 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.006967, allocations: 54.44 kB / 454.7 MB, free: 30.78 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.006977, allocations: 0 / 454.7 MB, free: 30.78 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.007131, allocations: 136.3 kB / 454.8 MB, free: 30.66 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.007132, allocations: 0 / 454.8 MB, free: 30.66 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0003353/0.007467, allocations: 227.7 kB / 455 MB, free: 30.5 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.007509, allocations: 87.95 kB / 455.1 MB, free: 30.4 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.00766, allocations: 273.5 kB / 455.4 MB, free: 30.2 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.007672, allocations: 28.61 kB / 455.4 MB, free: 30.17 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.678e-05/0.007729, allocations: 166.9 kB / 455.6 MB, free: 30.01 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.007771, allocations: 18.67 kB / 455.6 MB, free: 30 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.00781, allocations: 34.23 kB / 455.6 MB, free: 29.97 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 8.381e-05/0.007894, allocations: 0.5033 MB / 456.1 MB, free: 29.47 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.209e-05/0.007936, allocations: 41.14 kB / 456.2 MB, free: 29.43 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.119e-05/0.007967, allocations: 47.22 kB / 456.2 MB, free: 29.4 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.484e-05/0.008052, allocations: 103.8 kB / 456.3 MB, free: 29.31 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.008054, allocations: 0 / 456.3 MB, free: 29.31 MB / 410.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001552/0.00821, allocations: 182 kB / 456.5 MB, free: 29.19 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.36e-05/0.008253, allocations: 41.14 kB / 456.5 MB, free: 29.16 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.008259, allocations: 0 / 456.5 MB, free: 29.16 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.008278, allocations: 2.828 kB / 456.5 MB, free: 29.16 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.645e-05/0.008364, allocations: 10.38 kB / 456.5 MB, free: 29.15 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.008372, allocations: 0 / 456.5 MB, free: 29.15 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.017e-05/0.008432, allocations: 16.66 kB / 456.6 MB, free: 29.14 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.008452, allocations: 5.656 kB / 456.6 MB, free: 29.14 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 9.285e-05/0.008545, allocations: 193.8 kB / 456.8 MB, free: 28.95 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.008571, allocations: 25.48 kB / 456.8 MB, free: 28.93 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.578e-05/0.008606, allocations: 21.84 kB / 456.8 MB, free: 28.93 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.008609, allocations: 0 / 456.8 MB, free: 28.93 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.008616, allocations: 3.938 kB / 456.8 MB, free: 28.92 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.00862, allocations: 0 / 456.8 MB, free: 28.92 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.008749, allocations: 183.6 kB / 457 MB, free: 28.75 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.008751, allocations: 2.594 kB / 457 MB, free: 28.75 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.442e-05/0.008775, allocations: 2.875 kB / 457 MB, free: 28.75 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.008778, allocations: 0 / 457 MB, free: 28.75 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.00879, allocations: 2.906 kB / 457 MB, free: 28.75 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.008792, allocations: 0 / 457 MB, free: 28.75 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.008794, allocations: 0 / 457 MB, free: 28.75 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.009018, allocations: 250 kB / 457.2 MB, free: 28.57 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.009066, allocations: 27.03 kB / 457.3 MB, free: 28.55 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.009094, allocations: 5.75 kB / 457.3 MB, free: 28.55 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.937e-05/0.009133, allocations: 2.75 kB / 457.3 MB, free: 28.55 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.009182, allocations: 7.938 kB / 457.3 MB, free: 28.55 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.009198, allocations: 11.8 kB / 457.3 MB, free: 28.55 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.739e-05/0.009275, allocations: 188.5 kB / 457.5 MB, free: 28.41 MB / 410.8 MB Notification: Performance of sort global known variables: time 4e-08/0.009275, allocations: 0 / 457.5 MB, free: 28.41 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001789/0.009454, allocations: 29.38 kB / 457.5 MB, free: 28.41 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.0001828/0.009637, allocations: 135.2 kB / 457.6 MB, free: 28.31 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.009823, allocations: 173.6 kB / 457.8 MB, free: 28.16 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.009826, allocations: 3.938 kB / 457.8 MB, free: 28.16 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 5.229e-05/0.009878, allocations: 125.8 kB / 457.9 MB, free: 28.05 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.01009, allocations: 13.58 kB / 457.9 MB, free: 28.04 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005016/0.01059, allocations: 303 kB / 458.2 MB, free: 27.82 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.474e-05/0.01064, allocations: 83.69 kB / 458.3 MB, free: 27.74 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 6.767e-05/0.01071, allocations: 17.33 kB / 458.3 MB, free: 27.73 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.01074, allocations: 14.03 kB / 458.4 MB, free: 27.72 MB / 410.8 MB Notification: Performance of SimCode: time 1.352e-06/0.01074, allocations: 0 / 458.4 MB, free: 27.72 MB / 410.8 MB Notification: Performance of Templates: time 0.004291/0.01503, allocations: 1.424 MB / 459.8 MB, free: 27.49 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: 4.665894341887906]