Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.0025/0.0025, allocations: 92.97 kB / 20.21 MB, free: 4.215 MB / 18.57 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.003094/0.003094, allocations: 169.6 kB / 23.52 MB, free: 0.9023 MB / 18.57 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.549/1.549, allocations: 158.6 MB / 185.3 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] 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.2546/0.2546, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.399e-05/3.642e-05, allocations: 2.312 kB / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.004897/0.004933, allocations: 1.839 MB / 348.9 MB, free: 7.879 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.006916, allocations: 0.8816 MB / 349.7 MB, free: 6.988 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.007102, allocations: 4 kB / 349.7 MB, free: 6.984 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006585/0.007761, allocations: 223.3 kB / 350 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005312/0.008292, allocations: 183.2 kB / 350.1 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005372/0.008829, allocations: 143.6 kB / 350.3 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004143/0.009243, allocations: 239.3 kB / 350.5 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.009404, allocations: 13.8 kB / 350.5 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003239/0.009728, allocations: 127.7 kB / 350.7 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.009996, allocations: 147.6 kB / 350.8 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.84e-05/0.01004, allocations: 11.98 kB / 350.8 MB, free: 5.918 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.0102, allocations: 47.92 kB / 350.9 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.01032, allocations: 59.7 kB / 350.9 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.929e-05/0.01041, allocations: 39.86 kB / 351 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.01078, allocations: 207.2 kB / 351.2 MB, free: 5.57 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.01079, allocations: 0 / 351.2 MB, free: 5.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.01079, allocations: 0 / 351.2 MB, free: 5.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.0108, allocations: 4 kB / 351.2 MB, free: 5.566 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009644/0.01177, allocations: 0.5922 MB / 351.7 MB, free: 4.938 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.01182, allocations: 12.03 kB / 351.8 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.01194, allocations: 32.75 kB / 351.8 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.01232, allocations: 212.6 kB / 352 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.01235, allocations: 8.375 kB / 352 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.01238, allocations: 4.375 kB / 352 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.01264, allocations: 101.6 kB / 352.1 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.01266, allocations: 3.938 kB / 352.1 MB, free: 4.531 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.01267, allocations: 4 kB / 352.1 MB, free: 4.527 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.01268, allocations: 8 kB / 352.1 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.01283, allocations: 31.92 kB / 352.2 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006835/0.01351, allocations: 0.5104 MB / 352.7 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003273/0.01384, allocations: 126.2 kB / 352.8 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.01395, allocations: 47.34 kB / 352.8 MB, free: 3.734 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.01398, allocations: 4 kB / 352.8 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002676/0.01424, allocations: 132.2 kB / 353 MB, free: 3.578 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.01425, allocations: 0 / 353 MB, free: 3.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.00121/0.01546, allocations: 376.6 kB / 353.3 MB, free: 3.203 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.01551, allocations: 85.09 kB / 353.4 MB, free: 3.102 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004681/0.01598, allocations: 418.3 kB / 353.8 MB, free: 2.676 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.016, allocations: 29.7 kB / 353.9 MB, free: 2.641 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.01615, allocations: 215.1 kB / 354.1 MB, free: 2.426 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.315e-05/0.01622, allocations: 59.56 kB / 354.1 MB, free: 2.367 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.41e-05/0.01631, allocations: 43.36 kB / 354.2 MB, free: 2.316 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.01647, allocations: 0.5352 MB / 354.7 MB, free: 1.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.01659, allocations: 39.97 kB / 354.7 MB, free: 1.73 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.01673, allocations: 83.44 kB / 354.8 MB, free: 1.633 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.01696, allocations: 138.8 kB / 355 MB, free: 1.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.01696, allocations: 0 / 355 MB, free: 1.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000423/0.01739, allocations: 189.3 kB / 355.1 MB, free: 1.289 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.01741, allocations: 7.984 kB / 355.2 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.01742, allocations: 0 / 355.2 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/0.01745, allocations: 4 kB / 355.2 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.01764, allocations: 35.98 kB / 355.2 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.01765, allocations: 4 kB / 355.2 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.01777, allocations: 4.062 kB / 355.2 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.01779, allocations: 12 kB / 355.2 MB, free: 1.223 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.000126/0.01791, allocations: 180.4 kB / 355.4 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.335e-05/0.01799, allocations: 31.81 kB / 355.4 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004983/0.01849, allocations: 208.2 kB / 355.6 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.01849, allocations: 0 / 355.6 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.0185, allocations: 4 kB / 355.6 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.0185, allocations: 0 / 355.6 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009046/0.01941, allocations: 0.7108 MB / 356.3 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.01941, allocations: 8.047 kB / 356.3 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.775e-05/0.0195, allocations: 19.98 kB / 356.4 MB, free: 0 / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.01951, allocations: 4.047 kB / 356.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.01954, allocations: 8 kB / 356.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.01954, allocations: 3.938 kB / 356.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.01955, allocations: 3.938 kB / 356.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008218/0.02037, allocations: 494.1 kB / 356.9 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.001e-05/0.02045, allocations: 27.8 kB / 356.9 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.818e-05/0.02051, allocations: 8 kB / 356.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.02069, allocations: 4 kB / 356.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.02081, allocations: 27.91 kB / 356.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-05/0.02085, allocations: 4 kB / 356.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004619/0.02131, allocations: 283 kB / 357.2 MB, free: 15.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02131, allocations: 0 / 357.2 MB, free: 15.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005745/0.02188, allocations: 47.92 kB / 357.3 MB, free: 15.07 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.004487/0.02637, allocations: 0.4948 MB / 357.8 MB, free: 14.69 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008998/0.02727, allocations: 115.6 kB / 357.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/0.02728, allocations: 8 kB / 357.9 MB, free: 14.56 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003701/0.02765, allocations: 67.53 kB / 357.9 MB, free: 14.49 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.02871, allocations: 73.75 kB / 358 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.03033, allocations: 457.4 kB / 358.5 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.03067, allocations: 148.8 kB / 358.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001368/0.03081, allocations: 26.25 kB / 358.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.03092, allocations: 36.48 kB / 358.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of SimCode: time 2.154e-06/0.03092, allocations: 0 / 358.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of Templates: time 0.0131/0.04402, allocations: 2.917 MB / 361.6 MB, free: 10.82 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.492490642005578]