Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001662/0.001662, allocations: 204.1 kB / 16.1 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 226.5 MB / 243.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007698/0.0007698, allocations: 101.1 kB / 295.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.303/0.303, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002834/0.0002834, allocations: 8 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.278, allocations: 62.96 MB / 0.5159 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.001485/0.2796, allocations: 1.333 MB / 0.5172 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005924/0.2802, allocations: 0.6571 MB / 0.5178 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.935e-05/0.2802, allocations: 0 / 0.5178 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.2804, allocations: 24.19 kB / 0.5178 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.2806, allocations: 37.38 kB / 0.5179 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.96e-06/0.2806, allocations: 8 kB / 0.5179 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.2807, allocations: 35.78 kB / 0.5179 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.2808, allocations: 6.484 kB / 0.5179 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.171e-05/0.2808, allocations: 12.5 kB / 0.5179 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.513e-05/0.2809, allocations: 24.39 kB / 0.518 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.766e-06/0.2809, allocations: 3.938 kB / 0.518 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.09e-05/0.281, allocations: 12.47 kB / 0.518 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.246e-05/0.281, allocations: 19.53 kB / 0.518 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.989e-05/0.281, allocations: 44.3 kB / 0.518 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.646e-05/0.2811, allocations: 52 kB / 0.5181 GB, free: 35.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2811, allocations: 4 kB / 0.5181 GB, free: 35.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2811, allocations: 0 / 0.5181 GB, free: 35.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.2812, allocations: 2.875 kB / 0.5181 GB, free: 35.66 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002266/0.2814, allocations: 351.3 kB / 0.5184 GB, free: 35.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.2814, allocations: 9.875 kB / 0.5184 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.2815, allocations: 11.78 kB / 0.5185 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.558e-05/0.2816, allocations: 170.6 kB / 0.5186 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.2816, allocations: 384 / 0.5186 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.2816, allocations: 3.375 kB / 0.5186 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.2817, allocations: 129.5 kB / 0.5187 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.2818, allocations: 192 / 0.5187 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.2818, allocations: 6.875 kB / 0.5187 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.959e-05/0.2818, allocations: 29.45 kB / 0.5188 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.183e-05/0.2819, allocations: 43.33 kB / 0.5188 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.2823, allocations: 0.894 MB / 0.5197 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.827e-05/0.2823, allocations: 169.1 kB / 0.5199 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.52e-05/0.2824, allocations: 80.14 kB / 0.5199 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.2824, allocations: 79.22 kB / 0.52 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.2824, allocations: 120 kB / 0.5201 GB, free: 33.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.2824, allocations: 0 / 0.5201 GB, free: 33.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 5.67e-05/0.2825, allocations: 33.2 kB / 0.5202 GB, free: 33.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.2825, allocations: 130.7 kB / 0.5203 GB, free: 33.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.2826, allocations: 182.7 kB / 0.5204 GB, free: 33.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.589e-06/0.2827, allocations: 25.7 kB / 0.5205 GB, free: 33.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/0.2827, allocations: 149.8 kB / 0.5206 GB, free: 33.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.628e-06/0.2827, allocations: 7.875 kB / 0.5206 GB, free: 33.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.2827, allocations: 3.938 kB / 0.5206 GB, free: 33.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.692e-05/0.2828, allocations: 321.8 kB / 0.5209 GB, free: 32.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.862e-05/0.2828, allocations: 36.3 kB / 0.521 GB, free: 32.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.345e-05/0.2829, allocations: 160.1 kB / 0.5211 GB, free: 32.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.283, allocations: 204.9 kB / 0.5213 GB, free: 32.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2831, allocations: 0 / 0.5213 GB, free: 32.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002383/0.2833, allocations: 198.4 kB / 0.5215 GB, free: 32.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.2833, allocations: 8.938 kB / 0.5215 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.2833, allocations: 5.719 kB / 0.5215 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2834, allocations: 5.969 kB / 0.5215 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.2835, allocations: 46.05 kB / 0.5216 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.2835, allocations: 9.562 kB / 0.5216 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.472e-05/0.2836, allocations: 18.44 kB / 0.5216 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.2836, allocations: 8.156 kB / 0.5216 GB, free: 32.28 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 7.252e-05/0.2837, allocations: 218.6 kB / 0.5218 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.2837, allocations: 115.7 kB / 0.5219 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.2837, allocations: 114.1 kB / 0.522 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.22e-05/0.2838, allocations: 188.2 kB / 0.5222 GB, free: 31.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.378e-05/0.2838, allocations: 179.3 kB / 0.5224 GB, free: 31.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.151e-05/0.2838, allocations: 179.7 kB / 0.5226 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.284, allocations: 423.5 kB / 0.523 GB, free: 30.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/0.284, allocations: 104.9 kB / 0.5231 GB, free: 30.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.439e-05/0.284, allocations: 107.9 kB / 0.5232 GB, free: 30.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.199e-05/0.284, allocations: 180.3 kB / 0.5233 GB, free: 30.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.2841, allocations: 176.3 kB / 0.5235 GB, free: 30.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.358e-05/0.2841, allocations: 198.5 kB / 0.5237 GB, free: 30.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.14e-05/0.2841, allocations: 176.3 kB / 0.5239 GB, free: 29.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.054e-05/0.2842, allocations: 313.1 kB / 0.5242 GB, free: 29.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.2842, allocations: 192.8 kB / 0.5243 GB, free: 29.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.2843, allocations: 183.1 kB / 0.5245 GB, free: 29.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.169e-05/0.2843, allocations: 101 kB / 0.5246 GB, free: 29.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.2844, allocations: 183.5 kB / 0.5248 GB, free: 28.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.2844, allocations: 103.9 kB / 0.5249 GB, free: 28.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.005e-05/0.2844, allocations: 133.8 kB / 0.525 GB, free: 28.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2845, allocations: 0 / 0.525 GB, free: 28.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002673/0.2847, allocations: 11.94 kB / 0.525 GB, free: 28.68 MB / 378.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 (0): * Single equations (assignments): 0 * 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.0003778/0.2851, allocations: 276.8 kB / 0.5253 GB, free: 28.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.2852, allocations: 76.23 kB / 0.5254 GB, free: 28.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2853, allocations: 0 / 0.5254 GB, free: 28.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.2853, allocations: 0 / 0.5254 GB, free: 28.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.2855, allocations: 0.5335 MB / 0.5259 GB, free: 27.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.2858, allocations: 307 kB / 0.5262 GB, free: 27.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.286, allocations: 0.7005 MB / 0.5269 GB, free: 26.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.747e-05/0.286, allocations: 16.53 kB / 0.5269 GB, free: 26.95 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.286, allocations: 0 / 0.5269 GB, free: 26.95 MB / 378.7 MB Notification: Performance of Templates: time 0.002111/0.2882, allocations: 1.272 MB / 0.5281 GB, free: 26.84 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches