Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.0009487/0.0009487, allocations: 87.62 kB / 21.44 MB, free: 3.121 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.006017/0.006017, allocations: 159.9 kB / 24.7 MB, free: 9.434 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.9666/0.9666, allocations: 177.1 MB / 205 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.2633/0.2633, allocations: 32.79 MB / 294.2 MB, free: 1.199 MB / 266.7 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.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 440.9 MB, free: 3.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.124e-05, allocations: 6.219 kB / 440.9 MB, free: 3.723 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002355/0.002386, allocations: 1.69 MB / 442.6 MB, free: 2.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007463/0.003132, allocations: 0.5529 MB / 443.1 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.977e-05/0.003192, allocations: 4 kB / 443.1 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.003401, allocations: 15.86 kB / 443.1 MB, free: 1.441 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002712/0.003672, allocations: 87.48 kB / 443.2 MB, free: 1.355 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.003923, allocations: 141.2 kB / 443.4 MB, free: 1.219 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.004088, allocations: 95.64 kB / 443.5 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.004198, allocations: 15.92 kB / 443.5 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.659e-05/0.004285, allocations: 51.89 kB / 443.5 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.916e-05/0.004364, allocations: 31.89 kB / 443.6 MB, free: 1.027 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.00438, allocations: 4 kB / 443.6 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.004525, allocations: 95.88 kB / 443.6 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.004739, allocations: 23.91 kB / 443.7 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.004769, allocations: 27.92 kB / 443.7 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.005021, allocations: 175.4 kB / 443.9 MB, free: 0.707 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.005024, allocations: 4 kB / 443.9 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.005026, allocations: 0 / 443.9 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.005031, allocations: 0 / 443.9 MB, free: 0.7031 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.0005136/0.005544, allocations: 361.5 kB / 444.2 MB, free: 328 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.005581, allocations: 8.031 kB / 444.2 MB, free: 320 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.005622, allocations: 8.891 kB / 444.2 MB, free: 312 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.005784, allocations: 142.2 kB / 444.4 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.005793, allocations: 8.375 kB / 444.4 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.005816, allocations: 4.375 kB / 444.4 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1876/0.1934, allocations: 113.6 kB / 444.5 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/0.1935, allocations: 7.172 kB / 444.5 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.1935, allocations: 0.5625 kB / 444.5 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.1935, allocations: 0 / 444.5 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002148/0.1937, allocations: 66.09 kB / 444.6 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.1942, allocations: 248.3 kB / 444.8 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.1943, allocations: 71.05 kB / 444.9 MB, free: 46.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.187e-05/0.1944, allocations: 47 kB / 444.9 MB, free: 46.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.1944, allocations: 6.312 kB / 444.9 MB, free: 46.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.1945, allocations: 35.72 kB / 445 MB, free: 46.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 2.104e-06/0.1945, allocations: 2.031 kB / 445 MB, free: 46.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009402/0.1954, allocations: 381.6 kB / 445.4 MB, free: 46.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.1954, allocations: 80.14 kB / 445.4 MB, free: 46.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.1956, allocations: 158.7 kB / 445.6 MB, free: 46.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.1956, allocations: 25.7 kB / 445.6 MB, free: 46.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.1956, allocations: 97.59 kB / 445.7 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.1956, allocations: 35.97 kB / 445.7 MB, free: 46.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.1957, allocations: 25.88 kB / 445.8 MB, free: 46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.043e-05/0.1957, allocations: 320.5 kB / 446.1 MB, free: 45.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.1959, allocations: 74.55 kB / 446.2 MB, free: 45.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.196, allocations: 113.1 kB / 446.3 MB, free: 45.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.1962, allocations: 151 kB / 446.4 MB, free: 45.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.1962, allocations: 0 / 446.4 MB, free: 45.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002984/0.1965, allocations: 193.1 kB / 446.6 MB, free: 45.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1966, allocations: 5.5 kB / 446.6 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1966, allocations: 0 / 446.6 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1966, allocations: 2.188 kB / 446.6 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.1967, allocations: 39.52 kB / 446.6 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1967, allocations: 7.828 kB / 446.7 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.77e-05/0.1968, allocations: 27.55 kB / 446.7 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.1968, allocations: 2.594 kB / 446.7 MB, free: 45.6 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 (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 5.955e-05/0.1969, allocations: 122 kB / 446.8 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.1969, allocations: 13.19 kB / 446.8 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003434/0.1972, allocations: 205.5 kB / 447 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1972, allocations: 2.719 kB / 447 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1972, allocations: 3.938 kB / 447 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1972, allocations: 0 / 447 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004772/0.1977, allocations: 428.8 kB / 447.4 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1977, allocations: 0 / 447.4 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.452e-05/0.1978, allocations: 39.89 kB / 447.5 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1978, allocations: 3.938 kB / 447.5 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.1978, allocations: 5.812 kB / 447.5 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1978, allocations: 1.781 kB / 447.5 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.1978, allocations: 9.438 kB / 447.5 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.1981, allocations: 280.7 kB / 447.8 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.719e-05/0.1981, allocations: 14.83 kB / 447.8 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.1981, allocations: 10.05 kB / 447.8 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.1982, allocations: 17.84 kB / 447.8 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.1983, allocations: 13.28 kB / 447.8 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.1983, allocations: 2.875 kB / 447.8 MB, free: 44.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.705e-05/0.1983, allocations: 119.4 kB / 447.9 MB, free: 44.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1983, allocations: 0 / 447.9 MB, free: 44.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002244/0.1986, allocations: 55.14 kB / 448 MB, free: 44.84 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 (9): * Single equations (assignments): 9 * 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.0009123/0.1995, allocations: 0.5362 MB / 448.5 MB, free: 44.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003558/0.1998, allocations: 150.6 kB / 448.7 MB, free: 44.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1998, allocations: 0 / 448.7 MB, free: 44.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.2, allocations: 81.66 kB / 448.8 MB, free: 44.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.2003, allocations: 24.17 kB / 448.8 MB, free: 44.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004129/0.2007, allocations: 233.2 kB / 449 MB, free: 44.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.501e-05/0.2007, allocations: 93.66 kB / 449.1 MB, free: 44.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.57e-05/0.2008, allocations: 17 kB / 449.1 MB, free: 44.38 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.2008, allocations: 0 / 449.1 MB, free: 44.38 MB / 410.7 MB Notification: Performance of Templates: time 0.003544/0.2044, allocations: 2.564 MB / 451.7 MB, free: 44.09 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.931438681669533]