Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.004451/0.004451, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001917/0.006368, 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.00125/0.00125, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001586/0.002836, 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.019/1.019, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1942/1.213, 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.1273/0.1273, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02346/0.1508, 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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 267.3 MB, free: 6.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.298e-05/1.534e-05, allocations: 10.25 kB / 267.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002024/0.00204, allocations: 1.766 MB / 269.1 MB, free: 4.664 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009475/0.002987, allocations: 0.8154 MB / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.361e-05/0.003051, allocations: 0 / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.003245, allocations: 59.62 kB / 269.9 MB, free: 3.781 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.003374, allocations: 51.7 kB / 270 MB, free: 3.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.003544, allocations: 87.7 kB / 270.1 MB, free: 3.645 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.003687, allocations: 91.7 kB / 270.2 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.908e-05/0.003766, allocations: 12.22 kB / 270.2 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.003876, allocations: 75.77 kB / 270.2 MB, free: 3.469 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.674e-05/0.003942, allocations: 23.91 kB / 270.3 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.003958, allocations: 4 kB / 270.3 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.27e-05/0.004031, allocations: 43.92 kB / 270.3 MB, free: 3.398 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.051e-05/0.004072, allocations: 19.94 kB / 270.3 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.004105, allocations: 23.88 kB / 270.4 MB, free: 3.355 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.004252, allocations: 103.6 kB / 270.5 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.457e-05/0.004267, allocations: 0 / 270.5 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004267, allocations: 0 / 270.5 MB, free: 3.254 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.004283, allocations: 0 / 270.5 MB, free: 3.254 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.000513/0.004796, allocations: 343.7 kB / 270.8 MB, free: 2.895 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.004832, allocations: 8.031 kB / 270.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.004867, allocations: 12.92 kB / 270.8 MB, free: 2.875 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.005024, allocations: 145.6 kB / 271 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.00504, allocations: 4.375 kB / 271 MB, free: 2.703 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.005054, allocations: 4.375 kB / 271 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.808e-05/0.005152, allocations: 69.7 kB / 271 MB, free: 2.621 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.005161, allocations: 3.938 kB / 271 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.005168, allocations: 0 / 271 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.005173, allocations: 0 / 271 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.832e-05/0.005201, allocations: 11.98 kB / 271.1 MB, free: 2.605 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.005391, allocations: 165.9 kB / 271.2 MB, free: 2.426 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.072e-05/0.005482, allocations: 89.28 kB / 271.3 MB, free: 2.328 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.923e-05/0.005501, allocations: 20.86 kB / 271.3 MB, free: 2.305 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.005511, allocations: 4 kB / 271.3 MB, free: 2.301 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.194e-05/0.005603, allocations: 66.16 kB / 271.4 MB, free: 2.223 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.005604, allocations: 0 / 271.4 MB, free: 2.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002839/0.005888, allocations: 113.5 kB / 271.5 MB, free: 2.105 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.005921, allocations: 51.41 kB / 271.5 MB, free: 2.043 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.006024, allocations: 196.2 kB / 271.7 MB, free: 1.836 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.006038, allocations: 29.7 kB / 271.8 MB, free: 1.801 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.006068, allocations: 92.11 kB / 271.9 MB, free: 1.707 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.006095, allocations: 27.78 kB / 271.9 MB, free: 1.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.006126, allocations: 29.7 kB / 271.9 MB, free: 1.645 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.461e-05/0.0062, allocations: 326.8 kB / 272.2 MB, free: 1.316 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.358e-05/0.006214, allocations: 6.828 kB / 272.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.457e-05/0.006238, allocations: 29.64 kB / 272.3 MB, free: 1.273 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.671e-05/0.006275, allocations: 40.58 kB / 272.3 MB, free: 1.227 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.006276, allocations: 0 / 272.3 MB, free: 1.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.221e-05/0.006338, allocations: 72.38 kB / 272.4 MB, free: 1.148 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.006349, allocations: 8 kB / 272.4 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.006355, allocations: 3.984 kB / 272.4 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.624e-06/0.006362, allocations: 4.031 kB / 272.4 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.546e-05/0.006428, allocations: 23.98 kB / 272.4 MB, free: 1.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.006431, allocations: 0 / 272.4 MB, free: 1.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.289e-05/0.006454, allocations: 7.938 kB / 272.4 MB, free: 1.102 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.006458, allocations: 0 / 272.4 MB, free: 1.102 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.135e-05/0.00652, allocations: 124.6 kB / 272.6 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.00653, allocations: 7.938 kB / 272.6 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.333e-05/0.006623, allocations: 79.12 kB / 272.6 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.006625, allocations: 0 / 272.6 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.006626, allocations: 0 / 272.6 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.006634, allocations: 4 kB / 272.6 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.006838, allocations: 295.4 kB / 272.9 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.006839, allocations: 0 / 272.9 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.748e-05/0.006867, allocations: 19.92 kB / 272.9 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.348e-06/0.006876, allocations: 7.953 kB / 273 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.006877, allocations: 0 / 273 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.006884, allocations: 4 kB / 273 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.006886, allocations: 4 kB / 273 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.006887, allocations: 0 / 273 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.558e-05/0.006983, allocations: 219 kB / 273.2 MB, free: 300 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.006998, allocations: 12.41 kB / 273.2 MB, free: 288 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.487e-05/0.007033, allocations: 0 / 273.2 MB, free: 288 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.007057, allocations: 7.984 kB / 273.2 MB, free: 280 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.007067, allocations: 8 kB / 273.2 MB, free: 272 kB / 266.7 MB Notification: Performance of sorting global known variables: time 4.442e-05/0.007111, allocations: 56.7 kB / 273.3 MB, free: 212 kB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007111, allocations: 0 / 273.3 MB, free: 212 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001347/0.007246, allocations: 27.92 kB / 273.3 MB, free: 184 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.001266/0.008513, allocations: 0.6362 MB / 273.9 MB, free: 15.53 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.22e-05/0.008605, allocations: 44.69 kB / 274 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.008611, allocations: 0 / 274 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.21e-05/0.008643, allocations: 36.77 kB / 274 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.008814, allocations: 43.91 kB / 274 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000392/0.009206, allocations: 242.6 kB / 274.3 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.886e-05/0.009245, allocations: 67.33 kB / 274.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.957e-05/0.009274, allocations: 12.5 kB / 274.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.445e-05/0.009339, allocations: 67.36 kB / 274.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.00934, allocations: 0 / 274.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of Templates: time 0.003197/0.01254, allocations: 2.037 MB / 276.5 MB, free: 12.93 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.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.992787353694439]