Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.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.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 193.5 kB / 16.78 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 226.5 MB / 244.1 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007812/0.0007815, allocations: 102.1 kB / 296.1 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2863/0.2863, allocations: 44.81 MB / 392.9 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002856/0.0002856, allocations: 8 kB / 465.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2729, allocations: 62.95 MB / 0.5165 GB, free: 37.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1039/0.3768, allocations: 92.76 MB / 0.6071 GB, free: 12.62 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.3771, allocations: 99.92 kB / 0.6072 GB, free: 12.53 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01778/0.3949, allocations: 6.542 MB / 0.6136 GB, free: 5.938 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3949, allocations: 0 / 0.6136 GB, free: 5.938 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.3949, allocations: 0 / 0.6136 GB, free: 5.938 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007544/0.3957, allocations: 0.4989 MB / 0.614 GB, free: 5.383 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.3957, allocations: 8.031 kB / 0.6141 GB, free: 5.375 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000335/0.3961, allocations: 68.61 kB / 0.6141 GB, free: 5.309 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.3963, allocations: 217.7 kB / 0.6143 GB, free: 5.059 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.3963, allocations: 12.61 kB / 0.6143 GB, free: 5.047 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.3964, allocations: 8.375 kB / 0.6143 GB, free: 5.039 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000515/0.3969, allocations: 291.9 kB / 0.6146 GB, free: 4.734 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.3969, allocations: 192 / 0.6146 GB, free: 4.734 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.3969, allocations: 7.938 kB / 0.6146 GB, free: 4.727 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/0.397, allocations: 16.23 kB / 0.6147 GB, free: 4.711 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000564/0.3975, allocations: 252.4 kB / 0.6149 GB, free: 4.465 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.3986, allocations: 0.814 MB / 0.6157 GB, free: 3.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.399, allocations: 207.6 kB / 0.6159 GB, free: 3.359 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.3993, allocations: 114.5 kB / 0.616 GB, free: 3.238 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.833e-05/0.3993, allocations: 3.984 kB / 0.616 GB, free: 3.234 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.3993, allocations: 42.69 kB / 0.616 GB, free: 3.184 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.3993, allocations: 0 / 0.616 GB, free: 3.184 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009163/0.4003, allocations: 349.4 kB / 0.6164 GB, free: 2.836 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.4003, allocations: 106.8 kB / 0.6165 GB, free: 2.707 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.4006, allocations: 261 kB / 0.6167 GB, free: 2.438 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.4006, allocations: 29.7 kB / 0.6168 GB, free: 2.402 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.462e-05/0.4007, allocations: 132.3 kB / 0.6169 GB, free: 2.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.4007, allocations: 35.45 kB / 0.6169 GB, free: 2.234 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/0.4008, allocations: 8 kB / 0.6169 GB, free: 2.227 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.4009, allocations: 330.8 kB / 0.6172 GB, free: 1.895 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.4011, allocations: 107.8 kB / 0.6173 GB, free: 1.789 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.4014, allocations: 145 kB / 0.6175 GB, free: 1.629 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005176/0.4019, allocations: 256.8 kB / 0.6177 GB, free: 1.359 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.402, allocations: 4 kB / 0.6177 GB, free: 1.355 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006378/0.4026, allocations: 301.1 kB / 0.618 GB, free: 1.055 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.4026, allocations: 6.969 kB / 0.618 GB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.019e-05/0.4027, allocations: 8 kB / 0.618 GB, free: 1.043 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.4027, allocations: 0 / 0.618 GB, free: 1.043 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.4029, allocations: 52.02 kB / 0.6181 GB, free: 0.9922 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.4029, allocations: 4 kB / 0.6181 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.4032, allocations: 39.81 kB / 0.6181 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.4032, allocations: 4 kB / 0.6181 GB, free: 0.9453 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001303/0.4033, allocations: 145.8 kB / 0.6183 GB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.611e-05/0.4034, allocations: 19.81 kB / 0.6183 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004803/0.4039, allocations: 231.2 kB / 0.6185 GB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4039, allocations: 3.938 kB / 0.6185 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.4039, allocations: 0 / 0.6185 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4039, allocations: 4 kB / 0.6185 GB, free: 0.5312 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003594/0.4043, allocations: 265.3 kB / 0.6188 GB, free: 228 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.709e-05/0.4043, allocations: 12 kB / 0.6188 GB, free: 216 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.4045, allocations: 35.91 kB / 0.6188 GB, free: 180 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4045, allocations: 0 / 0.6188 GB, free: 180 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.4046, allocations: 11.98 kB / 0.6188 GB, free: 168 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.4046, allocations: 0 / 0.6188 GB, free: 168 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4046, allocations: 4 kB / 0.6188 GB, free: 164 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006607/0.4052, allocations: 0.4938 MB / 0.6193 GB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.375e-05/0.4053, allocations: 96.83 kB / 0.6194 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.4054, allocations: 8 kB / 0.6194 GB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.4056, allocations: 27.97 kB / 0.6194 GB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.097e-05/0.4057, allocations: 11.98 kB / 0.6194 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.4057, allocations: 7.938 kB / 0.6194 GB, free: 15.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001611/0.4059, allocations: 192.5 kB / 0.6196 GB, free: 15.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4059, allocations: 3.938 kB / 0.6196 GB, free: 15.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004156/0.4063, allocations: 79.86 kB / 0.6197 GB, free: 15.21 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002544/0.4066, allocations: 171.1 kB / 0.6199 GB, free: 15.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006096/0.4072, allocations: 309 kB / 0.6202 GB, free: 14.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4072, allocations: 0 / 0.6202 GB, free: 14.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.4075, allocations: 197.1 kB / 0.6204 GB, free: 14.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.408, allocations: 36.36 kB / 0.6204 GB, free: 14.47 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008505/0.4088, allocations: 0.5227 MB / 0.6209 GB, free: 13.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.4091, allocations: 0.7439 MB / 0.6216 GB, free: 13.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.331e-05/0.4092, allocations: 19.42 kB / 0.6216 GB, free: 13.12 MB / 442.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4092, allocations: 0 / 0.6216 GB, free: 13.12 MB / 442.7 MB Notification: Performance of Templates: time 0.005501/0.4147, allocations: 3.597 MB / 0.6252 GB, free: 9.551 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar/kc_laminar.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches