Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.0008501/0.0008501, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001098/0.001948, allocations: 449.7 kB / 10.37 MB, free: 328 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.00076/0.00076, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009765/0.001736, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.009/1.009, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09816/1.107, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2718/0.2718, allocations: 34.25 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02742/0.2992, allocations: 13.1 MB / 291.3 MB, free: 7.383 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.103e-05, allocations: 5.828 kB / 292.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002535/0.002557, allocations: 1.833 MB / 294.6 MB, free: 4.367 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.003729, allocations: 1.029 MB / 295.6 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.741e-05/0.003786, allocations: 0 / 295.6 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.003971, allocations: 111.5 kB / 295.7 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002114/0.004182, allocations: 127.4 kB / 295.8 MB, free: 3.098 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.004347, allocations: 83.59 kB / 295.9 MB, free: 3.016 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.00449, allocations: 143.6 kB / 296 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.816e-05/0.004548, allocations: 18.19 kB / 296.1 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.004654, allocations: 103.8 kB / 296.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.626e-05/0.00473, allocations: 59.84 kB / 296.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.004742, allocations: 8 kB / 296.2 MB, free: 2.688 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.004877, allocations: 59.92 kB / 296.3 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.535e-05/0.004912, allocations: 31.86 kB / 296.3 MB, free: 2.598 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.00494, allocations: 23.94 kB / 296.3 MB, free: 2.574 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.00508, allocations: 135.5 kB / 296.5 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.398e-06/0.00509, allocations: 3.938 kB / 296.5 MB, free: 2.438 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.005091, allocations: 0 / 296.5 MB, free: 2.438 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.0051, allocations: 0 / 296.5 MB, free: 2.438 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003053/0.005405, allocations: 380.7 kB / 296.9 MB, free: 2.043 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.282e-05/0.005428, allocations: 12.03 kB / 296.9 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.323e-05/0.005451, allocations: 12.92 kB / 296.9 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.00557, allocations: 166.4 kB / 297 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-06/0.00558, allocations: 384 / 297 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.005596, allocations: 8.375 kB / 297 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.609e-05/0.005672, allocations: 78.73 kB / 297.1 MB, free: 1.734 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.005679, allocations: 7.922 kB / 297.1 MB, free: 1.727 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-06/0.005685, allocations: 0 / 297.1 MB, free: 1.727 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.00569, allocations: 4 kB / 297.1 MB, free: 1.723 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.528e-05/0.005725, allocations: 15.92 kB / 297.2 MB, free: 1.707 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.005897, allocations: 193.8 kB / 297.3 MB, free: 1.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.006016, allocations: 101.3 kB / 297.4 MB, free: 1.391 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.904e-05/0.006035, allocations: 12.86 kB / 297.5 MB, free: 1.375 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.006044, allocations: 11.92 kB / 297.5 MB, free: 1.363 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.837e-05/0.006113, allocations: 70.16 kB / 297.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 8.02e-07/0.006113, allocations: 0 / 297.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003706/0.006484, allocations: 213.5 kB / 297.7 MB, free: 1.066 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.115e-05/0.006505, allocations: 51.41 kB / 297.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.006616, allocations: 213.8 kB / 298 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.00663, allocations: 29.7 kB / 298 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/0.006664, allocations: 100 kB / 298.1 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.006698, allocations: 51.58 kB / 298.2 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.00673, allocations: 29.69 kB / 298.2 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.309e-05/0.006803, allocations: 338.7 kB / 298.5 MB, free: 224 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.914e-05/0.006822, allocations: 14.83 kB / 298.6 MB, free: 208 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.017e-05/0.006852, allocations: 37.69 kB / 298.6 MB, free: 164 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.147e-05/0.006904, allocations: 58.02 kB / 298.6 MB, free: 100 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.006905, allocations: 0 / 298.6 MB, free: 100 kB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 8.082e-05/0.006985, allocations: 92.42 kB / 298.7 MB, free: 0 / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.007009, allocations: 8.047 kB / 298.7 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.007012, allocations: 0 / 298.7 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.024e-06/0.007019, allocations: 4.031 kB / 298.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.251e-05/0.007082, allocations: 35.88 kB / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.007085, allocations: 3.984 kB / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.466e-05/0.007109, allocations: 4 kB / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.007115, allocations: 4 kB / 298.8 MB, free: 15.94 MB / 298.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 (16): * Single equations (assignments): 16 * 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 5.959e-05/0.007175, allocations: 123 kB / 298.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.00719, allocations: 20.09 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.007314, allocations: 114.9 kB / 299 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.007317, allocations: 4 kB / 299.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.007319, allocations: 3.984 kB / 299.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.007321, allocations: 4 kB / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.007574, allocations: 361 kB / 299.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.007576, allocations: 0 / 299.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.817e-05/0.007624, allocations: 27.92 kB / 299.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.007638, allocations: 15.91 kB / 299.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.007639, allocations: 0 / 299.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.007647, allocations: 8 kB / 299.5 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.007649, allocations: 3.938 kB / 299.5 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.00765, allocations: 0 / 299.5 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.007761, allocations: 247.9 kB / 299.7 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.007779, allocations: 8 kB / 299.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.151e-05/0.00782, allocations: 7.938 kB / 299.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.232e-05/0.007843, allocations: 15.95 kB / 299.7 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.007855, allocations: 12 kB / 299.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.633e-05/0.007901, allocations: 69.92 kB / 299.8 MB, free: 14.85 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.007902, allocations: 0 / 299.8 MB, free: 14.85 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001459/0.008047, allocations: 39.92 kB / 299.9 MB, free: 14.81 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001653/0.009701, allocations: 0.7176 MB / 300.6 MB, free: 14.49 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.901e-05/0.0098, allocations: 68.77 kB / 300.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.009806, allocations: 4 kB / 300.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.178e-05/0.009848, allocations: 44.7 kB / 300.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.01003, allocations: 51.84 kB / 300.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/0.01045, allocations: 304.7 kB / 301 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.237e-05/0.0105, allocations: 84 kB / 301.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.871e-05/0.01055, allocations: 25.47 kB / 301.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.855e-05/0.01061, allocations: 71.36 kB / 301.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01061, allocations: 0 / 301.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of Templates: time 0.003576/0.01419, allocations: 2.595 MB / 303.8 MB, free: 11.23 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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.8728265473619103]