Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.002622/0.002622, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002962/0.002962, allocations: 165.3 kB / 24.28 MB, free: 152 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.694/1.694, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 1.025/1.025, allocations: 88.09 MB / 349.2 MB, free: 14.28 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.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 450.8 MB, free: 33.11 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.278e-05/3.461e-05, allocations: 4.969 kB / 450.8 MB, free: 33.1 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002571/0.002605, allocations: 1.584 MB / 452.4 MB, free: 32.03 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.004104, allocations: 1.01 MB / 453.4 MB, free: 31.4 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.272e-05/0.004187, allocations: 0 / 453.4 MB, free: 31.4 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0003598/0.004547, allocations: 66.69 kB / 453.5 MB, free: 31.37 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004842/0.005031, allocations: 162.7 kB / 453.6 MB, free: 31.3 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.005199, allocations: 73.84 kB / 453.7 MB, free: 31.26 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.005403, allocations: 140.6 kB / 453.8 MB, free: 31.2 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.005446, allocations: 2.875 kB / 453.8 MB, free: 31.2 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.005679, allocations: 89.44 kB / 453.9 MB, free: 31.16 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.005805, allocations: 54.09 kB / 454 MB, free: 31.15 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.005831, allocations: 2.969 kB / 454 MB, free: 31.15 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.111e-05/0.005922, allocations: 47.12 kB / 454 MB, free: 31.13 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.006054, allocations: 71.84 kB / 454.1 MB, free: 31.11 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.28e-05/0.006106, allocations: 33.55 kB / 454.1 MB, free: 31.09 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.006338, allocations: 146.8 kB / 454.3 MB, free: 31.04 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.006343, allocations: 0 / 454.3 MB, free: 31.04 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.362e-06/0.006344, allocations: 0 / 454.3 MB, free: 31.04 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.00635, allocations: 0 / 454.3 MB, free: 31.04 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000614/0.006964, allocations: 0.5286 MB / 454.8 MB, free: 30.55 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.007001, allocations: 14.94 kB / 454.8 MB, free: 30.55 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.535e-05/0.007066, allocations: 25.48 kB / 454.8 MB, free: 30.53 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.007429, allocations: 263 kB / 455.1 MB, free: 30.33 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.007444, allocations: 384 / 455.1 MB, free: 30.33 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.007455, allocations: 3.125 kB / 455.1 MB, free: 30.33 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.007574, allocations: 51.22 kB / 455.2 MB, free: 30.29 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.007585, allocations: 3.938 kB / 455.2 MB, free: 30.29 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.007596, allocations: 0 / 455.2 MB, free: 30.29 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.0076, allocations: 0 / 455.2 MB, free: 30.29 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.764e-05/0.007668, allocations: 15.31 kB / 455.2 MB, free: 30.29 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.007868, allocations: 195 kB / 455.4 MB, free: 30.11 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.008021, allocations: 58.45 kB / 455.4 MB, free: 30.06 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.758e-05/0.008068, allocations: 23.66 kB / 455.4 MB, free: 30.05 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.008085, allocations: 0 / 455.4 MB, free: 30.05 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.008218, allocations: 65.8 kB / 455.5 MB, free: 29.99 MB / 410.8 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.008219, allocations: 0 / 455.5 MB, free: 29.99 MB / 410.8 MB Notification: Performance of matching and sorting (n=5): time 0.0002854/0.008505, allocations: 117.3 kB / 455.6 MB, free: 29.92 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.008532, allocations: 51.41 kB / 455.7 MB, free: 29.86 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.008774, allocations: 347.7 kB / 456 MB, free: 29.64 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.008784, allocations: 25.7 kB / 456 MB, free: 29.61 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.008865, allocations: 198.1 kB / 456.2 MB, free: 29.43 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.008896, allocations: 17.97 kB / 456.2 MB, free: 29.41 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.008935, allocations: 31.5 kB / 456.3 MB, free: 29.38 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.009041, allocations: 0.5136 MB / 456.8 MB, free: 28.88 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.232e-05/0.009084, allocations: 15.66 kB / 456.8 MB, free: 28.87 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.647e-05/0.00913, allocations: 33.69 kB / 456.8 MB, free: 28.84 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.666e-05/0.009207, allocations: 47.19 kB / 456.9 MB, free: 28.8 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.009209, allocations: 0 / 456.9 MB, free: 28.8 MB / 410.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001441/0.009353, allocations: 91.84 kB / 457 MB, free: 28.75 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.009368, allocations: 11.94 kB / 457 MB, free: 28.75 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.009374, allocations: 7.875 kB / 457 MB, free: 28.74 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.009391, allocations: 2.875 kB / 457 MB, free: 28.74 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.538e-05/0.009466, allocations: 11.95 kB / 457 MB, free: 28.74 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.009472, allocations: 0 / 457 MB, free: 28.74 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.993e-05/0.009522, allocations: 6.719 kB / 457 MB, free: 28.73 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.00953, allocations: 2.781 kB / 457 MB, free: 28.73 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.962e-05/0.00961, allocations: 159.5 kB / 457.2 MB, free: 28.57 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.009643, allocations: 28.25 kB / 457.2 MB, free: 28.56 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001855/0.009828, allocations: 106.3 kB / 457.3 MB, free: 28.5 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.009831, allocations: 4 kB / 457.3 MB, free: 28.49 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.009834, allocations: 0 / 457.3 MB, free: 28.49 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.009838, allocations: 0 / 457.3 MB, free: 28.49 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.009976, allocations: 201 kB / 457.5 MB, free: 28.32 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.009977, allocations: 0 / 457.5 MB, free: 28.32 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.577e-05/0.01, allocations: 5.844 kB / 457.5 MB, free: 28.32 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.01, allocations: 0 / 457.5 MB, free: 28.32 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.01001, allocations: 4 kB / 457.5 MB, free: 28.31 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.01002, allocations: 6.875 kB / 457.5 MB, free: 28.31 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01002, allocations: 0 / 457.5 MB, free: 28.31 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.01019, allocations: 134.4 kB / 457.7 MB, free: 28.2 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.01023, allocations: 28.86 kB / 457.7 MB, free: 28.18 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.01026, allocations: 3 kB / 457.7 MB, free: 28.18 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.113e-05/0.0103, allocations: 13.97 kB / 457.7 MB, free: 28.18 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.01034, allocations: 0 / 457.7 MB, free: 28.18 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.01036, allocations: 6.375 kB / 457.7 MB, free: 28.18 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001494/0.0105, allocations: 231.6 kB / 457.9 MB, free: 28.02 MB / 410.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.0105, allocations: 0 / 457.9 MB, free: 28.02 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002096/0.01071, allocations: 29.89 kB / 458 MB, free: 28.01 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002749/0.01346, allocations: 435.8 kB / 458.4 MB, free: 27.82 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.01363, allocations: 54.72 kB / 458.4 MB, free: 27.8 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01364, allocations: 0 / 458.4 MB, free: 27.8 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 5.739e-05/0.01369, allocations: 32.56 kB / 458.5 MB, free: 27.78 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.01401, allocations: 36.72 kB / 458.5 MB, free: 27.76 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005133/0.01452, allocations: 318.5 kB / 458.8 MB, free: 27.53 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.011e-05/0.01461, allocations: 128 kB / 458.9 MB, free: 27.45 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 7.994e-05/0.01469, allocations: 33.28 kB / 459 MB, free: 27.44 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.18e-05/0.01474, allocations: 22.72 kB / 459 MB, free: 27.43 MB / 410.8 MB Notification: Performance of SimCode: time 9.62e-07/0.01474, allocations: 0 / 459 MB, free: 27.43 MB / 410.8 MB Notification: Performance of Templates: time 0.005429/0.02017, allocations: 1.851 MB / 460.8 MB, free: 27.14 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.206213217927143]