Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001359/0.001359, allocations: 84.94 kB / 20.68 MB, free: 1.023 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.001413/0.001413, allocations: 163.7 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.419/1.419, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.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.1973/0.1973, allocations: 32.82 MB / 293.5 MB, free: 28 kB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 440.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.567e-05, allocations: 6.219 kB / 440.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002944/0.00297, allocations: 1.661 MB / 441.8 MB, free: 6.465 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.004845, allocations: 1.274 MB / 443 MB, free: 5.184 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.784e-05/0.004902, allocations: 0 / 443 MB, free: 5.184 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.0051, allocations: 27.78 kB / 443.1 MB, free: 5.156 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003196/0.00542, allocations: 91.48 kB / 443.2 MB, free: 5.066 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.005863, allocations: 170.7 kB / 443.3 MB, free: 4.902 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.006039, allocations: 83.7 kB / 443.4 MB, free: 4.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.006143, allocations: 11.98 kB / 443.4 MB, free: 4.809 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.006282, allocations: 47.89 kB / 443.5 MB, free: 4.762 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.006389, allocations: 27.91 kB / 443.5 MB, free: 4.734 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.006413, allocations: 4 kB / 443.5 MB, free: 4.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.006592, allocations: 99.75 kB / 443.6 MB, free: 4.633 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.271e-05/0.006654, allocations: 23.86 kB / 443.6 MB, free: 4.609 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.006694, allocations: 15.92 kB / 443.6 MB, free: 4.594 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.006981, allocations: 155.6 kB / 443.8 MB, free: 4.441 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.006984, allocations: 0 / 443.8 MB, free: 4.441 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006985, allocations: 0 / 443.8 MB, free: 4.441 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.006994, allocations: 0 / 443.8 MB, free: 4.441 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005855/0.007579, allocations: 345.6 kB / 444.1 MB, free: 4.074 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.007614, allocations: 8.031 kB / 444.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.007663, allocations: 8.891 kB / 444.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.007879, allocations: 145.5 kB / 444.3 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.007889, allocations: 384 / 444.3 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.007917, allocations: 4.375 kB / 444.3 MB, free: 3.887 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.008165, allocations: 101.7 kB / 444.4 MB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.008181, allocations: 192 / 444.4 MB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.008197, allocations: 4.125 kB / 444.4 MB, free: 3.766 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.008201, allocations: 0 / 444.4 MB, free: 3.766 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.008356, allocations: 47.95 kB / 444.4 MB, free: 3.719 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.008804, allocations: 244.4 kB / 444.7 MB, free: 3.449 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.008962, allocations: 42.56 kB / 444.7 MB, free: 3.398 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.485e-05/0.009047, allocations: 28.88 kB / 444.7 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.009069, allocations: 0 / 444.7 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.009098, allocations: 34.56 kB / 444.8 MB, free: 3.324 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.009099, allocations: 4 kB / 444.8 MB, free: 3.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008831/0.009982, allocations: 241.4 kB / 445 MB, free: 3.078 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.01004, allocations: 77.11 kB / 445.1 MB, free: 2.984 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.01029, allocations: 152.2 kB / 445.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.01031, allocations: 33.7 kB / 445.3 MB, free: 2.789 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.622e-05/0.01037, allocations: 92.14 kB / 445.4 MB, free: 2.695 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.01041, allocations: 27.73 kB / 445.4 MB, free: 2.668 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.01045, allocations: 21.72 kB / 445.4 MB, free: 2.641 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.0106, allocations: 326.8 kB / 445.7 MB, free: 2.312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.01073, allocations: 39.91 kB / 445.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.01089, allocations: 75.39 kB / 445.8 MB, free: 2.188 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.01115, allocations: 96.81 kB / 445.9 MB, free: 2.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.01116, allocations: 0 / 445.9 MB, free: 2.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000328/0.01148, allocations: 121.6 kB / 446.1 MB, free: 1.965 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.0115, allocations: 7.984 kB / 446.1 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.0115, allocations: 0 / 446.1 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.01151, allocations: 0 / 446.1 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.01164, allocations: 27.92 kB / 446.1 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.01165, allocations: 0 / 446.1 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.183e-05/0.01172, allocations: 15.92 kB / 446.1 MB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.01173, allocations: 0 / 446.1 MB, free: 1.914 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001018/0.01183, allocations: 126.4 kB / 446.2 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.01187, allocations: 7.953 kB / 446.2 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004066/0.01227, allocations: 134.4 kB / 446.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01228, allocations: 4 kB / 446.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.01228, allocations: 0 / 446.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.01229, allocations: 3.984 kB / 446.4 MB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006058/0.01289, allocations: 350.4 kB / 446.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.01289, allocations: 0 / 446.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.86e-05/0.01299, allocations: 27.97 kB / 446.7 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.01299, allocations: 0 / 446.7 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.013, allocations: 4 kB / 446.8 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.013, allocations: 0 / 446.8 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.013, allocations: 0 / 446.8 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/0.01345, allocations: 235.3 kB / 447 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.01347, allocations: 3.953 kB / 447 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.01349, allocations: 8 kB / 447 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.922e-05/0.01359, allocations: 7.984 kB / 447 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.01364, allocations: 7.984 kB / 447 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.01364, allocations: 4 kB / 447 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.01378, allocations: 115.2 kB / 447.1 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01378, allocations: 0 / 447.1 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000303/0.01408, allocations: 43.81 kB / 447.2 MB, free: 0.7812 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.001893/0.01598, allocations: 0.5247 MB / 447.7 MB, free: 480 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003327/0.01631, allocations: 91.86 kB / 447.8 MB, free: 388 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01631, allocations: 0 / 447.8 MB, free: 388 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.01646, allocations: 43.97 kB / 447.8 MB, free: 344 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.01676, allocations: 30.16 kB / 447.9 MB, free: 320 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005865/0.01735, allocations: 217.2 kB / 448.1 MB, free: 72 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1532/0.1706, allocations: 85.7 kB / 448.2 MB, free: 21.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.1707, allocations: 24.97 kB / 448.2 MB, free: 21.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/0.1707, allocations: 22.17 kB / 448.2 MB, free: 21.4 MB / 366.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1708, allocations: 1.094 kB / 448.2 MB, free: 21.4 MB / 366.1 MB Notification: Performance of Templates: time 0.004971/0.1757, allocations: 1.989 MB / 450.2 MB, free: 21.27 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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: 4.669496670365334]