Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.0008449/0.0008449, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001155/0.002, 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.0006899/0.0006899, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009103/0.0016, 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.033/1.033, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1733/1.207, allocations: 49.5 MB / 220.5 MB, free: 5.277 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.1292/0.1292, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02182/0.151, allocations: 12.3 MB / 265.9 MB, free: 7.832 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 267.3 MB, free: 6.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.372e-05, allocations: 2.312 kB / 267.3 MB, free: 6.461 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002709/0.002733, allocations: 1.77 MB / 269.1 MB, free: 4.672 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.003763, allocations: 0.8114 MB / 269.9 MB, free: 3.852 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.41e-05/0.003837, allocations: 0 / 269.9 MB, free: 3.852 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002553/0.004092, allocations: 47.66 kB / 269.9 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.004266, allocations: 55.69 kB / 270 MB, free: 3.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.004512, allocations: 87.7 kB / 270.1 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.004712, allocations: 103.6 kB / 270.2 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.004829, allocations: 4.234 kB / 270.2 MB, free: 3.559 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.004982, allocations: 71.83 kB / 270.2 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.761e-05/0.00508, allocations: 27.91 kB / 270.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.005106, allocations: 4 kB / 270.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.005213, allocations: 47.86 kB / 270.3 MB, free: 3.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.273e-05/0.005276, allocations: 15.92 kB / 270.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.288e-05/0.005319, allocations: 15.94 kB / 270.3 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.00548, allocations: 95.61 kB / 270.4 MB, free: 3.285 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.797e-05/0.005498, allocations: 4 kB / 270.4 MB, free: 3.281 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.0055, allocations: 0 / 270.4 MB, free: 3.281 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.005516, allocations: 4 kB / 270.4 MB, free: 3.277 MB / 266.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.000455/0.005971, allocations: 327.9 kB / 270.8 MB, free: 2.934 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.006002, allocations: 8.031 kB / 270.8 MB, free: 2.926 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.006035, allocations: 8.922 kB / 270.8 MB, free: 2.918 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.006191, allocations: 150.2 kB / 270.9 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.006208, allocations: 4.375 kB / 270.9 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.00623, allocations: 4.375 kB / 270.9 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.006362, allocations: 61.75 kB / 271 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.006374, allocations: 7.938 kB / 271 MB, free: 2.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.006383, allocations: 4 kB / 271 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.006389, allocations: 0 / 271 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.03e-05/0.006419, allocations: 8 kB / 271 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.006652, allocations: 169.9 kB / 271.2 MB, free: 2.465 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.006758, allocations: 93.3 kB / 271.3 MB, free: 2.363 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.95e-05/0.006777, allocations: 12.8 kB / 271.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.006788, allocations: 0 / 271.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/0.006896, allocations: 78.12 kB / 271.4 MB, free: 2.258 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.006897, allocations: 0 / 271.4 MB, free: 2.258 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003215/0.007219, allocations: 105.5 kB / 271.5 MB, free: 2.148 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.007257, allocations: 55.39 kB / 271.5 MB, free: 2.082 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.007376, allocations: 185 kB / 271.7 MB, free: 1.887 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.007392, allocations: 25.7 kB / 271.7 MB, free: 1.855 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.007425, allocations: 88.12 kB / 271.8 MB, free: 1.766 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.007451, allocations: 27.78 kB / 271.8 MB, free: 1.738 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.007487, allocations: 25.7 kB / 271.9 MB, free: 1.707 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.00757, allocations: 326.8 kB / 272.2 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.858e-05/0.007589, allocations: 14.77 kB / 272.2 MB, free: 1.363 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.596e-05/0.007615, allocations: 25.7 kB / 272.2 MB, free: 1.332 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.246e-05/0.007657, allocations: 44.56 kB / 272.3 MB, free: 1.281 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.007659, allocations: 0 / 272.3 MB, free: 1.281 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.564e-05/0.007734, allocations: 72.38 kB / 272.3 MB, free: 1.203 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.007748, allocations: 8 kB / 272.3 MB, free: 1.195 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.007755, allocations: 3.984 kB / 272.3 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.007763, allocations: 0 / 272.3 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.435e-05/0.007837, allocations: 19.98 kB / 272.4 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.007842, allocations: 7.969 kB / 272.4 MB, free: 1.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.837e-05/0.00787, allocations: 8 kB / 272.4 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.007876, allocations: 0 / 272.4 MB, free: 1.156 MB / 266.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 7.314e-05/0.00795, allocations: 116.7 kB / 272.5 MB, free: 1.031 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.007963, allocations: 11.92 kB / 272.5 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.008075, allocations: 75.08 kB / 272.6 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.008077, allocations: 0 / 272.6 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.008078, allocations: 0 / 272.6 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.008082, allocations: 3.984 kB / 272.6 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.008307, allocations: 303.4 kB / 272.9 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.008309, allocations: 0 / 272.9 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.811e-05/0.008337, allocations: 8 kB / 272.9 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.679e-06/0.008346, allocations: 7.953 kB / 272.9 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.00835, allocations: 4 kB / 272.9 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.008356, allocations: 3.984 kB / 272.9 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.008358, allocations: 3.938 kB / 272.9 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.008359, allocations: 0 / 272.9 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.008462, allocations: 219 kB / 273.1 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.008476, allocations: 384 / 273.1 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.991e-05/0.008516, allocations: 8 kB / 273.1 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.008539, allocations: 8.016 kB / 273.1 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.008551, allocations: 8 kB / 273.1 MB, free: 340 kB / 266.7 MB Notification: Performance of sorting global known variables: time 4.05e-05/0.008592, allocations: 52.34 kB / 273.2 MB, free: 284 kB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.008592, allocations: 0 / 273.2 MB, free: 284 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001698/0.008762, allocations: 27.92 kB / 273.2 MB, free: 256 kB / 266.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.002047/0.01081, allocations: 0.64 MB / 273.9 MB, free: 15.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001448/0.01095, allocations: 44.78 kB / 273.9 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.01096, allocations: 0 / 273.9 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.082e-05/0.01101, allocations: 28.78 kB / 273.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.01129, allocations: 51.72 kB / 274 MB, free: 15.47 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006321/0.01192, allocations: 226.4 kB / 274.2 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.793e-05/0.01197, allocations: 67.34 kB / 274.3 MB, free: 15.13 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.498e-05/0.01201, allocations: 12.48 kB / 274.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.539e-05/0.0121, allocations: 67.36 kB / 274.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.0121, allocations: 0 / 274.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of Templates: time 0.004692/0.01679, allocations: 2.034 MB / 276.4 MB, free: 13.02 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.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.9742956245318055]