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.00104/0.00104, allocations: 196.2 kB / 16.09 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 226.5 MB / 243.4 MB, free: 6.438 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008096/0.0008094, allocations: 98.91 kB / 295.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2886/0.2886, allocations: 44.82 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002964/0.0002967, allocations: 8 kB / 465.3 MB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2979, allocations: 62.96 MB / 0.5159 GB, free: 37.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.001954/0.2999, allocations: 1.505 MB / 0.5174 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.301, allocations: 0.9087 MB / 0.5183 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.743e-05/0.3011, allocations: 2.781 kB / 0.5183 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.3013, allocations: 30.84 kB / 0.5183 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.3015, allocations: 69.78 kB / 0.5184 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.3018, allocations: 112.1 kB / 0.5185 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.302, allocations: 240.3 kB / 0.5187 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.106e-05/0.3021, allocations: 24.06 kB / 0.5187 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.3023, allocations: 86.45 kB / 0.5188 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.3024, allocations: 103.5 kB / 0.5189 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.3025, allocations: 8.594 kB / 0.5189 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002045/0.3027, allocations: 120.1 kB / 0.519 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.468e-05/0.3027, allocations: 52.75 kB / 0.5191 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.134e-05/0.3028, allocations: 94.22 kB / 0.5192 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.303, allocations: 177.4 kB / 0.5193 GB, free: 35.13 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.303, allocations: 0 / 0.5193 GB, free: 35.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.303, allocations: 2.719 kB / 0.5193 GB, free: 35.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.3031, allocations: 0 / 0.5193 GB, free: 35.13 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007784/0.3038, allocations: 0.5087 MB / 0.5198 GB, free: 34.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.3039, allocations: 10.53 kB / 0.5198 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003207/0.3042, allocations: 63.41 kB / 0.5199 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.3044, allocations: 223.9 kB / 0.5201 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.3044, allocations: 7.609 kB / 0.5201 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.3044, allocations: 16.89 kB / 0.5201 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004353/0.3049, allocations: 281.1 kB / 0.5204 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.3049, allocations: 3.938 kB / 0.5204 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.3049, allocations: 6.812 kB / 0.5204 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/0.305, allocations: 12.45 kB / 0.5204 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004791/0.3054, allocations: 250.3 kB / 0.5207 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008232/0.3063, allocations: 0.8193 MB / 0.5215 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.3066, allocations: 201.9 kB / 0.5217 GB, free: 33.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.3068, allocations: 111.7 kB / 0.5218 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/0.3069, allocations: 6.5 kB / 0.5218 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.3069, allocations: 49.12 kB / 0.5218 GB, free: 33.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.853e-06/0.3069, allocations: 0 / 0.5218 GB, free: 33.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008059/0.3077, allocations: 352.3 kB / 0.5221 GB, free: 33.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.3078, allocations: 109.8 kB / 0.5223 GB, free: 33.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.308, allocations: 254.6 kB / 0.5225 GB, free: 33.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.308, allocations: 33.64 kB / 0.5225 GB, free: 33.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.3081, allocations: 130.4 kB / 0.5227 GB, free: 32.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.3081, allocations: 40.66 kB / 0.5227 GB, free: 32.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.326e-05/0.3081, allocations: 0 / 0.5227 GB, free: 32.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.708e-05/0.3082, allocations: 339 kB / 0.523 GB, free: 32.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.3084, allocations: 103.8 kB / 0.5231 GB, free: 32.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.3087, allocations: 142.2 kB / 0.5232 GB, free: 32.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/0.3091, allocations: 261 kB / 0.5235 GB, free: 32.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3091, allocations: 2.906 kB / 0.5235 GB, free: 32.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005488/0.3097, allocations: 302.3 kB / 0.5238 GB, free: 32.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3097, allocations: 5.844 kB / 0.5238 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/0.3097, allocations: 8.891 kB / 0.5238 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3097, allocations: 2.969 kB / 0.5238 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.31, allocations: 51.23 kB / 0.5239 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.31, allocations: 0 / 0.5239 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.3102, allocations: 40.52 kB / 0.5239 GB, free: 32.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.3102, allocations: 8.219 kB / 0.5239 GB, free: 32.33 MB / 378.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 9.116e-05/0.3103, allocations: 140.7 kB / 0.524 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.953e-05/0.3104, allocations: 19.5 kB / 0.5241 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004287/0.3108, allocations: 238.6 kB / 0.5243 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.3108, allocations: 2.812 kB / 0.5243 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3108, allocations: 0 / 0.5243 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.3108, allocations: 2.812 kB / 0.5243 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.3112, allocations: 263.3 kB / 0.5245 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/0.3112, allocations: 8.766 kB / 0.5245 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.3114, allocations: 44.69 kB / 0.5246 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3114, allocations: 3.984 kB / 0.5246 GB, free: 31.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.3114, allocations: 6.906 kB / 0.5246 GB, free: 31.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3114, allocations: 2.5 kB / 0.5246 GB, free: 31.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3114, allocations: 0 / 0.5246 GB, free: 31.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005369/0.3119, allocations: 0.492 MB / 0.5251 GB, free: 31.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.312, allocations: 106.6 kB / 0.5252 GB, free: 31.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.312, allocations: 7.875 kB / 0.5252 GB, free: 31.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.3123, allocations: 23.23 kB / 0.5252 GB, free: 31.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.3123, allocations: 17.16 kB / 0.5252 GB, free: 31.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.3124, allocations: 9.953 kB / 0.5252 GB, free: 31.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001303/0.3125, allocations: 195.7 kB / 0.5254 GB, free: 31.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3125, allocations: 0 / 0.5254 GB, free: 31.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003693/0.3129, allocations: 72.75 kB / 0.5255 GB, free: 31.29 MB / 378.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.0001976/0.3131, allocations: 147 kB / 0.5256 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000559/0.3137, allocations: 308.7 kB / 0.5259 GB, free: 31.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3137, allocations: 0 / 0.5259 GB, free: 31.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000265/0.3139, allocations: 197.8 kB / 0.5261 GB, free: 30.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/0.3144, allocations: 32.47 kB / 0.5261 GB, free: 30.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007614/0.3152, allocations: 0.5303 MB / 0.5267 GB, free: 30.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.3154, allocations: 0.7449 MB / 0.5274 GB, free: 29.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.047e-05/0.3154, allocations: 19.09 kB / 0.5274 GB, free: 29.93 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3154, allocations: 0 / 0.5274 GB, free: 29.93 MB / 378.7 MB Notification: Performance of Templates: time 0.004249/0.3197, allocations: 3.513 MB / 0.5308 GB, free: 29.65 MB / 378.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/jenkins/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