Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_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.001845/0.001851, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001923/0.001922, allocations: 179.9 kB / 18.71 MB, free: 4.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.473/1.473, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2316/0.2316, allocations: 44.18 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 63.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4069, allocations: 60.81 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003374/0.4103, allocations: 2.183 MB / 0.5206 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.4118, allocations: 1.061 MB / 0.5216 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.763e-05/0.4119, allocations: 1.375 kB / 0.5216 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.4123, allocations: 84.19 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.4127, allocations: 91.83 kB / 0.5218 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.413, allocations: 112.7 kB / 0.5219 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.4132, allocations: 182.2 kB / 0.5221 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.357e-05/0.4133, allocations: 18.98 kB / 0.5221 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.4134, allocations: 63.81 kB / 0.5222 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.4136, allocations: 84.48 kB / 0.5222 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.4136, allocations: 10.41 kB / 0.5222 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004657/0.4141, allocations: 271.2 kB / 0.5225 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.4141, allocations: 27.02 kB / 0.5225 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.413e-05/0.4142, allocations: 87.09 kB / 0.5226 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004845/0.4147, allocations: 328.3 kB / 0.5229 GB, free: 380 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4147, allocations: 0 / 0.5229 GB, free: 380 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4147, allocations: 1.125 kB / 0.5229 GB, free: 380 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.4148, allocations: 0 / 0.5229 GB, free: 380 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006496/0.4154, allocations: 0.4931 MB / 0.5234 GB, free: 15.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.4155, allocations: 9.531 kB / 0.5234 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.54e-05/0.4156, allocations: 62.55 kB / 0.5235 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.4156, allocations: 29.19 kB / 0.5235 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.4159, allocations: 217 kB / 0.5237 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.4159, allocations: 16.91 kB / 0.5237 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.416, allocations: 24.81 kB / 0.5238 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004727/0.4165, allocations: 229.9 kB / 0.524 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.4165, allocations: 1 kB / 0.524 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.4165, allocations: 5.125 kB / 0.524 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.4165, allocations: 5.469 kB / 0.524 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004956/0.417, allocations: 254.2 kB / 0.5242 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.4181, allocations: 0.6222 MB / 0.5248 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.4184, allocations: 100.7 kB / 0.5249 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.4186, allocations: 43.62 kB / 0.525 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.4186, allocations: 0.6094 kB / 0.525 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.4187, allocations: 41.83 kB / 0.525 GB, free: 14.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.4187, allocations: 0 / 0.525 GB, free: 14.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005842/0.4193, allocations: 164.9 kB / 0.5252 GB, free: 14.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.4193, allocations: 56.78 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.4196, allocations: 266.5 kB / 0.5255 GB, free: 14.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.4197, allocations: 26.45 kB / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.4198, allocations: 173 kB / 0.5257 GB, free: 14.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.4199, allocations: 40.56 kB / 0.5257 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-05/0.4199, allocations: 49.8 kB / 0.5258 GB, free: 14.33 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.4201, allocations: 334.2 kB / 0.5261 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.4203, allocations: 51.34 kB / 0.5261 GB, free: 14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.4205, allocations: 148 kB / 0.5263 GB, free: 13.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003838/0.4209, allocations: 211.8 kB / 0.5265 GB, free: 13.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.421, allocations: 5.062 kB / 0.5265 GB, free: 13.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000528/0.4215, allocations: 234 kB / 0.5267 GB, free: 13.58 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.4215, allocations: 7.469 kB / 0.5267 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.4215, allocations: 6.812 kB / 0.5267 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.4216, allocations: 10.17 kB / 0.5267 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004218/0.422, allocations: 85.7 kB / 0.5268 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000897/0.4229, allocations: 1.215 MB / 0.528 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.4231, allocations: 47.11 kB / 0.528 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.4232, allocations: 15.66 kB / 0.528 GB, free: 12.33 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001559/0.4233, allocations: 130.7 kB / 0.5282 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.4234, allocations: 23.42 kB / 0.5282 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004758/0.4239, allocations: 163.4 kB / 0.5283 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.4239, allocations: 2.078 kB / 0.5283 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4239, allocations: 5.312 kB / 0.5284 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4239, allocations: 0.7031 kB / 0.5284 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007537/0.4247, allocations: 457.5 kB / 0.5288 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4247, allocations: 0.8438 kB / 0.5288 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.4249, allocations: 58.42 kB / 0.5288 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.425, allocations: 2.078 kB / 0.5288 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.425, allocations: 2.75 kB / 0.5288 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008708/0.4259, allocations: 1.213 MB / 0.53 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4259, allocations: 1.375 kB / 0.53 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004485/0.4263, allocations: 255.7 kB / 0.5303 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.23e-05/0.4264, allocations: 95.97 kB / 0.5304 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.4265, allocations: 2.156 kB / 0.5304 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.4266, allocations: 11.81 kB / 0.5304 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.4267, allocations: 14.31 kB / 0.5304 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.4267, allocations: 5 kB / 0.5304 GB, free: 10.22 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002261/0.4269, allocations: 186.6 kB / 0.5306 GB, free: 10.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4269, allocations: 0 / 0.5306 GB, free: 10.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004292/0.4274, allocations: 69.56 kB / 0.5306 GB, free: 10.08 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009596/0.4283, allocations: 0.8273 MB / 0.5315 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000578/0.4289, allocations: 172.8 kB / 0.5316 GB, free: 9.258 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.4289, allocations: 5.031 kB / 0.5316 GB, free: 9.254 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002966/0.4293, allocations: 78.7 kB / 0.5317 GB, free: 9.234 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.4297, allocations: 23.95 kB / 0.5317 GB, free: 9.219 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003849/0.4336, allocations: 2.562 MB / 0.5342 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005073/0.4341, allocations: 0.7371 MB / 0.5349 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.255e-05/0.4342, allocations: 20.05 kB / 0.535 GB, free: 6.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.4343, allocations: 68.75 kB / 0.535 GB, free: 6.355 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4343, allocations: 5.281 kB / 0.535 GB, free: 6.352 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03322/0.4675, allocations: 6.131 MB / 0.541 GB, free: 3.402 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.61, allocations: 17.95 kB / 0.541 GB, free: 3.391 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches