Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 107.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 187.8 kB / 22.98 MB, free: 5.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 251.6 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2327/0.2327, allocations: 44.91 MB / 351.6 MB, free: 12.23 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 67.91 kB / 495.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.497/0.4989, allocations: 64.25 MB / 0.5465 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003331/0.5023, allocations: 1.728 MB / 0.5482 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.504, allocations: 0.8947 MB / 0.549 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.584e-05/0.504, allocations: 5.156 kB / 0.549 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003644/0.5044, allocations: 78.45 kB / 0.5491 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002784/0.5047, allocations: 84.14 kB / 0.5492 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.505, allocations: 104.1 kB / 0.5493 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.5052, allocations: 109.2 kB / 0.5494 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.5053, allocations: 8.469 kB / 0.5494 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.5055, allocations: 49.19 kB / 0.5495 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.5056, allocations: 68.86 kB / 0.5495 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.5056, allocations: 8.375 kB / 0.5495 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.5057, allocations: 42.55 kB / 0.5496 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.476e-05/0.5058, allocations: 24.06 kB / 0.5496 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.129e-05/0.5058, allocations: 40.08 kB / 0.5496 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.5061, allocations: 116.3 kB / 0.5497 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.5061, allocations: 5.344 kB / 0.5497 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5061, allocations: 0 / 0.5497 GB, free: 10.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.5061, allocations: 0 / 0.5497 GB, free: 10.71 MB / 398.1 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.0006444/0.5067, allocations: 418 kB / 0.5501 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.5068, allocations: 13.28 kB / 0.5502 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.5068, allocations: 14.62 kB / 0.5502 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.5072, allocations: 211.1 kB / 0.5504 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.5072, allocations: 7.188 kB / 0.5504 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.5072, allocations: 9.359 kB / 0.5504 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.5074, allocations: 58.17 kB / 0.5504 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.5074, allocations: 3.938 kB / 0.5504 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.5074, allocations: 1.094 kB / 0.5504 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.5074, allocations: 1.594 kB / 0.5504 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.014e-05/0.5075, allocations: 22.11 kB / 0.5505 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.5079, allocations: 291.5 kB / 0.5507 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.5081, allocations: 51.64 kB / 0.5508 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.353e-05/0.5081, allocations: 21.23 kB / 0.5508 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.5082, allocations: 1.438 kB / 0.5508 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.5083, allocations: 72.38 kB / 0.5509 GB, free: 9.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.5083, allocations: 0 / 0.5509 GB, free: 9.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005745/0.5089, allocations: 170.9 kB / 0.551 GB, free: 9.426 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.5089, allocations: 56.69 kB / 0.5511 GB, free: 9.359 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.5092, allocations: 212.1 kB / 0.5513 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.5092, allocations: 30.83 kB / 0.5513 GB, free: 9.172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/0.5093, allocations: 109.7 kB / 0.5514 GB, free: 9.066 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/0.5093, allocations: 23.8 kB / 0.5515 GB, free: 9.047 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.5094, allocations: 24.58 kB / 0.5515 GB, free: 9.023 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.5096, allocations: 330.3 kB / 0.5518 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.988e-05/0.5096, allocations: 15.06 kB / 0.5518 GB, free: 8.691 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.33e-05/0.5097, allocations: 35.8 kB / 0.5518 GB, free: 8.664 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.5098, allocations: 75.47 kB / 0.5519 GB, free: 8.609 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.5098, allocations: 0 / 0.5519 GB, free: 8.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001884/0.51, allocations: 98.94 kB / 0.552 GB, free: 8.547 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.51, allocations: 12.14 kB / 0.552 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.51, allocations: 1.531 kB / 0.552 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.51, allocations: 3.984 kB / 0.552 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.897e-05/0.5101, allocations: 12.94 kB / 0.552 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.5101, allocations: 1.469 kB / 0.552 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.843e-05/0.5102, allocations: 10.84 kB / 0.5521 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.5102, allocations: 10.92 kB / 0.5521 GB, free: 8.523 MB / 398.1 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 0.0001206/0.5103, allocations: 124.8 kB / 0.5522 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.5104, allocations: 13.53 kB / 0.5522 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002588/0.5106, allocations: 112.2 kB / 0.5523 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.5106, allocations: 5 kB / 0.5523 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.5106, allocations: 384 / 0.5523 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.5106, allocations: 9.047 kB / 0.5523 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005996/0.5112, allocations: 398.9 kB / 0.5527 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5113, allocations: 1.312 kB / 0.5527 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.598e-05/0.5113, allocations: 6.969 kB / 0.5527 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5113, allocations: 1.25 kB / 0.5527 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.5113, allocations: 9.156 kB / 0.5527 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.5113, allocations: 1.219 kB / 0.5527 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.141e-05/0.5113, allocations: 5.172 kB / 0.5527 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.5116, allocations: 208.5 kB / 0.5529 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-05/0.5116, allocations: 84.75 kB / 0.553 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.5117, allocations: 9.125 kB / 0.553 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.837e-05/0.5117, allocations: 2.375 kB / 0.553 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.5118, allocations: 7.391 kB / 0.553 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.5118, allocations: 3.438 kB / 0.553 GB, free: 7.621 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.512, allocations: 160.3 kB / 0.5532 GB, free: 7.512 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.512, allocations: 0 / 0.5532 GB, free: 7.512 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.5122, allocations: 36.8 kB / 0.5532 GB, free: 7.492 MB / 398.1 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 (8): * Single equations (assignments): 6 * 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.001759/0.514, allocations: 460.2 kB / 0.5536 GB, free: 7.273 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002352/0.5142, allocations: 59.7 kB / 0.5537 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5142, allocations: 0 / 0.5537 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.254e-05/0.5143, allocations: 32.48 kB / 0.5537 GB, free: 7.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.5147, allocations: 29.25 kB / 0.5538 GB, free: 7.219 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005964/0.5153, allocations: 253.6 kB / 0.554 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.5157, allocations: 0.7075 MB / 0.5547 GB, free: 6.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.824e-05/0.5158, allocations: 13.88 kB / 0.5547 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/0.5159, allocations: 19.84 kB / 0.5547 GB, free: 6.301 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5159, allocations: 0 / 0.5547 GB, free: 6.301 MB / 398.1 MB Notification: Performance of Templates: time 0.005741/0.5216, allocations: 1.748 MB / 0.5564 GB, free: 5.398 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.641332531347871]