Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001052/0.001052, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001529/0.002581, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001049/0.001049, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001424/0.002473, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.021/1.021, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09784/1.119, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3007/0.3007, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03057/0.3313, allocations: 13.23 MB / 292.8 MB, free: 6.395 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 294.1 MB, free: 5.062 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.323e-05, allocations: 3.578 kB / 294.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003675/0.003708, allocations: 1.767 MB / 295.9 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.00479, allocations: 0.5717 MB / 296.5 MB, free: 2.707 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.285e-05/0.004863, allocations: 0 / 296.5 MB, free: 2.707 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006217/0.005485, allocations: 487 kB / 297 MB, free: 2.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005116/0.005996, allocations: 323 kB / 297.3 MB, free: 1.914 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.006376, allocations: 131.6 kB / 297.4 MB, free: 1.785 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002919/0.006668, allocations: 175.6 kB / 297.6 MB, free: 1.613 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.00677, allocations: 11.98 kB / 297.6 MB, free: 1.602 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002653/0.007035, allocations: 155.8 kB / 297.7 MB, free: 1.449 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.007281, allocations: 199.6 kB / 297.9 MB, free: 1.254 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.007304, allocations: 4 kB / 297.9 MB, free: 1.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.007439, allocations: 51.86 kB / 298 MB, free: 1.199 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.007555, allocations: 79.72 kB / 298.1 MB, free: 1.121 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.798e-05/0.007603, allocations: 35.75 kB / 298.1 MB, free: 1.086 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.007942, allocations: 207.1 kB / 298.3 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.709e-05/0.007959, allocations: 3.984 kB / 298.3 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.007961, allocations: 4 kB / 298.3 MB, free: 0.875 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.007974, allocations: 0 / 298.3 MB, free: 0.875 MB / 282.7 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.0007864/0.008761, allocations: 0.6004 MB / 298.9 MB, free: 252 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.008805, allocations: 8.922 kB / 298.9 MB, free: 244 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.987e-05/0.008885, allocations: 24.91 kB / 298.9 MB, free: 220 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.009188, allocations: 244.3 kB / 299.2 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.009202, allocations: 384 / 299.2 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/0.009236, allocations: 8.375 kB / 299.2 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.009393, allocations: 60.09 kB / 299.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.009408, allocations: 8.141 kB / 299.2 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.009419, allocations: 8.375 kB / 299.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.009426, allocations: 3.75 kB / 299.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.585e-05/0.009461, allocations: 11.98 kB / 299.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.009793, allocations: 172.2 kB / 299.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.992e-05/0.009873, allocations: 30.5 kB / 299.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.363e-05/0.009896, allocations: 12.86 kB / 299.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.009922, allocations: 3.938 kB / 299.5 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.009953, allocations: 38.64 kB / 299.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/0.009955, allocations: 0 / 299.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006604/0.01062, allocations: 158 kB / 299.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.01065, allocations: 55.34 kB / 299.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004962/0.01115, allocations: 0.5321 MB / 300.3 MB, free: 14.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.01117, allocations: 25.7 kB / 300.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.882e-05/0.01125, allocations: 145.2 kB / 300.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.01129, allocations: 31.73 kB / 300.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.01134, allocations: 21.7 kB / 300.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.01147, allocations: 362.6 kB / 300.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.01149, allocations: 4 kB / 300.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.715e-05/0.0115, allocations: 12.06 kB / 300.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.087e-05/0.01155, allocations: 28.83 kB / 300.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.01156, allocations: 0 / 300.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001074/0.01166, allocations: 69.66 kB / 300.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.01168, allocations: 7.938 kB / 301 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.01169, allocations: 3.984 kB / 301 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.0117, allocations: 4 kB / 301 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.81e-05/0.0118, allocations: 12.05 kB / 301 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.01181, allocations: 0 / 301 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.01185, allocations: 15.97 kB / 301 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.01186, allocations: 0 / 301 MB, free: 14.02 MB / 298.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 (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 9.636e-05/0.01196, allocations: 120.6 kB / 301.1 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.473e-05/0.012, allocations: 23.97 kB / 301.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000187/0.01219, allocations: 105.5 kB / 301.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.01219, allocations: 0 / 301.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.01219, allocations: 0 / 301.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.0122, allocations: 0 / 301.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004049/0.0126, allocations: 311.4 kB / 301.5 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.0126, allocations: 0 / 301.5 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.272e-05/0.01269, allocations: 20.03 kB / 301.6 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.01273, allocations: 39.7 kB / 301.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.01273, allocations: 3.938 kB / 301.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.01274, allocations: 4 kB / 301.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.01274, allocations: 0 / 301.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.01275, allocations: 4 kB / 301.6 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.0129, allocations: 172.6 kB / 301.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.01292, allocations: 4 kB / 301.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.36e-05/0.01301, allocations: 7.984 kB / 301.8 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.01304, allocations: 4 kB / 301.8 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.01304, allocations: 4 kB / 301.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002833/0.01332, allocations: 291.2 kB / 302.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.01332, allocations: 0 / 302.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002665/0.01359, allocations: 31.92 kB / 302.1 MB, free: 12.83 MB / 298.7 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.001958/0.01555, allocations: 0.6072 MB / 302.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.01567, allocations: 36.78 kB / 302.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/0.01569, allocations: 4 kB / 302.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.001e-05/0.01574, allocations: 32.77 kB / 302.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.0161, allocations: 93.36 kB / 302.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.01724, allocations: 0.595 MB / 303.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.01735, allocations: 123.2 kB / 303.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.969e-05/0.01741, allocations: 21.19 kB / 303.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.371e-05/0.01749, allocations: 63.36 kB / 303.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01749, allocations: 0 / 303.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of Templates: time 0.005478/0.02297, allocations: 1.739 MB / 305.4 MB, free: 9.793 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.868151057511568]