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.001072/0.001072, allocations: 110.4 kB / 17.78 MB, free: 5.293 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.001042/0.001042, allocations: 187 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.381/1.381, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2096/0.2096, allocations: 44.19 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 59.91 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3697, allocations: 60.81 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003471/0.3732, allocations: 2.186 MB / 0.5206 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.3746, allocations: 1.06 MB / 0.5216 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.3748, allocations: 1.406 kB / 0.5216 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.3751, allocations: 95.16 kB / 0.5217 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.3754, allocations: 84.41 kB / 0.5218 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.3757, allocations: 113.6 kB / 0.5219 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.3759, allocations: 181.8 kB / 0.5221 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.988e-05/0.376, allocations: 23.23 kB / 0.5221 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.3761, allocations: 68.25 kB / 0.5222 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.3763, allocations: 88.17 kB / 0.5222 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.3763, allocations: 5.688 kB / 0.5222 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004546/0.3767, allocations: 256.3 kB / 0.5225 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.324e-05/0.3768, allocations: 38.58 kB / 0.5225 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.3769, allocations: 78.69 kB / 0.5226 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004725/0.3774, allocations: 328.2 kB / 0.5229 GB, free: 372 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.3774, allocations: 1.703 kB / 0.5229 GB, free: 372 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3774, allocations: 0 / 0.5229 GB, free: 372 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3774, allocations: 4 kB / 0.5229 GB, free: 368 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.0007123/0.3782, allocations: 0.4927 MB / 0.5234 GB, free: 15.9 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.3782, allocations: 10.34 kB / 0.5234 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.043e-05/0.3783, allocations: 54.33 kB / 0.5235 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.372e-05/0.3784, allocations: 26.2 kB / 0.5235 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.3786, allocations: 220.2 kB / 0.5237 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.3787, allocations: 16.09 kB / 0.5237 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.3787, allocations: 22.47 kB / 0.5237 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/0.3793, allocations: 228.8 kB / 0.524 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3793, allocations: 1.281 kB / 0.524 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.3793, allocations: 9.422 kB / 0.524 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.3793, allocations: 6.031 kB / 0.524 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005307/0.3799, allocations: 245.3 kB / 0.5242 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.3811, allocations: 0.617 MB / 0.5248 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.3814, allocations: 101.2 kB / 0.5249 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.3815, allocations: 43.84 kB / 0.5249 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.3816, allocations: 0.7031 kB / 0.5249 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.3816, allocations: 37.95 kB / 0.525 GB, free: 14.87 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.3816, allocations: 4 kB / 0.525 GB, free: 14.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005554/0.3822, allocations: 168.6 kB / 0.5251 GB, free: 14.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.3822, allocations: 53.39 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.3825, allocations: 265.2 kB / 0.5255 GB, free: 14.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.3826, allocations: 27.08 kB / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.3827, allocations: 173.3 kB / 0.5256 GB, free: 14.4 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.3828, allocations: 36.2 kB / 0.5257 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.3829, allocations: 48.78 kB / 0.5257 GB, free: 14.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.3831, allocations: 338.4 kB / 0.526 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.3832, allocations: 55.45 kB / 0.5261 GB, free: 14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.3835, allocations: 148.2 kB / 0.5262 GB, free: 13.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004267/0.3839, allocations: 207.7 kB / 0.5264 GB, free: 13.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.384, allocations: 1.188 kB / 0.5264 GB, free: 13.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005237/0.3845, allocations: 237.3 kB / 0.5267 GB, free: 13.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3845, allocations: 7.266 kB / 0.5267 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.3845, allocations: 6.953 kB / 0.5267 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3845, allocations: 5.703 kB / 0.5267 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004218/0.385, allocations: 81.44 kB / 0.5268 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007368/0.3857, allocations: 1.227 MB / 0.528 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.3859, allocations: 43.84 kB / 0.528 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.386, allocations: 10.75 kB / 0.528 GB, free: 12.34 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.000126/0.3861, allocations: 131.9 kB / 0.5281 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.3862, allocations: 25.94 kB / 0.5282 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004663/0.3866, allocations: 168.7 kB / 0.5283 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.3866, allocations: 1.375 kB / 0.5283 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3867, allocations: 0.5156 kB / 0.5283 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3867, allocations: 5.891 kB / 0.5283 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006946/0.3874, allocations: 449.7 kB / 0.5288 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3874, allocations: 0.8906 kB / 0.5288 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.3876, allocations: 54.75 kB / 0.5288 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3877, allocations: 1.375 kB / 0.5288 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.3877, allocations: 3.75 kB / 0.5288 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00066/0.3883, allocations: 1.216 MB / 0.53 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3884, allocations: 1.375 kB / 0.53 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/0.3888, allocations: 256.1 kB / 0.5303 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.631e-05/0.3888, allocations: 98.27 kB / 0.5303 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.3889, allocations: 6.734 kB / 0.5304 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.389, allocations: 4.125 kB / 0.5304 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.3891, allocations: 16.09 kB / 0.5304 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.3891, allocations: 8.25 kB / 0.5304 GB, free: 10.22 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001641/0.3893, allocations: 186.4 kB / 0.5306 GB, free: 10.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3893, allocations: 1.281 kB / 0.5306 GB, free: 10.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004129/0.3897, allocations: 61.78 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.0008208/0.3906, allocations: 0.8312 MB / 0.5314 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005529/0.3911, allocations: 165.4 kB / 0.5316 GB, free: 9.266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3911, allocations: 0 / 0.5316 GB, free: 9.266 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002887/0.3914, allocations: 91.95 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.0004036/0.3918, allocations: 26.62 kB / 0.5317 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/0.395, allocations: 2.547 MB / 0.5342 GB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.3954, allocations: 0.7267 MB / 0.5349 GB, free: 6.445 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.993e-05/0.3955, allocations: 28.41 kB / 0.5349 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.484e-05/0.3956, allocations: 61.33 kB / 0.535 GB, free: 6.375 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3956, allocations: 0 / 0.535 GB, free: 6.375 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.4239, allocations: 6.245 MB / 0.5411 GB, free: 3.344 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.79, allocations: 14.05 kB / 0.5411 GB, free: 3.332 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