Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.0007562/0.0007562, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001693/0.002449, 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.0009512/0.0009512, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001351/0.002302, 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.002/1.002, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2139/1.215, 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.141/0.141, allocations: 32.34 MB / 253.6 MB, free: 4.176 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02033/0.1613, allocations: 12.29 MB / 265.9 MB, free: 7.844 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 267.3 MB, free: 6.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.418e-05, allocations: 6.25 kB / 267.3 MB, free: 6.461 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.001936/0.00195, allocations: 1.774 MB / 269.1 MB, free: 4.668 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008959/0.002846, allocations: 0.8076 MB / 269.9 MB, free: 3.852 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.879e-05/0.002905, allocations: 3.938 kB / 269.9 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.003081, allocations: 35.72 kB / 269.9 MB, free: 3.812 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.00321, allocations: 59.69 kB / 270 MB, free: 3.754 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.003381, allocations: 83.7 kB / 270.1 MB, free: 3.672 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.003521, allocations: 103.6 kB / 270.2 MB, free: 3.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.989e-05/0.003591, allocations: 4.234 kB / 270.2 MB, free: 3.566 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.003697, allocations: 75.83 kB / 270.2 MB, free: 3.492 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.074e-05/0.003767, allocations: 23.91 kB / 270.3 MB, free: 3.469 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.003784, allocations: 4 kB / 270.3 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.2e-05/0.003856, allocations: 43.92 kB / 270.3 MB, free: 3.422 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.399e-05/0.0039, allocations: 27.86 kB / 270.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.065e-05/0.00393, allocations: 11.94 kB / 270.3 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.00407, allocations: 91.61 kB / 270.4 MB, free: 3.293 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.449e-05/0.004085, allocations: 0 / 270.4 MB, free: 3.293 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.004087, allocations: 4 kB / 270.4 MB, free: 3.289 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.0041, allocations: 4 kB / 270.4 MB, free: 3.285 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.0004653/0.004565, allocations: 323.9 kB / 270.8 MB, free: 2.945 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.004597, allocations: 12.03 kB / 270.8 MB, free: 2.934 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.004627, allocations: 8.922 kB / 270.8 MB, free: 2.926 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.004771, allocations: 149.5 kB / 270.9 MB, free: 2.754 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.004786, allocations: 4.375 kB / 270.9 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.004802, allocations: 384 / 270.9 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.004907, allocations: 61.77 kB / 271 MB, free: 2.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.004916, allocations: 7.938 kB / 271 MB, free: 2.672 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.004922, allocations: 0 / 271 MB, free: 2.672 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.004926, allocations: 4 kB / 271 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.619e-05/0.004952, allocations: 7.984 kB / 271 MB, free: 2.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.005148, allocations: 169.9 kB / 271.2 MB, free: 2.477 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.15e-05/0.00524, allocations: 93.3 kB / 271.3 MB, free: 2.375 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.801e-05/0.005258, allocations: 8.859 kB / 271.3 MB, free: 2.363 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.005269, allocations: 7.938 kB / 271.3 MB, free: 2.355 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.102e-05/0.00536, allocations: 74.14 kB / 271.4 MB, free: 2.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.005361, allocations: 0 / 271.4 MB, free: 2.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002678/0.005629, allocations: 105.5 kB / 271.5 MB, free: 2.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.005658, allocations: 59.41 kB / 271.5 MB, free: 2.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.716e-05/0.005745, allocations: 160.3 kB / 271.7 MB, free: 1.918 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.005757, allocations: 29.7 kB / 271.7 MB, free: 1.883 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.763e-05/0.005785, allocations: 96.06 kB / 271.8 MB, free: 1.785 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.005809, allocations: 23.84 kB / 271.8 MB, free: 1.762 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.00584, allocations: 25.7 kB / 271.8 MB, free: 1.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.977e-05/0.005919, allocations: 326.8 kB / 272.2 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.379e-05/0.005933, allocations: 10.77 kB / 272.2 MB, free: 1.391 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.203e-05/0.005955, allocations: 25.7 kB / 272.2 MB, free: 1.359 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.163e-05/0.005997, allocations: 48.58 kB / 272.2 MB, free: 1.305 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.005998, allocations: 0 / 272.2 MB, free: 1.305 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.672e-05/0.006064, allocations: 72.38 kB / 272.3 MB, free: 1.227 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.006074, allocations: 4 kB / 272.3 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.006078, allocations: 0 / 272.3 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.006086, allocations: 3.984 kB / 272.3 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.4e-05/0.00615, allocations: 19.98 kB / 272.3 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.006153, allocations: 0 / 272.3 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.618e-05/0.006179, allocations: 11.94 kB / 272.4 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.006183, allocations: 7.969 kB / 272.4 MB, free: 1.18 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 6.086e-05/0.006244, allocations: 120.7 kB / 272.5 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.006255, allocations: 11.94 kB / 272.5 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.972e-05/0.006345, allocations: 74.38 kB / 272.6 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.006347, allocations: 0 / 272.6 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.006348, allocations: 0 / 272.6 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.006351, allocations: 0 / 272.6 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.006549, allocations: 295.4 kB / 272.9 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.006551, allocations: 0 / 272.9 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.405e-05/0.006575, allocations: 8.031 kB / 272.9 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.006586, allocations: 19.89 kB / 272.9 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.006588, allocations: 0 / 272.9 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.006593, allocations: 4 kB / 272.9 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.006594, allocations: 0 / 272.9 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006595, allocations: 3.938 kB / 272.9 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.772e-05/0.006693, allocations: 219 kB / 273.1 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.006707, allocations: 4.375 kB / 273.1 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.81e-05/0.006745, allocations: 7.984 kB / 273.1 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/0.00677, allocations: 7.984 kB / 273.1 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.006781, allocations: 8 kB / 273.1 MB, free: 360 kB / 266.7 MB Notification: Performance of sorting global known variables: time 3.661e-05/0.006818, allocations: 48.53 kB / 273.2 MB, free: 308 kB / 266.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.006818, allocations: 0 / 273.2 MB, free: 308 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001329/0.006951, allocations: 23.98 kB / 273.2 MB, free: 284 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.001213/0.008164, allocations: 0.6322 MB / 273.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.036e-05/0.008244, allocations: 48.78 kB / 273.9 MB, free: 15.58 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/0.008251, allocations: 4 kB / 273.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.049e-05/0.008282, allocations: 24.78 kB / 273.9 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.008448, allocations: 39.83 kB / 273.9 MB, free: 15.51 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.008833, allocations: 222.6 kB / 274.2 MB, free: 15.26 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.768e-05/0.00887, allocations: 63.34 kB / 274.2 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.043e-05/0.008901, allocations: 16.61 kB / 274.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.008958, allocations: 67.36 kB / 274.3 MB, free: 15.09 MB / 282.7 MB Notification: Performance of SimCode: time 8.51e-07/0.008959, allocations: 0 / 274.3 MB, free: 15.09 MB / 282.7 MB Notification: Performance of Templates: time 0.003695/0.01265, allocations: 2.029 MB / 276.3 MB, free: 13.06 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.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.866667645983398]