Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009701/0.0009702, allocations: 195.5 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 226.5 MB / 244.1 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007853/0.0007857, allocations: 103.7 kB / 296.1 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.394/0.394, allocations: 44.83 MB / 393 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.000328, allocations: 8 kB / 465.9 MB, free: 12.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3335, allocations: 62.96 MB / 0.5165 GB, free: 37.42 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.4559, allocations: 92.15 MB / 0.6065 GB, free: 13.26 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.4562, allocations: 75.95 kB / 0.6065 GB, free: 13.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02754/0.4838, allocations: 10.83 MB / 0.6171 GB, free: 2.336 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.4838, allocations: 0 / 0.6171 GB, free: 2.336 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.961e-05/0.4839, allocations: 8 kB / 0.6171 GB, free: 2.328 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009521/0.4848, allocations: 0.6783 MB / 0.6178 GB, free: 1.598 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.4849, allocations: 8.031 kB / 0.6178 GB, free: 1.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.823e-05/0.485, allocations: 44.38 kB / 0.6178 GB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005556/0.4856, allocations: 397.9 kB / 0.6182 GB, free: 1.117 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.4856, allocations: 16.31 kB / 0.6182 GB, free: 1.102 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.4856, allocations: 8.375 kB / 0.6182 GB, free: 1.094 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.4859, allocations: 106.2 kB / 0.6183 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.4859, allocations: 192 / 0.6183 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.4859, allocations: 7.938 kB / 0.6183 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.4859, allocations: 4 kB / 0.6183 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.4861, allocations: 71.95 kB / 0.6184 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006978/0.4868, allocations: 0.5158 MB / 0.6189 GB, free: 344 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.487, allocations: 94.55 kB / 0.619 GB, free: 240 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.172e-05/0.4871, allocations: 32.84 kB / 0.619 GB, free: 204 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.4871, allocations: 8 kB / 0.619 GB, free: 196 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.4871, allocations: 30.56 kB / 0.6191 GB, free: 156 kB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.4871, allocations: 0 / 0.6191 GB, free: 156 kB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009252/0.4881, allocations: 414.4 kB / 0.6195 GB, free: 15.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.4881, allocations: 59.39 kB / 0.6195 GB, free: 15.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006804/0.4888, allocations: 0.5721 MB / 0.6201 GB, free: 15.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.4889, allocations: 29.7 kB / 0.6201 GB, free: 15.05 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.489, allocations: 216.3 kB / 0.6203 GB, free: 14.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.509e-05/0.4891, allocations: 51.2 kB / 0.6204 GB, free: 14.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.4891, allocations: 4 kB / 0.6204 GB, free: 14.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4892, allocations: 358.8 kB / 0.6207 GB, free: 14.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.4894, allocations: 51.88 kB / 0.6208 GB, free: 14.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.4895, allocations: 59.97 kB / 0.6208 GB, free: 14.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.4897, allocations: 127.3 kB / 0.6209 GB, free: 14.19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4897, allocations: 0 / 0.6209 GB, free: 14.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003437/0.4901, allocations: 209 kB / 0.6211 GB, free: 13.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.4901, allocations: 11.69 kB / 0.6212 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4901, allocations: 3.984 kB / 0.6212 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.4901, allocations: 0 / 0.6212 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.4903, allocations: 31.98 kB / 0.6212 GB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4903, allocations: 4 kB / 0.6212 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.836e-05/0.4904, allocations: 19.84 kB / 0.6212 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.4904, allocations: 7.984 kB / 0.6212 GB, free: 13.91 MB / 442.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 (17): * Single equations (assignments): 17 * 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.0001804/0.4906, allocations: 177.8 kB / 0.6214 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.117e-05/0.4907, allocations: 43.47 kB / 0.6214 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004536/0.4911, allocations: 245.7 kB / 0.6217 GB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.299e-06/0.4912, allocations: 8 kB / 0.6217 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.4912, allocations: 4 kB / 0.6217 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4912, allocations: 0 / 0.6217 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009043/0.4921, allocations: 0.6972 MB / 0.6224 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.4921, allocations: 0 / 0.6224 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.4922, allocations: 39.91 kB / 0.6224 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4922, allocations: 0 / 0.6224 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.4922, allocations: 8 kB / 0.6224 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4922, allocations: 0 / 0.6224 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4923, allocations: 0 / 0.6224 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.4926, allocations: 310.8 kB / 0.6227 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.4928, allocations: 144.6 kB / 0.6228 GB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.4928, allocations: 8 kB / 0.6228 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.4929, allocations: 8 kB / 0.6229 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.493, allocations: 19.91 kB / 0.6229 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.493, allocations: 11.94 kB / 0.6229 GB, free: 12.08 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004746/0.4935, allocations: 428 kB / 0.6233 GB, free: 11.67 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4935, allocations: 0 / 0.6233 GB, free: 11.67 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003393/0.4939, allocations: 75.83 kB / 0.6234 GB, free: 11.59 MB / 442.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 (17): * Single equations (assignments): 17 * 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.001508/0.4954, allocations: 0.7025 MB / 0.624 GB, free: 11.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003188/0.4957, allocations: 135.9 kB / 0.6242 GB, free: 11.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4957, allocations: 4 kB / 0.6242 GB, free: 11.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.4959, allocations: 79.89 kB / 0.6243 GB, free: 10.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004964/0.4964, allocations: 78.89 kB / 0.6243 GB, free: 10.89 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.4975, allocations: 0.8182 MB / 0.6251 GB, free: 10.04 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.498, allocations: 0.8145 MB / 0.6259 GB, free: 9.195 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.4981, allocations: 39.42 kB / 0.626 GB, free: 9.156 MB / 442.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4981, allocations: 0 / 0.626 GB, free: 9.156 MB / 442.7 MB Notification: Performance of Templates: time 0.007081/0.5052, allocations: 4.905 MB / 0.6308 GB, free: 4.25 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches