Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_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.00161/0.00161, allocations: 117.7 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002406/0.002406, allocations: 204.6 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2423/0.2423, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001553, allocations: 71.88 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3825, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003985/0.3865, allocations: 2.69 MB / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00219/0.3887, allocations: 1.478 MB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.3889, allocations: 5.312 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003553/0.3892, allocations: 112 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003711/0.3896, allocations: 139.3 kB / 0.5349 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.3902, allocations: 258.9 kB / 0.5351 GB, free: 9.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003126/0.3905, allocations: 280 kB / 0.5354 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.882e-05/0.3906, allocations: 27.84 kB / 0.5354 GB, free: 9.535 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.3907, allocations: 94.05 kB / 0.5355 GB, free: 9.484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.3909, allocations: 125.7 kB / 0.5356 GB, free: 9.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.391, allocations: 7.156 kB / 0.5356 GB, free: 9.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009938/0.392, allocations: 0.6098 MB / 0.5362 GB, free: 9.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.982e-05/0.392, allocations: 42.67 kB / 0.5363 GB, free: 9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.3922, allocations: 143 kB / 0.5364 GB, free: 8.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007099/0.3929, allocations: 0.5449 MB / 0.5369 GB, free: 8.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3929, allocations: 0 / 0.5369 GB, free: 8.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.3929, allocations: 4.938 kB / 0.5369 GB, free: 8.512 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.393, allocations: 3.938 kB / 0.5369 GB, free: 8.508 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008666/0.3938, allocations: 0.6295 MB / 0.5376 GB, free: 7.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.3939, allocations: 9.438 kB / 0.5376 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.409e-05/0.394, allocations: 70.12 kB / 0.5376 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.787e-05/0.394, allocations: 44.34 kB / 0.5377 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.3943, allocations: 252.6 kB / 0.5379 GB, free: 7.586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.3943, allocations: 27.56 kB / 0.5379 GB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.042e-05/0.3944, allocations: 42.88 kB / 0.538 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007273/0.3951, allocations: 0.5734 MB / 0.5385 GB, free: 7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.3952, allocations: 6.281 kB / 0.5385 GB, free: 6.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.545e-05/0.3952, allocations: 18.81 kB / 0.5386 GB, free: 6.984 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.3952, allocations: 11.34 kB / 0.5386 GB, free: 6.984 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005495/0.3958, allocations: 330.8 kB / 0.5389 GB, free: 6.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002753/0.3986, allocations: 4.047 MB / 0.5428 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.3988, allocations: 91.31 kB / 0.5429 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.3989, allocations: 40.48 kB / 0.543 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.399, allocations: 1.344 kB / 0.543 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.399, allocations: 32.34 kB / 0.543 GB, free: 2.691 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.399, allocations: 0 / 0.543 GB, free: 2.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004976/0.3995, allocations: 170.4 kB / 0.5432 GB, free: 2.598 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.3996, allocations: 52.62 kB / 0.5432 GB, free: 2.535 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004045/0.4, allocations: 408.7 kB / 0.5436 GB, free: 2.277 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.4, allocations: 26.86 kB / 0.5436 GB, free: 2.246 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.4002, allocations: 257.9 kB / 0.5439 GB, free: 2.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.4002, allocations: 20.28 kB / 0.5439 GB, free: 1.996 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.914e-05/0.4003, allocations: 73.39 kB / 0.544 GB, free: 1.941 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.4005, allocations: 355.6 kB / 0.5443 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.4006, allocations: 62.48 kB / 0.5444 GB, free: 1.566 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/0.401, allocations: 266 kB / 0.5446 GB, free: 1.254 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004947/0.4015, allocations: 348 kB / 0.545 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.4015, allocations: 6.172 kB / 0.545 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006351/0.4021, allocations: 344.7 kB / 0.5453 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.4021, allocations: 11.84 kB / 0.5453 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.4022, allocations: 7.312 kB / 0.5453 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.4022, allocations: 10.75 kB / 0.5453 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004673/0.4027, allocations: 114.2 kB / 0.5454 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006975/0.4034, allocations: 1.22 MB / 0.5466 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.4037, allocations: 69.52 kB / 0.5467 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.4037, allocations: 23 kB / 0.5467 GB, free: 15.42 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0001353/0.4038, allocations: 140.2 kB / 0.5468 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.713e-05/0.4039, allocations: 40.38 kB / 0.5469 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004255/0.4043, allocations: 179 kB / 0.547 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.4044, allocations: 0.9688 kB / 0.547 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4044, allocations: 1.094 kB / 0.547 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4044, allocations: 3.984 kB / 0.5471 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.4047, allocations: 274.8 kB / 0.5473 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4047, allocations: 11.98 kB / 0.5473 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.405, allocations: 53.31 kB / 0.5474 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.405, allocations: 1.125 kB / 0.5474 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.405, allocations: 2.188 kB / 0.5474 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000638/0.4056, allocations: 1.208 MB / 0.5486 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4057, allocations: 3.984 kB / 0.5486 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.406, allocations: 231.3 kB / 0.5488 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.295e-05/0.4061, allocations: 109.8 kB / 0.5489 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.488e-05/0.4062, allocations: 5.094 kB / 0.5489 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.4063, allocations: 11.67 kB / 0.5489 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.4064, allocations: 11.83 kB / 0.5489 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.4064, allocations: 2.5 kB / 0.5489 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002575/0.4067, allocations: 272.4 kB / 0.5492 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4067, allocations: 0 / 0.5492 GB, free: 13.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005361/0.4072, allocations: 113.9 kB / 0.5493 GB, free: 13.14 MB / 414.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 (7): * Single equations (assignments): 5 * 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.001007/0.4082, allocations: 0.8505 MB / 0.5501 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005632/0.4088, allocations: 210.3 kB / 0.5503 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4088, allocations: 4.312 kB / 0.5503 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.4091, allocations: 79.08 kB / 0.5504 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.4095, allocations: 42.81 kB / 0.5504 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003819/0.4133, allocations: 3.404 MB / 0.5538 GB, free: 8.777 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.4137, allocations: 0.7677 MB / 0.5545 GB, free: 7.984 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000114/0.4138, allocations: 38.97 kB / 0.5545 GB, free: 7.945 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.4139, allocations: 103.4 kB / 0.5546 GB, free: 7.844 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4139, allocations: 3.938 kB / 0.5547 GB, free: 7.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.4457, allocations: 10.25 MB / 0.5647 GB, free: 13.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.96, allocations: 5.578 kB / 0.5647 GB, free: 13.82 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches