Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.0008263/0.0008263, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003269/0.003269, allocations: 161.5 kB / 24.7 MB, free: 9.418 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.9/0.9, 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.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.2724/0.2724, allocations: 34.26 MB / 295.7 MB, free: 0.6953 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 3.984 kB / 443.4 MB, free: 1.137 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.156e-05, allocations: 2.281 kB / 443.4 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.1992/0.1992, allocations: 1.609 MB / 445.1 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008739/0.2001, allocations: 0.5517 MB / 445.6 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.002e-05/0.2001, allocations: 0 / 445.6 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005049/0.2006, allocations: 455.3 kB / 446.1 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000434/0.2011, allocations: 294.3 kB / 446.3 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.2014, allocations: 169 kB / 446.5 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.2016, allocations: 175.3 kB / 446.7 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.2017, allocations: 12.95 kB / 446.7 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.2018, allocations: 113 kB / 446.8 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.202, allocations: 242.4 kB / 447 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.202, allocations: 2.875 kB / 447 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.543e-05/0.2021, allocations: 27.3 kB / 447.1 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.217e-05/0.2022, allocations: 88.61 kB / 447.2 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.2022, allocations: 37.88 kB / 447.2 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.2024, allocations: 230.2 kB / 447.4 MB, free: 43.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2025, allocations: 0 / 447.4 MB, free: 43.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2025, allocations: 0 / 447.4 MB, free: 43.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.2025, allocations: 0 / 447.4 MB, free: 43.3 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004891/0.2029, allocations: 0.5693 MB / 448 MB, free: 42.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.203, allocations: 8.562 kB / 448 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.203, allocations: 44.91 kB / 448 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.2032, allocations: 247.7 kB / 448.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.2032, allocations: 7.188 kB / 448.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.2032, allocations: 3.562 kB / 448.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.2034, allocations: 48.88 kB / 448.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2034, allocations: 192 / 448.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.2034, allocations: 4.125 kB / 448.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.2034, allocations: 2.781 kB / 448.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.493e-05/0.2035, allocations: 24.72 kB / 448.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.2038, allocations: 319.4 kB / 448.7 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.336e-05/0.2039, allocations: 38.34 kB / 448.7 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.318e-05/0.2039, allocations: 27.61 kB / 448.7 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.2039, allocations: 0 / 448.7 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.204, allocations: 30.56 kB / 448.8 MB, free: 42.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.204, allocations: 0 / 448.8 MB, free: 42.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002244/0.2042, allocations: 106.4 kB / 448.9 MB, free: 42.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.2042, allocations: 55.41 kB / 448.9 MB, free: 42.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005224/0.2047, allocations: 0.8623 MB / 449.8 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.49e-06/0.2047, allocations: 32.36 kB / 449.8 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.603e-05/0.2048, allocations: 217.9 kB / 450 MB, free: 41.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.2048, allocations: 3.953 kB / 450 MB, free: 41.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/0.2049, allocations: 12.72 kB / 450.1 MB, free: 41.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.548e-05/0.2049, allocations: 361.2 kB / 450.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.721e-05/0.2049, allocations: 9.094 kB / 450.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.757e-05/0.2049, allocations: 13.05 kB / 450.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.371e-05/0.205, allocations: 26.58 kB / 450.5 MB, free: 41.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.205, allocations: 4.062 kB / 450.5 MB, free: 41.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.685e-05/0.2051, allocations: 101.8 kB / 450.6 MB, free: 41.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2051, allocations: 6.75 kB / 450.6 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.2051, allocations: 0 / 450.6 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2051, allocations: 2.25 kB / 450.6 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.173e-05/0.2051, allocations: 8.891 kB / 450.6 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.2052, allocations: 3.938 kB / 450.6 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.325e-05/0.2052, allocations: 2.812 kB / 450.6 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.2052, allocations: 0 / 450.6 MB, free: 41.11 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 (2): * Single equations (assignments): 2 * 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 9.114e-05/0.2053, allocations: 218.2 kB / 450.8 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.2053, allocations: 46.88 kB / 450.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.2054, allocations: 101.6 kB / 450.9 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2054, allocations: 2.938 kB / 450.9 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2054, allocations: 0 / 450.9 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2054, allocations: 0 / 450.9 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.2056, allocations: 234.2 kB / 451.2 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2056, allocations: 0 / 451.2 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.811e-05/0.2056, allocations: 8.594 kB / 451.2 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2056, allocations: 3.969 kB / 451.2 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.2056, allocations: 4 kB / 451.2 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.2056, allocations: 0 / 451.2 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2056, allocations: 2.812 kB / 451.2 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.814e-05/0.2057, allocations: 183.7 kB / 451.4 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.973e-05/0.2057, allocations: 42.34 kB / 451.4 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.2057, allocations: 3.188 kB / 451.4 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.741e-05/0.2057, allocations: 3 kB / 451.4 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.478e-05/0.2057, allocations: 0 / 451.4 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.2057, allocations: 0 / 451.4 MB, free: 40.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002956/0.206, allocations: 0.6613 MB / 452.1 MB, free: 40.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.206, allocations: 0 / 452.1 MB, free: 40.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001574/0.2062, allocations: 16.44 kB / 452.1 MB, free: 40.29 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 (2): * Single equations (assignments): 2 * 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.0005515/0.2068, allocations: 376.9 kB / 452.5 MB, free: 40.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.85e-05/0.2068, allocations: 25.67 kB / 452.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2068, allocations: 0 / 452.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-05/0.2069, allocations: 15.58 kB / 452.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.2071, allocations: 27.17 kB / 452.5 MB, free: 40.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006128/0.2077, allocations: 0.8208 MB / 453.4 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.2078, allocations: 215.9 kB / 453.6 MB, free: 39.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.306e-05/0.2079, allocations: 19.34 kB / 453.6 MB, free: 39.64 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2079, allocations: 0 / 453.6 MB, free: 39.64 MB / 410.7 MB Notification: Performance of Templates: time 0.003523/0.2114, allocations: 3.658 MB / 457.2 MB, free: 38.83 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.618365644477308]