Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.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_turbulent,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_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,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_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009621/0.0009621, allocations: 192.6 kB / 16.78 MB, free: 4.793 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.264/1.264, allocations: 226.5 MB / 244.1 MB, free: 6.391 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007793/0.0007793, allocations: 92.67 kB / 296.1 MB, free: 6.648 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3219/0.3219, allocations: 44.83 MB / 393 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002603/0.0002606, allocations: 8 kB / 465.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2903, allocations: 62.96 MB / 0.5165 GB, free: 37.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1022/0.3926, allocations: 92.88 MB / 0.6072 GB, free: 12.47 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.3929, allocations: 103.9 kB / 0.6073 GB, free: 12.37 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02141/0.4143, allocations: 7.871 MB / 0.615 GB, free: 4.445 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4143, allocations: 7.938 kB / 0.615 GB, free: 4.438 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.4144, allocations: 4 kB / 0.615 GB, free: 4.434 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.0007933/0.4152, allocations: 0.495 MB / 0.6155 GB, free: 3.883 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.4152, allocations: 12.03 kB / 0.6155 GB, free: 3.871 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000348/0.4156, allocations: 64.61 kB / 0.6155 GB, free: 3.809 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.4158, allocations: 225.7 kB / 0.6158 GB, free: 3.551 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.4159, allocations: 8.609 kB / 0.6158 GB, free: 3.543 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.4159, allocations: 8.375 kB / 0.6158 GB, free: 3.535 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005568/0.4165, allocations: 288 kB / 0.6161 GB, free: 3.234 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.4165, allocations: 8.062 kB / 0.6161 GB, free: 3.227 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.4165, allocations: 7.938 kB / 0.6161 GB, free: 3.219 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.158e-05/0.4166, allocations: 16.23 kB / 0.6161 GB, free: 3.203 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005729/0.4171, allocations: 248.4 kB / 0.6163 GB, free: 2.961 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.4182, allocations: 0.8062 MB / 0.6171 GB, free: 2.094 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004036/0.4187, allocations: 211.6 kB / 0.6173 GB, free: 1.859 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.4189, allocations: 122.5 kB / 0.6174 GB, free: 1.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.419, allocations: 4 kB / 0.6174 GB, free: 1.727 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.419, allocations: 34.56 kB / 0.6175 GB, free: 1.684 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.713e-06/0.419, allocations: 4 kB / 0.6175 GB, free: 1.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.000893/0.4199, allocations: 349.3 kB / 0.6178 GB, free: 1.332 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.4199, allocations: 102.8 kB / 0.6179 GB, free: 1.207 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.4202, allocations: 261 kB / 0.6181 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.4202, allocations: 29.7 kB / 0.6182 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.889e-05/0.4203, allocations: 135.9 kB / 0.6183 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.4204, allocations: 35.45 kB / 0.6183 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/0.4204, allocations: 0 / 0.6183 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.25e-05/0.4205, allocations: 334.8 kB / 0.6187 GB, free: 404 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.4207, allocations: 107.9 kB / 0.6188 GB, free: 296 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.421, allocations: 149 kB / 0.6189 GB, free: 128 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005173/0.4215, allocations: 253.3 kB / 0.6191 GB, free: 15.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4215, allocations: 0 / 0.6191 GB, free: 15.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006296/0.4222, allocations: 305 kB / 0.6194 GB, free: 15.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.4222, allocations: 8 kB / 0.6194 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.4222, allocations: 8 kB / 0.6195 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4222, allocations: 4 kB / 0.6195 GB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.4225, allocations: 48.11 kB / 0.6195 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.4225, allocations: 0 / 0.6195 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.4227, allocations: 51.75 kB / 0.6195 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.4228, allocations: 4 kB / 0.6196 GB, free: 15.43 MB / 442.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.0001184/0.4229, allocations: 151.4 kB / 0.6197 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.186e-05/0.423, allocations: 15.81 kB / 0.6197 GB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004682/0.4234, allocations: 231.2 kB / 0.6199 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.4235, allocations: 4 kB / 0.6199 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4235, allocations: 4 kB / 0.6199 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.4235, allocations: 0 / 0.6199 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003597/0.4238, allocations: 265.3 kB / 0.6202 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/0.4239, allocations: 8 kB / 0.6202 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.4241, allocations: 35.97 kB / 0.6202 GB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4241, allocations: 0 / 0.6202 GB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.4241, allocations: 7.984 kB / 0.6202 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.964e-06/0.4241, allocations: 3.938 kB / 0.6202 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4241, allocations: 7.938 kB / 0.6203 GB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006258/0.4248, allocations: 0.4926 MB / 0.6207 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.072e-05/0.4248, allocations: 104.8 kB / 0.6208 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.4249, allocations: 0 / 0.6208 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.4251, allocations: 31.97 kB / 0.6209 GB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.4252, allocations: 11.98 kB / 0.6209 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.4252, allocations: 8 kB / 0.6209 GB, free: 13.97 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001647/0.4254, allocations: 192.4 kB / 0.6211 GB, free: 13.78 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4254, allocations: 0 / 0.6211 GB, free: 13.78 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004283/0.4258, allocations: 79.86 kB / 0.6211 GB, free: 13.7 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.0002432/0.4261, allocations: 179 kB / 0.6213 GB, free: 13.52 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006489/0.4267, allocations: 308.9 kB / 0.6216 GB, free: 13.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4268, allocations: 0 / 0.6216 GB, free: 13.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003053/0.4271, allocations: 197.2 kB / 0.6218 GB, free: 12.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.4276, allocations: 32.55 kB / 0.6218 GB, free: 12.96 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008468/0.4284, allocations: 0.5264 MB / 0.6223 GB, free: 12.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.4287, allocations: 0.7439 MB / 0.6231 GB, free: 11.62 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.859e-05/0.4288, allocations: 19.42 kB / 0.6231 GB, free: 11.61 MB / 442.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4288, allocations: 0 / 0.6231 GB, free: 11.61 MB / 442.7 MB Notification: Performance of Templates: time 0.005014/0.4338, allocations: 3.597 MB / 0.6266 GB, free: 8.035 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent/kc_turbulent.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches