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_overall.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_overall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",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.001529/0.001529, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001586/0.001586, allocations: 194 kB / 18.12 MB, free: 5.363 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.351/1.351, allocations: 222.9 MB / 241.8 MB, free: 15.53 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.1696/0.1696, allocations: 44.17 MB / 336.1 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 65.36 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08493/0.08681, allocations: 60.83 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall): time 0.002589/0.08943, allocations: 1.859 MB / 470.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.09117, allocations: 1.464 MB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.504e-05/0.09124, allocations: 4 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.09144, allocations: 31.83 kB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.09166, allocations: 71.64 kB / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004815/0.09215, allocations: 195.3 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002615/0.09242, allocations: 291.1 kB / 472.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.09247, allocations: 21.55 kB / 472.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.09261, allocations: 79.69 kB / 472.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.09275, allocations: 111.5 kB / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.09279, allocations: 8 kB / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003515/0.09314, allocations: 211.6 kB / 473 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.836e-05/0.09322, allocations: 55.8 kB / 473 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.51e-05/0.0933, allocations: 79.47 kB / 473.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.09367, allocations: 307.2 kB / 473.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.09369, allocations: 0 / 473.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.09369, allocations: 0 / 473.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.0937, allocations: 0 / 473.4 MB, free: 9.945 MB / 350.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.0008748/0.09458, allocations: 0.5339 MB / 473.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.09462, allocations: 16.02 kB / 474 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.498e-05/0.09467, allocations: 46.75 kB / 474 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.09472, allocations: 20.75 kB / 474 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.09492, allocations: 228.4 kB / 474.3 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.09494, allocations: 4.609 kB / 474.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.09497, allocations: 16.36 kB / 474.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/0.09543, allocations: 270.7 kB / 474.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.09545, allocations: 0 / 474.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.09547, allocations: 4 kB / 474.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.0955, allocations: 16.22 kB / 474.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000511/0.09602, allocations: 220.4 kB / 474.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009123/0.09694, allocations: 0.8101 MB / 475.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.0973, allocations: 195.6 kB / 475.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.09755, allocations: 102.4 kB / 475.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.09759, allocations: 7.984 kB / 475.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.09761, allocations: 34.56 kB / 475.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.884e-06/0.09762, allocations: 0 / 475.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008454/0.09847, allocations: 321.4 kB / 476.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.09852, allocations: 102.8 kB / 476.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.09874, allocations: 261 kB / 476.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.09876, allocations: 25.7 kB / 476.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.052e-05/0.09884, allocations: 135.8 kB / 476.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.09887, allocations: 43.48 kB / 476.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.87e-05/0.09895, allocations: 33.7 kB / 476.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.799e-05/0.09904, allocations: 339.2 kB / 477.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.09928, allocations: 91.83 kB / 477.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/0.09954, allocations: 129 kB / 477.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.1, allocations: 240.8 kB / 477.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1, allocations: 0 / 477.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005794/0.1006, allocations: 269.1 kB / 477.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1006, allocations: 8.156 kB / 477.9 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/0.1007, allocations: 11.98 kB / 477.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.1007, allocations: 4 kB / 477.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.1009, allocations: 31.97 kB / 477.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.1009, allocations: 7.938 kB / 477.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.1011, allocations: 39.72 kB / 478 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.1011, allocations: 7.938 kB / 478 MB, free: 5.051 MB / 350.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.00011/0.1013, allocations: 146.3 kB / 478.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.296e-05/0.1013, allocations: 15.81 kB / 478.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004227/0.1018, allocations: 223.2 kB / 478.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.1018, allocations: 4 kB / 478.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1018, allocations: 0 / 478.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1018, allocations: 0 / 478.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003422/0.1021, allocations: 261.4 kB / 478.6 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/0.1022, allocations: 8 kB / 478.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.1023, allocations: 35.95 kB / 478.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1023, allocations: 0 / 478.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.1024, allocations: 8 kB / 478.7 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1024, allocations: 8.062 kB / 478.7 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1024, allocations: 4 kB / 478.7 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005714/0.103, allocations: 485.6 kB / 479.1 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/0.103, allocations: 100.8 kB / 479.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.1031, allocations: 8 kB / 479.2 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.1033, allocations: 11.98 kB / 479.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.1034, allocations: 23.91 kB / 479.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.1034, allocations: 11.98 kB / 479.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.1036, allocations: 196.4 kB / 479.5 MB, free: 3.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1036, allocations: 0 / 479.5 MB, free: 3.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004045/0.104, allocations: 87.94 kB / 479.6 MB, free: 3.352 MB / 350.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.0009577/0.1049, allocations: 1.113 MB / 480.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005646/0.1055, allocations: 289.1 kB / 481 MB, free: 1.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1055, allocations: 0 / 481 MB, free: 1.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.1058, allocations: 177.1 kB / 481.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/0.1063, allocations: 48.66 kB / 481.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.1096, allocations: 2.877 MB / 484.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.1099, allocations: 0.7439 MB / 484.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.11, allocations: 37.53 kB / 484.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.473e-05/0.1101, allocations: 55.41 kB / 484.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1101, allocations: 0 / 484.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.736/2.846, allocations: 6.244 MB / 491.1 MB, free: 7.746 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.04359/2.89, allocations: 247.1 kB / 491.4 MB, free: 7.484 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/5.25, allocations: 4 kB / 491.4 MB, free: 7.48 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_overall/kc_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.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_1.y,input_v_2.y,input_v_0.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.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]