Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000859/0.0008587, allocations: 101.3 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001052/0.001052, allocations: 191.9 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.582/1.582, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2362/0.2362, allocations: 46.19 MB / 344.8 MB, free: 11.65 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004616/0.0004618, allocations: 8 kB / 418.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1988, allocations: 63.57 MB / 482.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002231/0.2011, allocations: 1.353 MB / 483.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009569/0.2021, allocations: 0.4993 MB / 484.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.346e-05/0.2022, allocations: 0 / 484.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005626/0.2027, allocations: 451.1 kB / 484.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004109/0.2032, allocations: 263.5 kB / 485 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.2036, allocations: 115.3 kB / 485.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.2038, allocations: 131.7 kB / 485.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.57e-05/0.2039, allocations: 15.98 kB / 485.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.2041, allocations: 107.7 kB / 485.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.2043, allocations: 163.7 kB / 485.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.2043, allocations: 4 kB / 485.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.971e-05/0.2044, allocations: 27.98 kB / 485.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.2045, allocations: 91.67 kB / 485.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.482e-05/0.2046, allocations: 61.52 kB / 485.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.2048, allocations: 183.7 kB / 485.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2048, allocations: 0 / 485.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2048, allocations: 0 / 485.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.2048, allocations: 4 kB / 485.8 MB, free: 1.117 MB / 350.1 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.0007033/0.2056, allocations: 0.599 MB / 486.4 MB, free: 480 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.2056, allocations: 8.031 kB / 486.4 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.2057, allocations: 43.44 kB / 486.5 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.206, allocations: 275.3 kB / 486.8 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.206, allocations: 4 kB / 486.8 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.206, allocations: 0 / 486.8 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.2062, allocations: 61.69 kB / 486.8 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.2062, allocations: 3.906 kB / 486.8 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.2062, allocations: 0 / 486.8 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.2062, allocations: 0 / 486.8 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.2063, allocations: 39.98 kB / 486.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/0.2068, allocations: 380.7 kB / 487.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.207, allocations: 50.5 kB / 487.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.2071, allocations: 20.94 kB / 487.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.2071, allocations: 0 / 487.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.2071, allocations: 34.56 kB / 487.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.2072, allocations: 0 / 487.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006326/0.2078, allocations: 248.2 kB / 487.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.2079, allocations: 59.36 kB / 487.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008646/0.2087, allocations: 0.873 MB / 488.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.2087, allocations: 25.7 kB / 488.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.2089, allocations: 220.1 kB / 488.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.209, allocations: 19.75 kB / 488.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.209, allocations: 0 / 488.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.2091, allocations: 358.8 kB / 489.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.23e-05/0.2092, allocations: 27.98 kB / 489.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.893e-05/0.2093, allocations: 19.98 kB / 489.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.26e-05/0.2094, allocations: 28.11 kB / 489.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.2094, allocations: 0 / 489.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002269/0.2096, allocations: 133 kB / 489.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2096, allocations: 8 kB / 489.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2096, allocations: 3.984 kB / 489.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.2097, allocations: 0 / 489.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.654e-05/0.2097, allocations: 15.98 kB / 489.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2097, allocations: 0 / 489.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.902e-05/0.2098, allocations: 11.95 kB / 489.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.2098, allocations: 4 kB / 489.4 MB, free: 13.36 MB / 366.1 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001892/0.21, allocations: 218.2 kB / 489.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.531e-05/0.2101, allocations: 39.44 kB / 489.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.2104, allocations: 149 kB / 489.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2104, allocations: 0 / 489.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2104, allocations: 0 / 489.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2104, allocations: 0 / 489.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005294/0.2109, allocations: 466.4 kB / 490.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2109, allocations: 0 / 490.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.697e-05/0.211, allocations: 19.98 kB / 490.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.211, allocations: 0 / 490.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.211, allocations: 0 / 490.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.211, allocations: 4 kB / 490.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.211, allocations: 7.891 kB / 490.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.2113, allocations: 219 kB / 490.5 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.937e-05/0.2114, allocations: 108.9 kB / 490.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.2114, allocations: 0 / 490.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.813e-05/0.2115, allocations: 15.98 kB / 490.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.2116, allocations: 7.953 kB / 490.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.2116, allocations: 0 / 490.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006068/0.2122, allocations: 0.655 MB / 491.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.2122, allocations: 4 kB / 491.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.2124, allocations: 23.94 kB / 491.3 MB, free: 11.34 MB / 366.1 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009344/0.2134, allocations: 388.8 kB / 491.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.2136, allocations: 55.91 kB / 491.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2136, allocations: 4 kB / 491.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.342e-05/0.2137, allocations: 31.97 kB / 491.8 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.2141, allocations: 26.25 kB / 491.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.2152, allocations: 0.8375 MB / 492.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.2157, allocations: 0.8223 MB / 493.4 MB, free: 9.262 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.07e-05/0.2157, allocations: 15.94 kB / 493.5 MB, free: 9.246 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.2158, allocations: 23.36 kB / 493.5 MB, free: 9.223 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2158, allocations: 0 / 493.5 MB, free: 9.223 MB / 366.1 MB Notification: Performance of Templates: time 0.004467/0.2202, allocations: 1.363 MB / 494.8 MB, free: 7.863 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches