Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.001102/0.001102, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001056/0.002158, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007032/0.0007032, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008947/0.001598, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9678/0.9678, allocations: 177.2 MB / 189.8 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09756/1.065, allocations: 53.66 MB / 243.4 MB, free: 15.49 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.2622/0.2622, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02621/0.2884, allocations: 13.11 MB / 291.5 MB, free: 7.316 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 292.9 MB, free: 6.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.873e-05, allocations: 5.281 kB / 292.9 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002262/0.002281, allocations: 1.81 MB / 294.7 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.003608, allocations: 1.015 MB / 295.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.885e-05/0.003707, allocations: 4 kB / 295.8 MB, free: 3.242 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.003965, allocations: 47.58 kB / 295.8 MB, free: 3.195 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003027/0.004268, allocations: 95.47 kB / 295.9 MB, free: 3.102 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.004526, allocations: 83.55 kB / 296 MB, free: 3.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.00474, allocations: 115.6 kB / 296.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.00485, allocations: 4 kB / 296.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.005003, allocations: 79.81 kB / 296.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.194e-05/0.005095, allocations: 27.91 kB / 296.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.005115, allocations: 4 kB / 296.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.005225, allocations: 47.86 kB / 296.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.59e-05/0.005281, allocations: 19.92 kB / 296.3 MB, free: 2.727 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.005313, allocations: 15.94 kB / 296.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.005494, allocations: 99.61 kB / 296.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.312e-05/0.005507, allocations: 0 / 296.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.005508, allocations: 0 / 296.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.005521, allocations: 0 / 296.4 MB, free: 2.613 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.000514/0.006035, allocations: 333 kB / 296.7 MB, free: 2.266 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.006079, allocations: 16.03 kB / 296.7 MB, free: 2.25 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.006117, allocations: 8.875 kB / 296.7 MB, free: 2.242 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.006297, allocations: 150.2 kB / 296.9 MB, free: 2.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.006315, allocations: 4.375 kB / 296.9 MB, free: 2.066 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.006336, allocations: 384 / 296.9 MB, free: 2.066 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.006455, allocations: 65.77 kB / 296.9 MB, free: 1.992 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.006467, allocations: 3.938 kB / 297 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.006475, allocations: 0 / 297 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.006482, allocations: 0 / 297 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.623e-05/0.006508, allocations: 11.98 kB / 297 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000239/0.006747, allocations: 170 kB / 297.1 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.894e-05/0.006846, allocations: 81.3 kB / 297.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.463e-05/0.006871, allocations: 20.78 kB / 297.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.006883, allocations: 0 / 297.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.006995, allocations: 70.14 kB / 297.3 MB, free: 1.598 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.006997, allocations: 0 / 297.3 MB, free: 1.598 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003498/0.007346, allocations: 117.5 kB / 297.4 MB, free: 1.477 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.007389, allocations: 51.41 kB / 297.5 MB, free: 1.414 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.007524, allocations: 189.2 kB / 297.6 MB, free: 1.215 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.007544, allocations: 25.7 kB / 297.7 MB, free: 1.184 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.951e-05/0.007593, allocations: 96.11 kB / 297.8 MB, free: 1.086 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.007635, allocations: 27.83 kB / 297.8 MB, free: 1.059 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.007673, allocations: 21.72 kB / 297.8 MB, free: 1.031 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.007787, allocations: 326.8 kB / 298.1 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.899e-05/0.007806, allocations: 6.828 kB / 298.1 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.101e-05/0.007837, allocations: 25.7 kB / 298.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.911e-05/0.007886, allocations: 36.52 kB / 298.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.007889, allocations: 4 kB / 298.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.496e-05/0.007984, allocations: 80.44 kB / 298.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.008001, allocations: 8 kB / 298.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.008006, allocations: 0 / 298.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.008025, allocations: 0 / 298.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.008126, allocations: 27.91 kB / 298.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.008131, allocations: 0 / 298.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.33e-05/0.008165, allocations: 4 kB / 298.3 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.00817, allocations: 0 / 298.3 MB, free: 0.4922 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 0.0001083/0.008279, allocations: 124.6 kB / 298.4 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.008297, allocations: 15.97 kB / 298.5 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.008439, allocations: 79.06 kB / 298.5 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.008441, allocations: 0 / 298.5 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.008444, allocations: 0 / 298.5 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.008449, allocations: 0 / 298.5 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.008755, allocations: 303.4 kB / 298.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.008756, allocations: 0 / 298.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.679e-05/0.008793, allocations: 15.98 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.55e-05/0.008808, allocations: 7.953 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.008812, allocations: 0 / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.00882, allocations: 4.031 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.008822, allocations: 3.938 kB / 298.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.008824, allocations: 4 kB / 298.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.008964, allocations: 219 kB / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.008981, allocations: 0 / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.003e-05/0.009021, allocations: 4 kB / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.009059, allocations: 7.984 kB / 299.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.009076, allocations: 4.375 kB / 299.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.781e-05/0.009124, allocations: 51.62 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009124, allocations: 0 / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001491/0.009273, allocations: 20 kB / 299.2 MB, free: 15.57 MB / 298.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.001472/0.01074, allocations: 0.6499 MB / 299.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.01086, allocations: 44.83 kB / 299.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/0.01087, allocations: 8 kB / 299.9 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.315e-05/0.01091, allocations: 36.7 kB / 299.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.01117, allocations: 180.4 kB / 300.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005813/0.01175, allocations: 223.7 kB / 300.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.171e-05/0.0118, allocations: 67.33 kB / 300.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.442e-05/0.01185, allocations: 13.17 kB / 300.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.664e-05/0.01192, allocations: 67.36 kB / 300.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01192, allocations: 0 / 300.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of Templates: time 0.003856/0.01578, allocations: 2.054 MB / 302.5 MB, free: 12.55 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.836238093674183]