Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.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.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.00165/0.00165, allocations: 117.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001936/0.001936, allocations: 208.5 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2217/0.2217, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 83.84 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.393, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003886/0.397, allocations: 2.194 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.3989, allocations: 1.093 MB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.3991, allocations: 1.375 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003612/0.3995, allocations: 95.45 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004125/0.3999, allocations: 86.48 kB / 0.5339 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.4004, allocations: 121.2 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003311/0.4007, allocations: 175.3 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.236e-05/0.4008, allocations: 22.52 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002524/0.4011, allocations: 78.67 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.4012, allocations: 84.25 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.4013, allocations: 6.906 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000492/0.4018, allocations: 270.7 kB / 0.5347 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.984e-05/0.4018, allocations: 27.83 kB / 0.5347 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.402, allocations: 85.61 kB / 0.5348 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005717/0.4025, allocations: 328.5 kB / 0.5351 GB, free: 9.914 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.4026, allocations: 1.375 kB / 0.5351 GB, free: 9.914 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4026, allocations: 0 / 0.5351 GB, free: 9.914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.4026, allocations: 4 kB / 0.5351 GB, free: 9.91 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009204/0.4035, allocations: 0.4892 MB / 0.5356 GB, free: 9.434 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.4036, allocations: 9.625 kB / 0.5356 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.648e-05/0.4037, allocations: 61.53 kB / 0.5356 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.933e-05/0.4038, allocations: 23.66 kB / 0.5357 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.4041, allocations: 218.3 kB / 0.5359 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.4041, allocations: 18.44 kB / 0.5359 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.4041, allocations: 24.31 kB / 0.5359 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004866/0.4046, allocations: 231.7 kB / 0.5361 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.4047, allocations: 0 / 0.5361 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.4047, allocations: 6.25 kB / 0.5361 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.4047, allocations: 4.469 kB / 0.5361 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005232/0.4052, allocations: 250.8 kB / 0.5364 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.4064, allocations: 0.6155 MB / 0.537 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.4067, allocations: 103.2 kB / 0.5371 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.4069, allocations: 44.33 kB / 0.5371 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.4069, allocations: 1.156 kB / 0.5371 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.407, allocations: 35.66 kB / 0.5371 GB, free: 8.195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.407, allocations: 4 kB / 0.5372 GB, free: 8.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005963/0.4076, allocations: 168.6 kB / 0.5373 GB, free: 8.102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.4076, allocations: 52.28 kB / 0.5374 GB, free: 8.039 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.4079, allocations: 267.4 kB / 0.5376 GB, free: 7.855 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.408, allocations: 30.83 kB / 0.5376 GB, free: 7.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.4081, allocations: 171.9 kB / 0.5378 GB, free: 7.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.4081, allocations: 35.94 kB / 0.5378 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.544e-05/0.4082, allocations: 52.8 kB / 0.5379 GB, free: 7.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4084, allocations: 339.5 kB / 0.5382 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.4085, allocations: 46.41 kB / 0.5383 GB, free: 7.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.4088, allocations: 146.3 kB / 0.5384 GB, free: 7.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/0.4092, allocations: 213.8 kB / 0.5386 GB, free: 6.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.4092, allocations: 5.312 kB / 0.5386 GB, free: 6.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005715/0.4098, allocations: 245.3 kB / 0.5388 GB, free: 6.762 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.4098, allocations: 5.812 kB / 0.5389 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.4098, allocations: 3.969 kB / 0.5389 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.4099, allocations: 5.125 kB / 0.5389 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/0.4104, allocations: 87.17 kB / 0.5389 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009117/0.4113, allocations: 1.214 MB / 0.5401 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003798/0.4117, allocations: 45.23 kB / 0.5402 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.4118, allocations: 9.125 kB / 0.5402 GB, free: 5.496 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.0001939/0.412, allocations: 135.4 kB / 0.5403 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-05/0.4121, allocations: 21.69 kB / 0.5403 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00048/0.4126, allocations: 169.8 kB / 0.5405 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.4126, allocations: 1.188 kB / 0.5405 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4126, allocations: 1.125 kB / 0.5405 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4126, allocations: 4 kB / 0.5405 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007611/0.4134, allocations: 447.8 kB / 0.5409 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4134, allocations: 0 / 0.5409 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.4137, allocations: 60.06 kB / 0.541 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.4137, allocations: 1.25 kB / 0.541 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.4137, allocations: 7.125 kB / 0.541 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008005/0.4145, allocations: 1.207 MB / 0.5422 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.4145, allocations: 3.938 kB / 0.5422 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/0.4149, allocations: 246.8 kB / 0.5424 GB, free: 3.406 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-05/0.415, allocations: 112 kB / 0.5425 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.4151, allocations: 0 / 0.5425 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.4152, allocations: 12.92 kB / 0.5425 GB, free: 3.277 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.4153, allocations: 9.234 kB / 0.5425 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.4153, allocations: 7.344 kB / 0.5425 GB, free: 3.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001775/0.4155, allocations: 186.8 kB / 0.5427 GB, free: 3.145 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.853e-06/0.4155, allocations: 0 / 0.5427 GB, free: 3.145 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004489/0.416, allocations: 66.5 kB / 0.5428 GB, free: 3.133 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.0009301/0.4169, allocations: 0.8276 MB / 0.5436 GB, free: 2.375 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006264/0.4175, allocations: 168.8 kB / 0.5438 GB, free: 2.316 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4176, allocations: 0 / 0.5438 GB, free: 2.316 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.4178, allocations: 87.59 kB / 0.5438 GB, free: 2.289 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.4183, allocations: 31.89 kB / 0.5439 GB, free: 2.266 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003227/0.4215, allocations: 2.547 MB / 0.5464 GB, free: 220 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.4218, allocations: 0.7298 MB / 0.5471 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.636e-05/0.4219, allocations: 20.8 kB / 0.5471 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.4221, allocations: 69.34 kB / 0.5472 GB, free: 15.42 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4221, allocations: 96 / 0.5472 GB, free: 15.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.4467, allocations: 6.271 MB / 0.5533 GB, free: 9.961 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.62, allocations: 1.516 kB / 0.5533 GB, free: 9.961 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches