Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.0007483/0.0007483, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.00175, 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.0006788/0.0006788, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008399/0.001519, 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.9738/0.9738, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2301/1.204, 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.128/0.128, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0229/0.1509, allocations: 12.29 MB / 265.9 MB, free: 7.84 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 267.3 MB, free: 6.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.995e-05/3.195e-05, allocations: 6.25 kB / 267.3 MB, free: 6.461 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002537/0.002569, allocations: 1.77 MB / 269.1 MB, free: 4.672 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.003739, allocations: 0.8154 MB / 269.9 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.073e-05/0.00383, allocations: 0 / 269.9 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.004067, allocations: 59.64 kB / 269.9 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.004226, allocations: 59.67 kB / 270 MB, free: 3.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.004457, allocations: 83.72 kB / 270.1 MB, free: 3.648 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.004621, allocations: 99.62 kB / 270.2 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.792e-05/0.004699, allocations: 8.234 kB / 270.2 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.004825, allocations: 71.83 kB / 270.2 MB, free: 3.473 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.942e-05/0.004904, allocations: 23.91 kB / 270.3 MB, free: 3.449 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.004923, allocations: 4 kB / 270.3 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.895e-05/0.005022, allocations: 51.86 kB / 270.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.193e-05/0.005074, allocations: 31.86 kB / 270.4 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.005111, allocations: 15.94 kB / 270.4 MB, free: 3.348 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.005275, allocations: 103.6 kB / 270.5 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.469e-05/0.005289, allocations: 0 / 270.5 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.005291, allocations: 4 kB / 270.5 MB, free: 3.242 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.005303, allocations: 0 / 270.5 MB, free: 3.242 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.0004131/0.005716, allocations: 359.6 kB / 270.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.772e-05/0.005744, allocations: 8.031 kB / 270.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.005772, allocations: 12.92 kB / 270.8 MB, free: 2.848 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.005916, allocations: 153.5 kB / 271 MB, free: 2.672 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.005929, allocations: 4.375 kB / 271 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.005944, allocations: 4.375 kB / 271 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.976e-05/0.006044, allocations: 61.77 kB / 271.1 MB, free: 2.594 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.006052, allocations: 3.938 kB / 271.1 MB, free: 2.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-06/0.006058, allocations: 0 / 271.1 MB, free: 2.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.006063, allocations: 7.984 kB / 271.1 MB, free: 2.582 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.285e-05/0.006086, allocations: 4 kB / 271.1 MB, free: 2.578 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002077/0.006294, allocations: 177.9 kB / 271.3 MB, free: 2.387 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.811e-05/0.006392, allocations: 89.3 kB / 271.3 MB, free: 2.289 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.055e-05/0.006413, allocations: 8.859 kB / 271.4 MB, free: 2.277 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.006424, allocations: 4 kB / 271.4 MB, free: 2.273 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/0.006539, allocations: 74.14 kB / 271.4 MB, free: 2.188 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.00654, allocations: 0 / 271.4 MB, free: 2.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002747/0.006815, allocations: 113.5 kB / 271.5 MB, free: 2.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.006842, allocations: 51.41 kB / 271.6 MB, free: 2.008 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.006963, allocations: 219.7 kB / 271.8 MB, free: 1.777 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.006977, allocations: 25.7 kB / 271.8 MB, free: 1.746 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.182e-05/0.007009, allocations: 100.1 kB / 271.9 MB, free: 1.645 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.007036, allocations: 23.84 kB / 272 MB, free: 1.621 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.007069, allocations: 29.64 kB / 272 MB, free: 1.586 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.96e-05/0.007148, allocations: 326.8 kB / 272.3 MB, free: 1.258 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.588e-05/0.007164, allocations: 6.828 kB / 272.3 MB, free: 1.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.704e-05/0.007191, allocations: 29.69 kB / 272.3 MB, free: 1.215 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.79e-05/0.007229, allocations: 36.59 kB / 272.4 MB, free: 1.172 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.00723, allocations: 4 kB / 272.4 MB, free: 1.168 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.136e-05/0.007312, allocations: 76.36 kB / 272.4 MB, free: 1.086 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.007323, allocations: 8.031 kB / 272.5 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.007327, allocations: 0 / 272.5 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.774e-06/0.007335, allocations: 3.984 kB / 272.5 MB, free: 1.074 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.792e-05/0.007413, allocations: 27.92 kB / 272.5 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.007416, allocations: 0 / 272.5 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.302e-05/0.007449, allocations: 7.938 kB / 272.5 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.007454, allocations: 0 / 272.5 MB, free: 1.039 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 8.198e-05/0.007536, allocations: 120.7 kB / 272.6 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.007552, allocations: 15.92 kB / 272.6 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.007659, allocations: 75.08 kB / 272.7 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.007664, allocations: 8 kB / 272.7 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.007665, allocations: 0 / 272.7 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.007668, allocations: 0 / 272.7 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.007893, allocations: 295.4 kB / 273 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.007895, allocations: 0 / 273 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.362e-05/0.007928, allocations: 16 kB / 273 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.284e-05/0.007941, allocations: 11.91 kB / 273 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.007943, allocations: 0 / 273 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.007951, allocations: 7.984 kB / 273 MB, free: 472 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.007953, allocations: 0 / 273 MB, free: 472 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.007955, allocations: 4.031 kB / 273 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.008059, allocations: 211 kB / 273.2 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.008076, allocations: 8.375 kB / 273.3 MB, free: 228 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.011e-05/0.008117, allocations: 7.922 kB / 273.3 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.096e-05/0.008137, allocations: 4 kB / 273.3 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.008152, allocations: 11.98 kB / 273.3 MB, free: 204 kB / 266.7 MB Notification: Performance of sorting global known variables: time 5.564e-05/0.008208, allocations: 72.88 kB / 273.3 MB, free: 128 kB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008208, allocations: 0 / 273.3 MB, free: 128 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001479/0.008356, allocations: 20 kB / 273.4 MB, free: 108 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.001259/0.009614, allocations: 0.6438 MB / 274 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.907e-05/0.009713, allocations: 40.84 kB / 274 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/0.009724, allocations: 7.984 kB / 274.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.856e-05/0.009752, allocations: 24.86 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.0001915/0.009944, allocations: 55.7 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.0004666/0.01041, allocations: 250.8 kB / 274.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.997e-05/0.01047, allocations: 79.33 kB / 274.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.411e-05/0.0105, allocations: 16.42 kB / 274.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.901e-05/0.01056, allocations: 67.36 kB / 274.5 MB, free: 14.86 MB / 282.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01056, allocations: 64 / 274.5 MB, free: 14.86 MB / 282.7 MB Notification: Performance of Templates: time 0.003547/0.01411, allocations: 2.044 MB / 276.6 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.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.9436245262622833]