Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.0008586/0.0008586, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004752/0.004752, allocations: 164 kB / 24.7 MB, free: 8.891 MB / 18.57 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 0.886/0.886, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.258/0.258, allocations: 34.26 MB / 295.7 MB, free: 0.7188 MB / 266.7 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.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 443.5 MB, free: 1.133 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.433e-05/3.638e-05, allocations: 4.391 kB / 443.5 MB, free: 1.129 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.2021/0.2021, allocations: 1.647 MB / 445.1 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.2035, allocations: 1.277 MB / 446.4 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.435e-05/0.2036, allocations: 2.906 kB / 446.4 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.2037, allocations: 26 kB / 446.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002472/0.204, allocations: 84.67 kB / 446.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.2043, allocations: 181.8 kB / 446.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.2044, allocations: 80.52 kB / 446.7 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.568e-05/0.2045, allocations: 20.03 kB / 446.8 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.504e-05/0.2045, allocations: 40.89 kB / 446.8 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.716e-05/0.2046, allocations: 28.91 kB / 446.8 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.2046, allocations: 3.062 kB / 446.8 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.2047, allocations: 97.53 kB / 446.9 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.972e-05/0.2048, allocations: 21.22 kB / 447 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.2048, allocations: 17.03 kB / 447 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.205, allocations: 160.9 kB / 447.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.205, allocations: 0 / 447.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.205, allocations: 0 / 447.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.205, allocations: 0 / 447.1 MB, free: 42.78 MB / 410.7 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.0003614/0.2054, allocations: 342.1 kB / 447.5 MB, free: 42.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.2054, allocations: 8.844 kB / 447.5 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.2055, allocations: 8.266 kB / 447.5 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.2056, allocations: 136.4 kB / 447.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.2056, allocations: 7.25 kB / 447.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.2056, allocations: 7.062 kB / 447.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.2057, allocations: 105.5 kB / 447.7 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2057, allocations: 3.094 kB / 447.7 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.2058, allocations: 8.125 kB / 447.7 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2058, allocations: 2.406 kB / 447.7 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.447e-05/0.2058, allocations: 35.3 kB / 447.8 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.2061, allocations: 252.8 kB / 448 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.589e-05/0.2062, allocations: 46.72 kB / 448.1 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/0.2062, allocations: 26.28 kB / 448.1 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.2062, allocations: 4 kB / 448.1 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/0.2062, allocations: 33.12 kB / 448.1 MB, free: 41.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.2062, allocations: 0 / 448.1 MB, free: 41.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005242/0.2068, allocations: 231.3 kB / 448.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.2068, allocations: 77.11 kB / 448.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.2069, allocations: 155 kB / 448.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.2069, allocations: 25.7 kB / 448.6 MB, free: 41.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.207, allocations: 90.8 kB / 448.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.207, allocations: 29.67 kB / 448.7 MB, free: 41.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.207, allocations: 25.78 kB / 448.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.241e-05/0.2071, allocations: 324.8 kB / 449.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.142e-05/0.2071, allocations: 36.05 kB / 449.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.73e-05/0.2072, allocations: 85.78 kB / 449.2 MB, free: 41.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.2073, allocations: 90.72 kB / 449.3 MB, free: 41.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2073, allocations: 0 / 449.3 MB, free: 41.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001456/0.2074, allocations: 126.7 kB / 449.4 MB, free: 40.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.2075, allocations: 5.125 kB / 449.4 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2075, allocations: 0 / 449.4 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2075, allocations: 4 kB / 449.4 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.445e-05/0.2075, allocations: 22.64 kB / 449.4 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.2075, allocations: 3.938 kB / 449.4 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.138e-05/0.2076, allocations: 12.58 kB / 449.4 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.2076, allocations: 2.875 kB / 449.5 MB, free: 40.96 MB / 410.7 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 4.976e-05/0.2076, allocations: 120.3 kB / 449.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.2077, allocations: 15.64 kB / 449.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.2078, allocations: 140.6 kB / 449.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.2079, allocations: 0 / 449.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2079, allocations: 2.812 kB / 449.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2079, allocations: 3.031 kB / 449.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.2081, allocations: 355.9 kB / 450.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2081, allocations: 0 / 450.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.2082, allocations: 22.28 kB / 450.1 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.2082, allocations: 0 / 450.1 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/0.2082, allocations: 3.375 kB / 450.1 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2082, allocations: 2.969 kB / 450.1 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.2082, allocations: 0 / 450.1 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.2083, allocations: 229.7 kB / 450.3 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-06/0.2083, allocations: 6.891 kB / 450.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.2083, allocations: 2.531 kB / 450.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.338e-05/0.2084, allocations: 13.14 kB / 450.4 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.2084, allocations: 10.17 kB / 450.4 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.2084, allocations: 0 / 450.4 MB, free: 40.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.039e-05/0.2085, allocations: 114.2 kB / 450.5 MB, free: 40.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2085, allocations: 0 / 450.5 MB, free: 40.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001928/0.2087, allocations: 47.25 kB / 450.5 MB, free: 40.21 MB / 410.7 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.0008026/0.2095, allocations: 0.5296 MB / 451 MB, free: 40.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.2096, allocations: 94.02 kB / 451.1 MB, free: 40.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2097, allocations: 0 / 451.1 MB, free: 40.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.875e-05/0.2097, allocations: 51.27 kB / 451.2 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.21, allocations: 16.98 kB / 451.2 MB, free: 39.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.2103, allocations: 236.1 kB / 451.4 MB, free: 39.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.541e-05/0.2103, allocations: 95.3 kB / 451.5 MB, free: 39.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.613e-05/0.2104, allocations: 20.59 kB / 451.5 MB, free: 39.73 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2104, allocations: 0 / 451.5 MB, free: 39.73 MB / 410.7 MB Notification: Performance of Templates: time 0.002869/0.2133, allocations: 2.241 MB / 453.8 MB, free: 39.47 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.865227189846337]