Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001306/0.001306, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001383/0.001383, allocations: 197.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2181/0.2181, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003263/0.003263, allocations: 75.88 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3843, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.003156/0.3875, allocations: 1.826 MB / 0.5324 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.3893, allocations: 1.033 MB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.024e-05/0.3894, allocations: 9.312 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.3896, allocations: 43.98 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.3899, allocations: 62.78 kB / 0.5335 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000404/0.3903, allocations: 134.1 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.3906, allocations: 211.4 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.558e-05/0.3907, allocations: 19.16 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.3909, allocations: 92.88 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.3911, allocations: 94.09 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.3911, allocations: 8.25 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000279/0.3914, allocations: 137.5 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.329e-05/0.3915, allocations: 58.27 kB / 0.5343 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.3916, allocations: 78.06 kB / 0.5343 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.392, allocations: 264.6 kB / 0.5346 GB, free: 10.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.392, allocations: 0.75 kB / 0.5346 GB, free: 10.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.392, allocations: 0 / 0.5346 GB, free: 10.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.392, allocations: 5.188 kB / 0.5346 GB, free: 10.38 MB / 398.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.001052/0.3931, allocations: 0.5292 MB / 0.5351 GB, free: 9.887 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3931, allocations: 9.031 kB / 0.5351 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.826e-05/0.3932, allocations: 52.5 kB / 0.5352 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003876/0.3936, allocations: 53.91 kB / 0.5352 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.3939, allocations: 232.6 kB / 0.5354 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.3939, allocations: 9.703 kB / 0.5354 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.394, allocations: 11.22 kB / 0.5355 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/0.3945, allocations: 274.8 kB / 0.5357 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3945, allocations: 3.938 kB / 0.5357 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.3946, allocations: 5.375 kB / 0.5357 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.936e-05/0.3946, allocations: 13.84 kB / 0.5357 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005648/0.3952, allocations: 226.3 kB / 0.536 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.3963, allocations: 0.8053 MB / 0.5367 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.3967, allocations: 186.6 kB / 0.5369 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.397, allocations: 112.2 kB / 0.537 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.397, allocations: 2.125 kB / 0.537 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.3971, allocations: 36.58 kB / 0.5371 GB, free: 8.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.3971, allocations: 0 / 0.5371 GB, free: 8.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009805/0.3981, allocations: 321.5 kB / 0.5374 GB, free: 8.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/0.3981, allocations: 104.1 kB / 0.5375 GB, free: 8.039 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.3984, allocations: 264.9 kB / 0.5377 GB, free: 7.859 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.3985, allocations: 25.7 kB / 0.5378 GB, free: 7.828 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.3986, allocations: 141.9 kB / 0.5379 GB, free: 7.695 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.3986, allocations: 40.8 kB / 0.5379 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/0.3987, allocations: 39.45 kB / 0.538 GB, free: 7.629 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3989, allocations: 333.3 kB / 0.5383 GB, free: 7.301 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.3992, allocations: 98.39 kB / 0.5384 GB, free: 7.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/0.3995, allocations: 133 kB / 0.5385 GB, free: 7.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005504/0.4, allocations: 230 kB / 0.5387 GB, free: 7.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4, allocations: 0 / 0.5387 GB, free: 7.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000685/0.4007, allocations: 276.5 kB / 0.539 GB, free: 6.898 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.4008, allocations: 8.062 kB / 0.539 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.071e-05/0.4008, allocations: 18.95 kB / 0.539 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.4008, allocations: 2.156 kB / 0.539 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.401, allocations: 33.31 kB / 0.539 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4011, allocations: 2.344 kB / 0.539 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.4013, allocations: 38.44 kB / 0.5391 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.4013, allocations: 17.97 kB / 0.5391 GB, free: 6.844 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.0001525/0.4015, allocations: 142.2 kB / 0.5392 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.344e-05/0.4016, allocations: 20.36 kB / 0.5393 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005091/0.4021, allocations: 217.9 kB / 0.5395 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.4021, allocations: 3.156 kB / 0.5395 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4021, allocations: 1.156 kB / 0.5395 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4021, allocations: 4 kB / 0.5395 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000434/0.4026, allocations: 260.1 kB / 0.5397 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/0.4026, allocations: 9.438 kB / 0.5397 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.4028, allocations: 31.89 kB / 0.5398 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4028, allocations: 1.594 kB / 0.5398 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.4028, allocations: 2.938 kB / 0.5398 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.4028, allocations: 5.031 kB / 0.5398 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4028, allocations: 1.5 kB / 0.5398 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007121/0.4035, allocations: 489.5 kB / 0.5402 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.4037, allocations: 100.7 kB / 0.5403 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.4037, allocations: 1.156 kB / 0.5403 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.404, allocations: 21.92 kB / 0.5404 GB, free: 5.797 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/0.404, allocations: 17.77 kB / 0.5404 GB, free: 5.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.4041, allocations: 8.453 kB / 0.5404 GB, free: 5.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001853/0.4042, allocations: 194.4 kB / 0.5406 GB, free: 5.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4043, allocations: 3.938 kB / 0.5406 GB, free: 5.652 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004299/0.4047, allocations: 74.11 kB / 0.5406 GB, free: 5.633 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.001235/0.4059, allocations: 1.057 MB / 0.5417 GB, free: 4.707 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006948/0.4066, allocations: 289.8 kB / 0.5419 GB, free: 4.527 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.4067, allocations: 5.188 kB / 0.542 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003501/0.407, allocations: 181.6 kB / 0.5421 GB, free: 4.387 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005396/0.4076, allocations: 50.8 kB / 0.5422 GB, free: 4.359 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004284/0.4119, allocations: 2.823 MB / 0.5449 GB, free: 2.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.4123, allocations: 0.7396 MB / 0.5457 GB, free: 1.527 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000156/0.4125, allocations: 43.25 kB / 0.5457 GB, free: 1.512 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.4126, allocations: 60.25 kB / 0.5458 GB, free: 1.465 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4126, allocations: 384 / 0.5458 GB, free: 1.465 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.4395, allocations: 5.95 MB / 0.5516 GB, free: 11.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.195/8.635, allocations: 16.31 kB / 0.5516 GB, free: 11.77 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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 Variables in the result:IN_con[1].L,IN_con[2].L,IN_con[3].L,IN_var[1].cp,IN_var[1].eta,IN_var[1].lambda,IN_var[1].rho,IN_var[1].velocity,IN_var[2].cp,IN_var[2].eta,IN_var[2].lambda,IN_var[2].rho,IN_var[2].velocity,IN_var[3].cp,IN_var[3].eta,IN_var[3].lambda,IN_var[3].rho,IN_var[3].velocity,L,Nu[1],Nu[2],Nu[3],Pr[1],Pr[2],Pr[3],Re[1],Re[2],Re[3],cp[1],cp[2],cp[3],eta[1],eta[2],eta[3],input_v_0.duration,input_v_0.height,input_v_0.offset,input_v_0.startTime,input_v_0.y,input_v_1.amplitude,input_v_1.continuous,input_v_1.f,input_v_1.offset,input_v_1.phase,input_v_1.startTime,input_v_1.y,input_v_2.fallTimeConst,input_v_2.offset,input_v_2.outMax,input_v_2.riseTime,input_v_2.riseTimeConst,input_v_2.startTime,input_v_2.y,lambda[1],lambda[2],lambda[3],n,rho[1],rho[2],rho[3],time,velocity[1],velocity[2],velocity[3]