Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.0008145/0.0008145, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001108/0.001923, 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.0007145/0.0007145, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009216/0.001636, 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 0.9312/0.9312, allocations: 158.6 MB / 171 MB, free: 2.18 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1888/1.12, allocations: 49.51 MB / 220.5 MB, free: 5.27 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.1794/0.1794, allocations: 32.34 MB / 253.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02653/0.2059, allocations: 12.3 MB / 265.9 MB, free: 7.824 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 267.3 MB, free: 6.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.424e-05, allocations: 6.25 kB / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.008634/0.008658, allocations: 1.77 MB / 269.1 MB, free: 4.664 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.009783, allocations: 0.8154 MB / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.208e-05/0.009845, allocations: 0 / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.01009, allocations: 91.58 kB / 270 MB, free: 3.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.01026, allocations: 79.64 kB / 270 MB, free: 3.672 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.01047, allocations: 91.69 kB / 270.1 MB, free: 3.582 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.01063, allocations: 103.6 kB / 270.2 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.912e-05/0.0107, allocations: 8.172 kB / 270.2 MB, free: 3.473 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.01083, allocations: 87.8 kB / 270.3 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.01098, allocations: 51.88 kB / 270.4 MB, free: 3.336 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.011, allocations: 4 kB / 270.4 MB, free: 3.332 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.88e-05/0.01109, allocations: 43.86 kB / 270.4 MB, free: 3.289 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.251e-05/0.01113, allocations: 19.94 kB / 270.4 MB, free: 3.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.579e-05/0.01117, allocations: 19.88 kB / 270.5 MB, free: 3.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.01133, allocations: 99.66 kB / 270.6 MB, free: 3.152 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.519e-05/0.01135, allocations: 0 / 270.6 MB, free: 3.152 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01135, allocations: 4 kB / 270.6 MB, free: 3.148 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.01136, allocations: 0 / 270.6 MB, free: 3.148 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.006494/0.01785, allocations: 335.8 kB / 270.9 MB, free: 2.797 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.01789, allocations: 12.03 kB / 270.9 MB, free: 2.785 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.01792, allocations: 8.922 kB / 270.9 MB, free: 2.777 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.01808, allocations: 149.5 kB / 271.1 MB, free: 2.605 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.0181, allocations: 4.312 kB / 271.1 MB, free: 2.602 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.01811, allocations: 4.375 kB / 271.1 MB, free: 2.598 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.01822, allocations: 65.77 kB / 271.1 MB, free: 2.523 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.01823, allocations: 3.938 kB / 271.1 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-06/0.01824, allocations: 4 kB / 271.1 MB, free: 2.516 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.01824, allocations: 0 / 271.1 MB, free: 2.516 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.926e-05/0.01827, allocations: 11.98 kB / 271.2 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002079/0.01848, allocations: 173.9 kB / 271.3 MB, free: 2.316 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.421e-05/0.01858, allocations: 85.28 kB / 271.4 MB, free: 2.223 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.066e-05/0.0186, allocations: 8.859 kB / 271.4 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.01861, allocations: 0 / 271.4 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.811e-05/0.0187, allocations: 70.16 kB / 271.5 MB, free: 2.129 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.01871, allocations: 0 / 271.5 MB, free: 2.129 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004101/0.01912, allocations: 113.6 kB / 271.6 MB, free: 2.012 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.01915, allocations: 51.41 kB / 271.6 MB, free: 1.949 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.01926, allocations: 184.3 kB / 271.8 MB, free: 1.754 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.01928, allocations: 29.7 kB / 271.9 MB, free: 1.719 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/0.01931, allocations: 92.08 kB / 271.9 MB, free: 1.625 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.01935, allocations: 27.77 kB / 272 MB, free: 1.598 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.01939, allocations: 29.64 kB / 272 MB, free: 1.562 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.869e-05/0.01946, allocations: 322.8 kB / 272.3 MB, free: 1.238 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.01948, allocations: 10.81 kB / 272.3 MB, free: 1.227 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.735e-05/0.01951, allocations: 25.7 kB / 272.3 MB, free: 1.195 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.878e-05/0.01956, allocations: 48.58 kB / 272.4 MB, free: 1.141 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.01956, allocations: 0 / 272.4 MB, free: 1.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.756e-05/0.01965, allocations: 76.36 kB / 272.5 MB, free: 1.059 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.01966, allocations: 8 kB / 272.5 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.01967, allocations: 0 / 272.5 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/0.01967, allocations: 0 / 272.5 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.303e-05/0.01975, allocations: 19.98 kB / 272.5 MB, free: 1.031 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.01975, allocations: 3.938 kB / 272.5 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.294e-05/0.01978, allocations: 8 kB / 272.5 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.01979, allocations: 4.031 kB / 272.5 MB, free: 1.016 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.321e-05/0.01985, allocations: 112.7 kB / 272.6 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.01987, allocations: 23.91 kB / 272.6 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.01997, allocations: 71.08 kB / 272.7 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.01997, allocations: 3.938 kB / 272.7 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.01997, allocations: 0 / 272.7 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.01998, allocations: 3.984 kB / 272.7 MB, free: 0.793 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003254/0.02323, allocations: 291.4 kB / 273 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.02324, allocations: 0 / 273 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.101e-05/0.02329, allocations: 16.03 kB / 273 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.054e-05/0.02331, allocations: 11.91 kB / 273 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.02331, allocations: 3.984 kB / 273 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.02332, allocations: 0 / 273 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.02332, allocations: 0 / 273 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02332, allocations: 4 kB / 273 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.02346, allocations: 219 kB / 273.3 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.02348, allocations: 384 / 273.3 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.232e-05/0.02354, allocations: 7.984 kB / 273.3 MB, free: 208 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.02357, allocations: 8 kB / 273.3 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.02358, allocations: 11.98 kB / 273.3 MB, free: 188 kB / 266.7 MB Notification: Performance of sorting global known variables: time 5.43e-05/0.02364, allocations: 55.66 kB / 273.3 MB, free: 128 kB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02364, allocations: 0 / 273.3 MB, free: 128 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002078/0.02384, allocations: 27.92 kB / 273.4 MB, free: 100 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.00165/0.02549, allocations: 0.6322 MB / 274 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001047/0.0256, allocations: 48.78 kB / 274 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.02561, allocations: 0 / 274 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.573e-05/0.02564, allocations: 28.78 kB / 274.1 MB, free: 15.37 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.02587, allocations: 47.75 kB / 274.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003777/0.02965, allocations: 226.2 kB / 274.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.841e-05/0.02969, allocations: 75.45 kB / 274.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.269e-05/0.02974, allocations: 12.48 kB / 274.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.354e-05/0.02981, allocations: 75.3 kB / 274.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.02981, allocations: 3.938 kB / 274.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of Templates: time 0.00712/0.03693, allocations: 2.021 MB / 276.5 MB, free: 12.87 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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.89736351929605]