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.001266/0.001272, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001492/0.001492, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2187/0.2187, allocations: 46.11 MB / 344.3 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 79.88 kB / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3103, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003447/0.3138, allocations: 2.191 MB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.3154, allocations: 1.096 MB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.273e-05/0.3155, allocations: 1.375 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000302/0.3158, allocations: 98.78 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.3161, allocations: 82.33 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.3164, allocations: 120.8 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.3167, allocations: 183.7 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.297e-05/0.3167, allocations: 14.03 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.3169, allocations: 71.22 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.3171, allocations: 92.3 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.3171, allocations: 6.875 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004072/0.3175, allocations: 262.6 kB / 0.5348 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.425e-05/0.3176, allocations: 27.91 kB / 0.5348 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.788e-05/0.3177, allocations: 85.28 kB / 0.5349 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004768/0.3181, allocations: 334.5 kB / 0.5352 GB, free: 9.844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3182, allocations: 4 kB / 0.5352 GB, free: 9.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3182, allocations: 0 / 0.5352 GB, free: 9.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.3182, allocations: 0 / 0.5352 GB, free: 9.84 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.0007088/0.3189, allocations: 0.4967 MB / 0.5357 GB, free: 9.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3189, allocations: 9.219 kB / 0.5357 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.629e-05/0.319, allocations: 61.69 kB / 0.5357 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.323e-05/0.3191, allocations: 29.09 kB / 0.5358 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.3194, allocations: 214.7 kB / 0.536 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.3194, allocations: 17.91 kB / 0.536 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.3194, allocations: 24.81 kB / 0.536 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004599/0.3199, allocations: 231 kB / 0.5362 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3199, allocations: 0 / 0.5362 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.3199, allocations: 9.844 kB / 0.5362 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.32, allocations: 5.031 kB / 0.5363 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004705/0.3204, allocations: 247.4 kB / 0.5365 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.3215, allocations: 0.6232 MB / 0.5371 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.3218, allocations: 99.75 kB / 0.5372 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.322, allocations: 40.39 kB / 0.5372 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.322, allocations: 9.062 kB / 0.5372 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.322, allocations: 35.88 kB / 0.5373 GB, free: 8.105 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.322, allocations: 0 / 0.5373 GB, free: 8.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005246/0.3226, allocations: 168.2 kB / 0.5374 GB, free: 8.016 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.3226, allocations: 53.16 kB / 0.5375 GB, free: 7.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.3229, allocations: 271.8 kB / 0.5377 GB, free: 7.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.3229, allocations: 25.7 kB / 0.5378 GB, free: 7.734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.3231, allocations: 184.1 kB / 0.5379 GB, free: 7.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.3231, allocations: 33.17 kB / 0.538 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.978e-05/0.3232, allocations: 51.72 kB / 0.538 GB, free: 7.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.3233, allocations: 336.2 kB / 0.5383 GB, free: 7.164 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.3235, allocations: 44.91 kB / 0.5384 GB, free: 7.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.3237, allocations: 150.8 kB / 0.5385 GB, free: 6.992 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003817/0.3241, allocations: 214 kB / 0.5387 GB, free: 6.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.3241, allocations: 1.344 kB / 0.5387 GB, free: 6.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004788/0.3246, allocations: 236.7 kB / 0.539 GB, free: 6.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3246, allocations: 9.156 kB / 0.539 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.3246, allocations: 3.156 kB / 0.539 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3247, allocations: 5.531 kB / 0.539 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.3251, allocations: 88.7 kB / 0.5391 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008936/0.326, allocations: 1.217 MB / 0.5403 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.3262, allocations: 41.14 kB / 0.5403 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.3262, allocations: 14.5 kB / 0.5403 GB, free: 5.41 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.000131/0.3263, allocations: 135.2 kB / 0.5404 GB, free: 5.277 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.3264, allocations: 26.25 kB / 0.5405 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004325/0.3268, allocations: 169.7 kB / 0.5406 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.3268, allocations: 5.094 kB / 0.5406 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3269, allocations: 0 / 0.5406 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3269, allocations: 0.8438 kB / 0.5406 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006526/0.3275, allocations: 450.4 kB / 0.5411 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3275, allocations: 5.062 kB / 0.5411 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.3278, allocations: 63.62 kB / 0.5411 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3278, allocations: 1.125 kB / 0.5411 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.3278, allocations: 3.344 kB / 0.5411 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007293/0.3285, allocations: 1.21 MB / 0.5423 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3286, allocations: 1.344 kB / 0.5423 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.3289, allocations: 254.6 kB / 0.5426 GB, free: 3.301 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.259e-05/0.329, allocations: 94.81 kB / 0.5426 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.3291, allocations: 6.094 kB / 0.5426 GB, free: 3.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.3292, allocations: 16.2 kB / 0.5427 GB, free: 3.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.3293, allocations: 9.453 kB / 0.5427 GB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.3293, allocations: 7.203 kB / 0.5427 GB, free: 3.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001711/0.3295, allocations: 191.3 kB / 0.5429 GB, free: 3.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3295, allocations: 0 / 0.5429 GB, free: 3.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003678/0.3299, allocations: 66.44 kB / 0.5429 GB, free: 3.031 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.0008909/0.3308, allocations: 0.823 MB / 0.5437 GB, free: 2.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005362/0.3313, allocations: 174 kB / 0.5439 GB, free: 2.215 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3313, allocations: 0 / 0.5439 GB, free: 2.215 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002817/0.3316, allocations: 86.86 kB / 0.544 GB, free: 2.188 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.332, allocations: 22.8 kB / 0.544 GB, free: 2.172 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.3352, allocations: 2.555 MB / 0.5465 GB, free: 116 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.3356, allocations: 0.7333 MB / 0.5472 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.36e-05/0.3357, allocations: 20.83 kB / 0.5472 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.3358, allocations: 65.94 kB / 0.5473 GB, free: 15.32 MB / 414.1 MB Notification: Performance of SimCode: time 2.514e-06/0.3358, allocations: 3.938 kB / 0.5473 GB, free: 15.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.3664, allocations: 6.167 MB / 0.5533 GB, free: 9.914 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.24, allocations: 10.27 kB / 0.5533 GB, free: 9.906 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