Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.0008319/0.0008319, allocations: 84.44 kB / 20.69 MB, free: 3.848 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.0007641/0.0007641, allocations: 173.2 kB / 23.97 MB, free: 0.5703 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 0.8153/0.8153, allocations: 158.6 MB / 185.7 MB, free: 3.035 MB / 170.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.1283/0.1283, allocations: 32.38 MB / 270.4 MB, free: 14.97 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 3.938 kB / 408.2 MB, free: 1.652 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.363e-05, allocations: 2.281 kB / 408.2 MB, free: 1.648 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002189/0.002212, allocations: 1.683 MB / 409.9 MB, free: 15.95 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008759/0.003088, allocations: 0.7804 MB / 410.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.264e-05/0.003151, allocations: 0 / 410.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.003403, allocations: 39.83 kB / 410.7 MB, free: 15.12 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.003587, allocations: 59.62 kB / 410.7 MB, free: 15.07 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.003768, allocations: 83.7 kB / 410.8 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.0039, allocations: 95.69 kB / 410.9 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.383e-05/0.003974, allocations: 8.234 kB / 410.9 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.605e-05/0.00405, allocations: 59.77 kB / 411 MB, free: 14.82 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.071e-05/0.00411, allocations: 23.91 kB / 411 MB, free: 14.8 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.004126, allocations: 7.938 kB / 411 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.064e-05/0.004196, allocations: 47.91 kB / 411.1 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.569e-05/0.004242, allocations: 19.92 kB / 411.1 MB, free: 14.73 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.004274, allocations: 15.94 kB / 411.1 MB, free: 14.71 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.004427, allocations: 115.6 kB / 411.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004428, allocations: 0 / 411.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.00443, allocations: 0 / 411.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.004433, allocations: 0 / 411.2 MB, free: 14.6 MB / 394.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.0003807/0.004813, allocations: 345.5 kB / 411.5 MB, free: 14.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.004844, allocations: 12.03 kB / 411.6 MB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.00488, allocations: 12.84 kB / 411.6 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.005037, allocations: 142.3 kB / 411.7 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.005048, allocations: 4.375 kB / 411.7 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.005065, allocations: 384 / 411.7 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.005168, allocations: 62.23 kB / 411.8 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.005178, allocations: 3.938 kB / 411.8 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.005188, allocations: 3.984 kB / 411.8 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.005192, allocations: 0 / 411.8 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.073e-05/0.005242, allocations: 31.92 kB / 411.8 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000245/0.005487, allocations: 220.6 kB / 412 MB, free: 13.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.005596, allocations: 54.67 kB / 412.1 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.366e-05/0.00563, allocations: 28.78 kB / 412.1 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.005641, allocations: 0 / 412.1 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.365e-05/0.005735, allocations: 71.33 kB / 412.2 MB, free: 13.51 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.005736, allocations: 0 / 412.2 MB, free: 13.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003648/0.006101, allocations: 189.3 kB / 412.4 MB, free: 13.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.006129, allocations: 63.34 kB / 412.4 MB, free: 13.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.006243, allocations: 194.2 kB / 412.6 MB, free: 13.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.006253, allocations: 25.7 kB / 412.6 MB, free: 13.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.006292, allocations: 100.1 kB / 412.7 MB, free: 12.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.006315, allocations: 23.84 kB / 412.8 MB, free: 12.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.006344, allocations: 21.72 kB / 412.8 MB, free: 12.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.72e-05/0.006422, allocations: 326.8 kB / 413.1 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.626e-05/0.006458, allocations: 19.98 kB / 413.1 MB, free: 12.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.995e-05/0.006498, allocations: 37.7 kB / 413.2 MB, free: 12.47 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.917e-05/0.006567, allocations: 69.58 kB / 413.2 MB, free: 12.4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.006568, allocations: 192 / 413.2 MB, free: 12.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001133/0.006681, allocations: 105.6 kB / 413.3 MB, free: 12.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.006691, allocations: 7.938 kB / 413.3 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.006695, allocations: 4 kB / 413.3 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.006704, allocations: 0 / 413.3 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.854e-05/0.006763, allocations: 19.92 kB / 413.4 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.006767, allocations: 160 / 413.4 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.618e-05/0.006793, allocations: 4 kB / 413.4 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.0068, allocations: 12.02 kB / 413.4 MB, free: 12.24 MB / 394.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.515e-05/0.006865, allocations: 133.7 kB / 413.5 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.006877, allocations: 7.953 kB / 413.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.007025, allocations: 122.4 kB / 413.6 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.007027, allocations: 0 / 413.6 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.007031, allocations: 4.359 kB / 413.6 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.007034, allocations: 0 / 413.6 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.007288, allocations: 354.9 kB / 414 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.007289, allocations: 0 / 414 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.076e-05/0.00731, allocations: 16.03 kB / 414 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.007312, allocations: 0 / 414 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.007319, allocations: 3.984 kB / 414 MB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.007321, allocations: 3.938 kB / 414 MB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.007322, allocations: 4 kB / 414 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.007454, allocations: 212.2 kB / 414.2 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.086e-05/0.007464, allocations: 11.91 kB / 414.2 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.007479, allocations: 4 kB / 414.2 MB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.651e-05/0.007516, allocations: 3.984 kB / 414.2 MB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.00754, allocations: 11.94 kB / 414.3 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.007552, allocations: 11.98 kB / 414.3 MB, free: 11.29 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.078e-05/0.007623, allocations: 144.1 kB / 414.4 MB, free: 11.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007623, allocations: 0 / 414.4 MB, free: 11.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001697/0.007793, allocations: 23.98 kB / 414.4 MB, free: 11.12 MB / 394.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.000669/0.008462, allocations: 498.3 kB / 414.9 MB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.008585, allocations: 63.89 kB / 415 MB, free: 10.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008586, allocations: 0 / 415 MB, free: 10.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.14e-05/0.008628, allocations: 31.92 kB / 415 MB, free: 10.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.008833, allocations: 19.98 kB / 415 MB, free: 10.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.009161, allocations: 256.2 kB / 415.3 MB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.376e-05/0.009215, allocations: 88.44 kB / 415.4 MB, free: 10.15 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.009242, allocations: 16.5 kB / 415.4 MB, free: 10.13 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.009242, allocations: 0 / 415.4 MB, free: 10.13 MB / 394.7 MB Notification: Performance of Templates: time 0.002342/0.01158, allocations: 1.969 MB / 417.4 MB, free: 8.16 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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: 4.391105426475406]