Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 114.4 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 187.8 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2029/0.2029, allocations: 44.17 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3714, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.002672/0.3741, allocations: 1.804 MB / 0.5202 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.3754, allocations: 0.9602 MB / 0.5211 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.441e-05/0.3755, allocations: 2.281 kB / 0.5211 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.3757, allocations: 33.59 kB / 0.5212 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002536/0.376, allocations: 81.62 kB / 0.5213 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.3764, allocations: 118.5 kB / 0.5214 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.3767, allocations: 218.9 kB / 0.5216 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.645e-05/0.3768, allocations: 16.34 kB / 0.5216 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.377, allocations: 81.95 kB / 0.5217 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.3772, allocations: 96.11 kB / 0.5218 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.3772, allocations: 12.67 kB / 0.5218 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/0.3775, allocations: 124.2 kB / 0.5219 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.3776, allocations: 62.84 kB / 0.522 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.513e-05/0.3777, allocations: 76.39 kB / 0.522 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004087/0.3781, allocations: 246.3 kB / 0.5223 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3781, allocations: 1.844 kB / 0.5223 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3781, allocations: 0 / 0.5223 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3781, allocations: 0 / 0.5223 GB, free: 0.8984 MB / 382.1 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.001053/0.3792, allocations: 0.5287 MB / 0.5228 GB, free: 456 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.3793, allocations: 9.375 kB / 0.5228 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.486e-05/0.3793, allocations: 59.58 kB / 0.5228 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.3794, allocations: 17.62 kB / 0.5229 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.3796, allocations: 221.7 kB / 0.5231 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.3796, allocations: 16.84 kB / 0.5231 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.3797, allocations: 11.53 kB / 0.5231 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005696/0.3803, allocations: 267 kB / 0.5234 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3803, allocations: 0 / 0.5234 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.3803, allocations: 15.2 kB / 0.5234 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.084e-05/0.3803, allocations: 11.84 kB / 0.5234 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006063/0.381, allocations: 222.3 kB / 0.5236 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.3821, allocations: 0.8069 MB / 0.5244 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004594/0.3826, allocations: 189.4 kB / 0.5246 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002884/0.3829, allocations: 101 kB / 0.5247 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.925e-05/0.3829, allocations: 2.734 kB / 0.5247 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.383, allocations: 45.58 kB / 0.5247 GB, free: 15.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.953e-06/0.383, allocations: 0 / 0.5247 GB, free: 15.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001062/0.384, allocations: 314.2 kB / 0.525 GB, free: 15.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.3841, allocations: 109.5 kB / 0.5251 GB, free: 14.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.3844, allocations: 258.5 kB / 0.5254 GB, free: 14.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.3844, allocations: 31.17 kB / 0.5254 GB, free: 14.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.657e-05/0.3845, allocations: 130.9 kB / 0.5255 GB, free: 14.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.3846, allocations: 36.27 kB / 0.5255 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.196e-05/0.3847, allocations: 35.64 kB / 0.5256 GB, free: 14.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3848, allocations: 335.6 kB / 0.5259 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002739/0.3851, allocations: 97.25 kB / 0.526 GB, free: 14.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.3854, allocations: 130 kB / 0.5261 GB, free: 14.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005535/0.3859, allocations: 227.4 kB / 0.5263 GB, free: 14.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.386, allocations: 5.375 kB / 0.5263 GB, free: 14.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006646/0.3866, allocations: 274.7 kB / 0.5266 GB, free: 14.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3866, allocations: 9.688 kB / 0.5266 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.618e-05/0.3867, allocations: 14.81 kB / 0.5266 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.3867, allocations: 1.531 kB / 0.5266 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.387, allocations: 46.02 kB / 0.5267 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.387, allocations: 1.375 kB / 0.5267 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.3872, allocations: 38.84 kB / 0.5267 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.417e-05/0.3872, allocations: 9.438 kB / 0.5267 GB, free: 13.96 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001856/0.3874, allocations: 142.2 kB / 0.5268 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.937e-05/0.3875, allocations: 16.06 kB / 0.5269 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004839/0.388, allocations: 225.9 kB / 0.5271 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.388, allocations: 2.812 kB / 0.5271 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.388, allocations: 1.562 kB / 0.5271 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.388, allocations: 0 / 0.5271 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003994/0.3884, allocations: 263 kB / 0.5273 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-05/0.3885, allocations: 10.12 kB / 0.5273 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.3886, allocations: 27.31 kB / 0.5274 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.3887, allocations: 6.547 kB / 0.5274 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.3887, allocations: 6.594 kB / 0.5274 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3887, allocations: 5.25 kB / 0.5274 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3887, allocations: 1.312 kB / 0.5274 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006758/0.3894, allocations: 492 kB / 0.5279 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.522e-05/0.3895, allocations: 93.05 kB / 0.5279 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.3895, allocations: 1.844 kB / 0.5279 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.3898, allocations: 22.28 kB / 0.528 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.064e-05/0.3898, allocations: 17.89 kB / 0.528 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.3899, allocations: 7.984 kB / 0.528 GB, free: 12.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001791/0.3901, allocations: 189.9 kB / 0.5282 GB, free: 12.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3901, allocations: 4 kB / 0.5282 GB, free: 12.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004778/0.3905, allocations: 74.8 kB / 0.5282 GB, free: 12.75 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001142/0.3917, allocations: 1.054 MB / 0.5293 GB, free: 11.83 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006738/0.3924, allocations: 293.5 kB / 0.5296 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3924, allocations: 0 / 0.5296 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.3927, allocations: 182.5 kB / 0.5297 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.3932, allocations: 42.06 kB / 0.5298 GB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/0.3972, allocations: 2.827 MB / 0.5325 GB, free: 9.371 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.3976, allocations: 0.7395 MB / 0.5333 GB, free: 8.648 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.3977, allocations: 43.2 kB / 0.5333 GB, free: 8.633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.3979, allocations: 55.88 kB / 0.5333 GB, free: 8.59 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3979, allocations: 0 / 0.5333 GB, free: 8.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.4219, allocations: 6.015 MB / 0.5392 GB, free: 5.582 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.679/8.101, allocations: 2.531 kB / 0.5392 GB, free: 5.582 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches