Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001318/0.001318, allocations: 84.55 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.001431/0.001431, allocations: 163.9 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.475/1.475, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2207/0.2207, allocations: 34.27 MB / 294.9 MB, free: 14.59 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.719e-06/4.719e-06, allocations: 3.984 kB / 442.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.98e-05, allocations: 2.281 kB / 442.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003353/0.003383, allocations: 1.673 MB / 444.4 MB, free: 3.699 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.004585, allocations: 0.5375 MB / 444.9 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.686e-05/0.004652, allocations: 7.938 kB / 444.9 MB, free: 3.148 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007287/0.005381, allocations: 455 kB / 445.4 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005398/0.00592, allocations: 291.2 kB / 445.7 MB, free: 2.418 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.006329, allocations: 135.3 kB / 445.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.006602, allocations: 171.6 kB / 446 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.006717, allocations: 19.92 kB / 446 MB, free: 2.102 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.006879, allocations: 123.8 kB / 446.1 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002969/0.007176, allocations: 243.6 kB / 446.3 MB, free: 1.742 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.007203, allocations: 8 kB / 446.3 MB, free: 1.734 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.007325, allocations: 47.92 kB / 446.4 MB, free: 1.688 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.007456, allocations: 79.72 kB / 446.5 MB, free: 1.609 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.034e-05/0.007517, allocations: 47.66 kB / 446.5 MB, free: 1.562 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003762/0.007893, allocations: 255 kB / 446.8 MB, free: 1.312 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.007896, allocations: 0 / 446.8 MB, free: 1.312 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.007898, allocations: 0 / 446.8 MB, free: 1.312 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.007904, allocations: 0 / 446.8 MB, free: 1.312 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008624/0.008767, allocations: 0.5775 MB / 447.3 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.00881, allocations: 12.03 kB / 447.3 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.16e-05/0.008892, allocations: 44.66 kB / 447.4 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.009221, allocations: 254 kB / 447.6 MB, free: 384 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.009237, allocations: 4.375 kB / 447.6 MB, free: 380 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.00926, allocations: 384 / 447.6 MB, free: 380 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.009441, allocations: 62.17 kB / 447.7 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.009459, allocations: 192 / 447.7 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.009483, allocations: 8.125 kB / 447.7 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.009491, allocations: 4 kB / 447.7 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.009608, allocations: 23.98 kB / 447.7 MB, free: 276 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1894/0.1991, allocations: 327.9 kB / 448.1 MB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.1992, allocations: 46.72 kB / 448.1 MB, free: 19.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.13e-05/0.1993, allocations: 19.72 kB / 448.1 MB, free: 19.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.1993, allocations: 1.188 kB / 448.1 MB, free: 19.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.1993, allocations: 32.31 kB / 448.2 MB, free: 19.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.894e-06/0.1993, allocations: 0.8438 kB / 448.2 MB, free: 19.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009882/0.2003, allocations: 321.2 kB / 448.5 MB, free: 19.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.2003, allocations: 57 kB / 448.5 MB, free: 19.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007839/0.2011, allocations: 0.8573 MB / 449.4 MB, free: 18.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.2011, allocations: 30.3 kB / 449.4 MB, free: 18.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.2012, allocations: 213.1 kB / 449.6 MB, free: 18.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.2013, allocations: 27.03 kB / 449.7 MB, free: 18.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.2013, allocations: 28.78 kB / 449.7 MB, free: 18.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.371e-05/0.2014, allocations: 357.9 kB / 450 MB, free: 18.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.163e-05/0.2015, allocations: 27.31 kB / 450.1 MB, free: 18.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.318e-05/0.2015, allocations: 23.83 kB / 450.1 MB, free: 18.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.2017, allocations: 63.47 kB / 450.1 MB, free: 18.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2017, allocations: 1.438 kB / 450.1 MB, free: 18.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002244/0.2019, allocations: 138.6 kB / 450.3 MB, free: 18.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2019, allocations: 9.453 kB / 450.3 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2019, allocations: 0 / 450.3 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.2019, allocations: 6.094 kB / 450.3 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.202, allocations: 21.38 kB / 450.3 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.2021, allocations: 2.297 kB / 450.3 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.228e-05/0.2021, allocations: 7.984 kB / 450.3 MB, free: 18.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.2021, allocations: 3.25 kB / 450.3 MB, free: 18.2 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 (8): * Single equations (assignments): 8 * 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.0001559/0.2023, allocations: 216.8 kB / 450.5 MB, free: 18.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.2023, allocations: 43.16 kB / 450.6 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.2026, allocations: 165.1 kB / 450.7 MB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.2026, allocations: 8.281 kB / 450.8 MB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2026, allocations: 0 / 450.8 MB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2026, allocations: 4.406 kB / 450.8 MB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005255/0.2032, allocations: 440.3 kB / 451.2 MB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2032, allocations: 1.094 kB / 451.2 MB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.529e-05/0.2033, allocations: 22.48 kB / 451.2 MB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2033, allocations: 0 / 451.2 MB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.2033, allocations: 5.781 kB / 451.2 MB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2033, allocations: 1.672 kB / 451.2 MB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2033, allocations: 5.5 kB / 451.2 MB, free: 17.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.2035, allocations: 234.7 kB / 451.4 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.2035, allocations: 42.47 kB / 451.5 MB, free: 17.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.2036, allocations: 2.281 kB / 451.5 MB, free: 17.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.369e-05/0.2037, allocations: 6.672 kB / 451.5 MB, free: 17.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.2037, allocations: 5.781 kB / 451.5 MB, free: 17.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.2037, allocations: 7.172 kB / 451.5 MB, free: 17.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005543/0.2043, allocations: 0.6525 MB / 452.2 MB, free: 17.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2043, allocations: 0 / 452.2 MB, free: 17.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.2045, allocations: 31.06 kB / 452.2 MB, free: 17.19 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001782/0.2063, allocations: 495.5 kB / 452.7 MB, free: 17.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.2065, allocations: 68.58 kB / 452.7 MB, free: 17.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2065, allocations: 3.25 kB / 452.7 MB, free: 17.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.692e-05/0.2066, allocations: 35.17 kB / 452.8 MB, free: 17.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.207, allocations: 32.16 kB / 452.8 MB, free: 16.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.208, allocations: 0.8194 MB / 453.6 MB, free: 16.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.2082, allocations: 220.9 kB / 453.8 MB, free: 16.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.373e-05/0.2083, allocations: 19.22 kB / 453.9 MB, free: 16.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.2083, allocations: 15.62 kB / 453.9 MB, free: 16.51 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2083, allocations: 0.875 kB / 453.9 MB, free: 16.51 MB / 366.1 MB Notification: Performance of Templates: time 0.005481/0.2138, allocations: 1.578 MB / 455.5 MB, free: 16.26 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.8186426274478436]