Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.0011/0.0011, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004931/0.006031, 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.000981/0.000981, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001354/0.002335, 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.012/1.012, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0942/1.106, 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.2766/0.2766, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02904/0.3057, allocations: 13.24 MB / 292.8 MB, free: 6.379 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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,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.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 294.1 MB, free: 5.047 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.315e-05, allocations: 2.312 kB / 294.1 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003435/0.003458, allocations: 1.76 MB / 295.9 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.004544, allocations: 0.5726 MB / 296.5 MB, free: 2.699 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.985e-05/0.004614, allocations: 4 kB / 296.5 MB, free: 2.695 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006096/0.005224, allocations: 491 kB / 297 MB, free: 2.215 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005266/0.00575, allocations: 319 kB / 297.3 MB, free: 1.902 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.006135, allocations: 131.6 kB / 297.4 MB, free: 1.773 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002699/0.006404, allocations: 167.6 kB / 297.6 MB, free: 1.609 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.006514, allocations: 19.97 kB / 297.6 MB, free: 1.59 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003266/0.006841, allocations: 151.8 kB / 297.7 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.007073, allocations: 195.6 kB / 297.9 MB, free: 1.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.007096, allocations: 4 kB / 297.9 MB, free: 1.246 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.007234, allocations: 55.86 kB / 298 MB, free: 1.191 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.007366, allocations: 83.72 kB / 298.1 MB, free: 1.109 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.007412, allocations: 35.75 kB / 298.1 MB, free: 1.074 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.007723, allocations: 207.1 kB / 298.3 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.606e-05/0.007739, allocations: 0 / 298.3 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.007741, allocations: 0 / 298.3 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.007754, allocations: 0 / 298.3 MB, free: 0.8711 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.0006927/0.008446, allocations: 0.6082 MB / 298.9 MB, free: 240 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.008489, allocations: 8.922 kB / 298.9 MB, free: 232 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.711e-05/0.008546, allocations: 24.91 kB / 298.9 MB, free: 208 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.00882, allocations: 241.1 kB / 299.2 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.008833, allocations: 12.38 kB / 299.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.008859, allocations: 4.375 kB / 299.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.008984, allocations: 62.88 kB / 299.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.008996, allocations: 192 / 299.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.009004, allocations: 384 / 299.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.009012, allocations: 5.312 kB / 299.3 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.951e-05/0.009042, allocations: 11.66 kB / 299.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.00934, allocations: 176.1 kB / 299.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.011e-05/0.00941, allocations: 38.48 kB / 299.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.009429, allocations: 8.859 kB / 299.5 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.009451, allocations: 4 kB / 299.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.009479, allocations: 34.56 kB / 299.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.009481, allocations: 0 / 299.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007406/0.01022, allocations: 169.5 kB / 299.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.01027, allocations: 59.34 kB / 299.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003771/0.01065, allocations: 0.5244 MB / 300.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.01066, allocations: 29.7 kB / 300.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.336e-05/0.01072, allocations: 145.3 kB / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.01075, allocations: 23.78 kB / 300.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.01079, allocations: 21.72 kB / 300.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.01091, allocations: 358.7 kB / 300.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.01093, allocations: 8 kB / 300.8 MB, free: 14.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.754e-05/0.01095, allocations: 8.062 kB / 300.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.297e-05/0.011, allocations: 28.83 kB / 300.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.011, allocations: 0 / 300.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001038/0.01111, allocations: 73.66 kB / 300.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.01113, allocations: 11.88 kB / 301 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.01113, allocations: 0 / 301 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.01115, allocations: 4 kB / 301 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.01127, allocations: 19.98 kB / 301 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.01128, allocations: 0 / 301 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.926e-05/0.01131, allocations: 7.984 kB / 301 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.01131, allocations: 0 / 301 MB, free: 14.01 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.483e-05/0.01141, allocations: 112.7 kB / 301.1 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.01144, allocations: 23.97 kB / 301.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/0.01163, allocations: 105.4 kB / 301.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.01163, allocations: 7.984 kB / 301.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.01164, allocations: 4 kB / 301.2 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.01164, allocations: 0 / 301.2 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.012, allocations: 299.5 kB / 301.5 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.012, allocations: 3.938 kB / 301.5 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.388e-05/0.01207, allocations: 19.98 kB / 301.6 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/0.01209, allocations: 35.7 kB / 301.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.01209, allocations: 7.938 kB / 301.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.01211, allocations: 3.984 kB / 301.6 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.01211, allocations: 0 / 301.6 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01212, allocations: 0 / 301.6 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.01224, allocations: 184.7 kB / 301.8 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.01226, allocations: 0 / 301.8 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.108e-05/0.0123, allocations: 4 kB / 301.8 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.01233, allocations: 7.984 kB / 301.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.01233, allocations: 0 / 301.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001771/0.01251, allocations: 283.2 kB / 302.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01251, allocations: 4 kB / 302.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001512/0.01266, 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.001506/0.01417, allocations: 0.6132 MB / 302.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.794e-05/0.01426, allocations: 32.78 kB / 302.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/0.01427, allocations: 8 kB / 302.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.932e-05/0.01431, allocations: 40.77 kB / 302.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.0146, allocations: 104.3 kB / 302.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008265/0.01542, allocations: 0.5989 MB / 303.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.815e-05/0.0155, allocations: 123.2 kB / 303.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.369e-05/0.01555, allocations: 17.19 kB / 303.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.395e-05/0.01561, allocations: 59.36 kB / 303.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of SimCode: time 1.643e-06/0.01561, allocations: 4 kB / 303.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of Templates: time 0.00442/0.02003, allocations: 1.722 MB / 305.4 MB, free: 9.777 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.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.99250381719321]