Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.000823/0.000823, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001219/0.002042, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0008322/0.0008322, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0011/0.001932, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.019/1.019, allocations: 158.6 MB / 171 MB, free: 2.594 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1524/1.171, allocations: 49.5 MB / 220.5 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1365/0.1365, allocations: 32.35 MB / 253.6 MB, free: 332 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03037/0.1669, allocations: 12.3 MB / 265.9 MB, free: 3.988 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 267.3 MB, free: 2.621 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.734e-05/4.01e-05, allocations: 6.25 kB / 267.3 MB, free: 2.613 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.00245/0.00249, allocations: 1.778 MB / 269.1 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009249/0.003415, allocations: 0.7997 MB / 269.9 MB, free: 8 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.003482, allocations: 0 / 269.9 MB, free: 8 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.003726, allocations: 103.7 kB / 270 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.003875, allocations: 79.7 kB / 270 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.004056, allocations: 83.72 kB / 270.1 MB, free: 15.74 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.004214, allocations: 115.6 kB / 270.2 MB, free: 15.63 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.114e-05/0.004295, allocations: 8.172 kB / 270.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.004424, allocations: 91.8 kB / 270.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.873e-05/0.004523, allocations: 51.88 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.004538, allocations: 4 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003654/0.004904, allocations: 43.86 kB / 270.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.004952, allocations: 23.88 kB / 270.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.483e-05/0.004987, allocations: 11.94 kB / 270.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.005147, allocations: 99.66 kB / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.692e-05/0.005164, allocations: 4 kB / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005165, allocations: 0 / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.715e-05/0.005183, allocations: 0 / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004775/0.00566, allocations: 351.7 kB / 270.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.005692, allocations: 12.03 kB / 270.9 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.005727, allocations: 4.938 kB / 270.9 MB, free: 14.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.005895, allocations: 161.5 kB / 271.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.005911, allocations: 4.359 kB / 271.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.005929, allocations: 4.375 kB / 271.1 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.006065, allocations: 61.77 kB / 271.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.006075, allocations: 7.938 kB / 271.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.006082, allocations: 0 / 271.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.006088, allocations: 0 / 271.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.82e-05/0.006117, allocations: 8 kB / 271.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000216/0.006333, allocations: 170 kB / 271.3 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.8e-05/0.006431, allocations: 85.28 kB / 271.4 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.97e-05/0.00645, allocations: 12.84 kB / 271.4 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.006462, allocations: 0 / 271.4 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001261/0.006589, allocations: 70.16 kB / 271.5 MB, free: 14.26 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.00659, allocations: 4 kB / 271.5 MB, free: 14.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003388/0.006929, allocations: 117.5 kB / 271.6 MB, free: 14.14 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.006959, allocations: 55.41 kB / 271.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.007065, allocations: 184.2 kB / 271.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.007082, allocations: 29.7 kB / 271.9 MB, free: 13.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/0.007112, allocations: 92.11 kB / 272 MB, free: 13.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.007139, allocations: 27.72 kB / 272 MB, free: 13.72 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.007172, allocations: 25.7 kB / 272 MB, free: 13.69 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.573e-05/0.007257, allocations: 326.8 kB / 272.3 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.913e-05/0.007277, allocations: 10.81 kB / 272.4 MB, free: 13.35 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.138e-05/0.007298, allocations: 25.72 kB / 272.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.417e-05/0.007342, allocations: 52.56 kB / 272.4 MB, free: 13.26 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.007343, allocations: 0 / 272.4 MB, free: 13.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.685e-05/0.00742, allocations: 72.38 kB / 272.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.007433, allocations: 4 kB / 272.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.007438, allocations: 0 / 272.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.007447, allocations: 0 / 272.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.06e-05/0.007518, allocations: 23.88 kB / 272.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.007522, allocations: 3.984 kB / 272.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/0.007551, allocations: 8.031 kB / 272.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.007558, allocations: 4 kB / 272.5 MB, free: 13.14 MB / 282.7 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.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.347e-05/0.007622, allocations: 116.7 kB / 272.7 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.007636, allocations: 19.92 kB / 272.7 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.007739, allocations: 71.08 kB / 272.8 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.007741, allocations: 0 / 272.8 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.007743, allocations: 0 / 272.8 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.007747, allocations: 7.984 kB / 272.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.00796, allocations: 295.4 kB / 273 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.007963, allocations: 8.031 kB / 273.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.988e-05/0.007993, allocations: 8 kB / 273.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.168e-05/0.008005, allocations: 7.953 kB / 273.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.008008, allocations: 3.984 kB / 273.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.008015, allocations: 4 kB / 273.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.008017, allocations: 0 / 273.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.008018, allocations: 0 / 273.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.651e-05/0.008115, allocations: 219 kB / 273.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.008134, allocations: 4.375 kB / 273.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.993e-05/0.008174, allocations: 3.984 kB / 273.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.008198, allocations: 12 kB / 273.3 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.008213, allocations: 11.98 kB / 273.3 MB, free: 12.3 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.397e-05/0.008257, allocations: 60.69 kB / 273.4 MB, free: 12.24 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008257, allocations: 0 / 273.4 MB, free: 12.24 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001377/0.008395, allocations: 23.94 kB / 273.4 MB, free: 12.21 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001282/0.009677, allocations: 0.6322 MB / 274 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.458e-05/0.009771, allocations: 40.84 kB / 274.1 MB, free: 11.53 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.00978, allocations: 4 kB / 274.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.822e-05/0.009808, allocations: 32.7 kB / 274.1 MB, free: 11.49 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.01, allocations: 51.77 kB / 274.2 MB, free: 11.44 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005049/0.01051, allocations: 238.7 kB / 274.4 MB, free: 11.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.527e-05/0.01055, allocations: 75.27 kB / 274.5 MB, free: 11.08 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.376e-05/0.01059, allocations: 12.8 kB / 274.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.396e-05/0.01065, allocations: 75.34 kB / 274.6 MB, free: 11 MB / 282.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01065, allocations: 0 / 274.6 MB, free: 11 MB / 282.7 MB Notification: Performance of Templates: time 0.003811/0.01446, allocations: 2.012 MB / 276.6 MB, free: 8.98 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.979078051634133]