Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.001641/0.001641, allocations: 76.53 kB / 19.93 MB, free: 1.785 MB / 14.72 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.00186/0.00186, allocations: 162.9 kB / 23.21 MB, free: 4.906 MB / 14.72 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.658/1.658, allocations: 158.6 MB / 185 MB, free: 6.391 MB / 174.1 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.2253/0.2253, allocations: 32.38 MB / 269.6 MB, free: 4.66 MB / 254.1 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 407.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.001e-05/4.191e-05, allocations: 2.281 kB / 407.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.005991/0.006033, allocations: 1.685 MB / 409.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.008222, allocations: 0.7802 MB / 409.9 MB, free: 468 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.008331, allocations: 0 / 409.9 MB, free: 468 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004569/0.008788, allocations: 39.77 kB / 409.9 MB, free: 428 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003553/0.009143, allocations: 59.69 kB / 410 MB, free: 368 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.009564, allocations: 91.02 kB / 410.1 MB, free: 280 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002755/0.00984, allocations: 103.6 kB / 410.2 MB, free: 176 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.009964, allocations: 8.234 kB / 410.2 MB, free: 168 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.01013, allocations: 43.89 kB / 410.2 MB, free: 124 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.01025, allocations: 31.91 kB / 410.3 MB, free: 92 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.029e-05/0.01028, allocations: 4 kB / 410.3 MB, free: 88 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.01043, allocations: 51.84 kB / 410.3 MB, free: 36 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.807e-05/0.01051, allocations: 19.88 kB / 410.3 MB, free: 16 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.086e-05/0.0106, allocations: 19.97 kB / 410.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.01092, allocations: 107.6 kB / 410.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.01092, allocations: 3.938 kB / 410.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01092, allocations: 0 / 410.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.01093, allocations: 4 kB / 410.5 MB, free: 15.88 MB / 350.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.0008284/0.01176, allocations: 337.6 kB / 410.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.01181, allocations: 8.031 kB / 410.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.621e-05/0.01187, allocations: 12.89 kB / 410.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.01232, allocations: 151.7 kB / 411 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.01234, allocations: 4.375 kB / 411 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.034e-05/0.01238, allocations: 8.312 kB / 411 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.01263, allocations: 54.23 kB / 411 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.01265, allocations: 3.938 kB / 411 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.01267, allocations: 0 / 411 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.01267, allocations: 0 / 411 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.0128, allocations: 23.92 kB / 411.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005631/0.01337, allocations: 228.6 kB / 411.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.0137, allocations: 62.61 kB / 411.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.01383, allocations: 24.78 kB / 411.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.01384, allocations: 0 / 411.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.01408, allocations: 71.39 kB / 411.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.164e-06/0.01408, allocations: 0 / 411.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009852/0.01507, allocations: 189.3 kB / 411.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.01513, allocations: 51.41 kB / 411.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003586/0.01549, allocations: 194.2 kB / 411.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.01552, allocations: 33.7 kB / 411.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.01564, allocations: 100.1 kB / 412 MB, free: 14.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.466e-05/0.01569, allocations: 19.86 kB / 412 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.779e-05/0.01577, allocations: 21.7 kB / 412 MB, free: 14.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002167/0.01599, allocations: 322.8 kB / 412.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.01612, allocations: 23.98 kB / 412.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.01627, allocations: 41.64 kB / 412.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.01653, allocations: 61.66 kB / 412.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.01653, allocations: 0 / 412.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004249/0.01695, allocations: 113.6 kB / 412.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.01697, allocations: 4 kB / 412.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.01698, allocations: 0 / 412.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.01701, allocations: 0 / 412.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.01718, allocations: 24.17 kB / 412.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.01719, allocations: 0 / 412.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.316e-05/0.01728, allocations: 7.891 kB / 412.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.0173, allocations: 4 kB / 412.6 MB, free: 13.54 MB / 350.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.0002473/0.01754, allocations: 137.6 kB / 412.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.01759, allocations: 15.98 kB / 412.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004776/0.01807, allocations: 118.4 kB / 412.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.01807, allocations: 0 / 412.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.01807, allocations: 0 / 412.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.01808, allocations: 0 / 412.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008242/0.0189, allocations: 346.9 kB / 413.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.01891, allocations: 0 / 413.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.897e-05/0.01899, allocations: 8 kB / 413.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.01899, allocations: 3.938 kB / 413.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.01901, allocations: 8.031 kB / 413.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.01901, allocations: 384 / 413.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/0.01902, allocations: 3.984 kB / 413.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005096/0.01953, allocations: 220.2 kB / 413.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.01957, allocations: 7.953 kB / 413.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.652e-05/0.01961, allocations: 8 kB / 413.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.01977, allocations: 7.984 kB / 413.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.01983, allocations: 4 kB / 413.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.01986, allocations: 0 / 413.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002615/0.02012, allocations: 155.1 kB / 413.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.02012, allocations: 4 kB / 413.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005145/0.02063, allocations: 27.98 kB / 413.7 MB, free: 12.41 MB / 350.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 (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.003184/0.02382, allocations: 489.3 kB / 414.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003882/0.02421, allocations: 67.95 kB / 414.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.02421, allocations: 3.938 kB / 414.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.02437, allocations: 27.92 kB / 414.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006425/0.02501, allocations: 34 kB / 414.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008704/0.02588, allocations: 226.5 kB / 414.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.02604, allocations: 88.31 kB / 414.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.906e-05/0.02612, allocations: 24.42 kB / 414.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.194e-05/0.02619, allocations: 20.48 kB / 414.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.02619, allocations: 0 / 414.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of Templates: time 0.00982/0.03601, allocations: 1.808 MB / 416.4 MB, free: 9.691 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.323209628462791]