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_laminar_KC.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_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",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.001101/0.001101, allocations: 107.2 kB / 17.2 MB, free: 6.289 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.001018/0.001019, allocations: 194 kB / 18.12 MB, free: 5.383 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.331/1.331, allocations: 222.9 MB / 241.8 MB, free: 15.48 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.1652/0.1652, allocations: 44.18 MB / 336.1 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.001119, allocations: 65.2 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09115/0.09229, allocations: 60.83 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.002798/0.09511, allocations: 1.761 MB / 470.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.0962, allocations: 0.7167 MB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/0.09628, allocations: 4 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.09648, allocations: 23.89 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.09673, allocations: 63.72 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.09691, allocations: 47.83 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.09717, allocations: 243.3 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.094e-05/0.09722, allocations: 17.34 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.125e-05/0.09731, allocations: 51.83 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.09745, allocations: 87.59 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.09747, allocations: 4 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.09764, allocations: 67.89 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.063e-05/0.09771, allocations: 51.75 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.515e-05/0.0978, allocations: 71.59 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.09805, allocations: 167.7 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.09806, allocations: 0 / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.09807, allocations: 0 / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.09808, allocations: 0 / 472 MB, free: 11.34 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.0005842/0.09867, allocations: 462.8 kB / 472.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.09871, allocations: 8.031 kB / 472.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.752e-05/0.09877, allocations: 46.73 kB / 472.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005817/0.09935, allocations: 72.67 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.09958, allocations: 224 kB / 472.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.0996, allocations: 12.36 kB / 472.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.09963, allocations: 12.38 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004174/0.1001, allocations: 252 kB / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1001, allocations: 0 / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.1001, allocations: 7.984 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/0.1001, allocations: 23.92 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004669/0.1006, allocations: 248.2 kB / 473.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.1018, allocations: 0.664 MB / 474 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/0.1022, allocations: 214.4 kB / 474.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.1024, allocations: 84.81 kB / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.1024, allocations: 4 kB / 474.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.1024, allocations: 34.5 kB / 474.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.552e-06/0.1025, allocations: 4 kB / 474.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006746/0.1031, allocations: 284.2 kB / 474.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.1032, allocations: 59.41 kB / 474.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.1034, allocations: 226.2 kB / 474.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.1035, allocations: 25.7 kB / 474.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.955e-05/0.1035, allocations: 123.9 kB / 475 MB, free: 8.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.1036, allocations: 51.3 kB / 475.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.845e-05/0.1037, allocations: 37.69 kB / 475.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1038, allocations: 334.8 kB / 475.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.104, allocations: 75.91 kB / 475.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.1042, allocations: 115.3 kB / 475.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.1046, allocations: 203.2 kB / 475.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1046, allocations: 0 / 475.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004654/0.105, allocations: 261.2 kB / 476.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1051, allocations: 4 kB / 476.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1051, allocations: 4 kB / 476.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1051, allocations: 3.984 kB / 476.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/0.1076, allocations: 271.6 kB / 476.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008372/0.116, allocations: 8.613 MB / 485 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.1162, allocations: 31.77 kB / 485 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.1163, allocations: 4.109 kB / 485 MB, free: 13.25 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001308/0.1164, allocations: 157.8 kB / 485.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.1164, allocations: 23.75 kB / 485.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004581/0.1169, allocations: 240.5 kB / 485.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1169, allocations: 0 / 485.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.81e-07/0.1169, allocations: 0 / 485.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1169, allocations: 0 / 485.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.1172, allocations: 245.5 kB / 485.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1172, allocations: 4 kB / 485.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/0.1188, allocations: 215.6 kB / 485.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.1188, allocations: 3.938 kB / 485.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.1189, allocations: 0 / 485.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006426/0.1253, allocations: 8.156 MB / 494.1 MB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1253, allocations: 4.188 kB / 494.1 MB, free: 3.379 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.1257, allocations: 287.2 kB / 494.3 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.1258, allocations: 96.86 kB / 494.4 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.1258, allocations: 7.938 kB / 494.4 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.126, allocations: 11.98 kB / 494.5 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.29e-05/0.1261, allocations: 23.91 kB / 494.5 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.1261, allocations: 11.98 kB / 494.5 MB, free: 2.914 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001526/0.1263, allocations: 187.1 kB / 494.7 MB, free: 2.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1263, allocations: 0 / 494.7 MB, free: 2.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004149/0.1267, allocations: 67.91 kB / 494.7 MB, free: 2.664 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006325/0.1273, allocations: 0.8291 MB / 495.6 MB, free: 1.809 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001968/0.1293, allocations: 0.6 MB / 496.2 MB, free: 1.211 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1293, allocations: 4 kB / 496.2 MB, free: 1.207 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.1306, allocations: 394.8 kB / 496.6 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.1309, allocations: 39.89 kB / 496.6 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002897/0.1338, allocations: 2.576 MB / 499.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.1341, allocations: 0.7521 MB / 499.9 MB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003491/0.1344, allocations: 109.4 kB / 0.4883 GB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.1346, allocations: 91.36 kB / 0.4884 GB, free: 13.13 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1346, allocations: 0 / 0.4884 GB, free: 13.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.229/3.364, allocations: 9.796 MB / 0.498 GB, free: 3.535 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/3.364, allocations: 249.8 kB / 0.4982 GB, free: 3.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.441/5.805, allocations: 3.938 kB / 0.4982 GB, free: 3.266 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches