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_roundTube_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_roundTube_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001757/0.001758, allocations: 114.4 kB / 17.78 MB, free: 5.27 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.002053/0.002053, allocations: 187 kB / 18.71 MB, free: 4.344 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.337/1.337, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2282/0.2282, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001312, allocations: 64.09 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3233, allocations: 60.82 MB / 0.5185 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003142/0.3265, allocations: 2.68 MB / 0.5211 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.3284, allocations: 1.425 MB / 0.5225 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.3285, allocations: 1.094 kB / 0.5225 GB, free: 440 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003281/0.3289, allocations: 119.8 kB / 0.5226 GB, free: 372 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003462/0.3292, allocations: 127.3 kB / 0.5227 GB, free: 284 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005551/0.3298, allocations: 262.9 kB / 0.523 GB, free: 180 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.3301, allocations: 276.8 kB / 0.5232 GB, free: 36 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.32e-05/0.3301, allocations: 23.97 kB / 0.5232 GB, free: 24 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.3303, allocations: 101 kB / 0.5233 GB, free: 15.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.3305, allocations: 117.1 kB / 0.5234 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.3305, allocations: 8.844 kB / 0.5235 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009604/0.3315, allocations: 0.5878 MB / 0.524 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.044e-05/0.3316, allocations: 50.62 kB / 0.5241 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.3317, allocations: 130 kB / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007436/0.3324, allocations: 0.5362 MB / 0.5247 GB, free: 15.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3324, allocations: 1.031 kB / 0.5247 GB, free: 15.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3325, allocations: 0 / 0.5247 GB, free: 15.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.3325, allocations: 0 / 0.5247 GB, free: 15.39 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.0008061/0.3333, allocations: 0.6227 MB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3333, allocations: 9.594 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.164e-05/0.3334, allocations: 76.66 kB / 0.5254 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.561e-05/0.3335, allocations: 40.09 kB / 0.5255 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.3338, allocations: 241.5 kB / 0.5257 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.3338, allocations: 32.41 kB / 0.5257 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.3339, allocations: 38.72 kB / 0.5258 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007148/0.3346, allocations: 0.5731 MB / 0.5263 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.3346, allocations: 10.67 kB / 0.5263 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.3346, allocations: 18.88 kB / 0.5263 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.3347, allocations: 18.94 kB / 0.5264 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005055/0.3352, allocations: 336.3 kB / 0.5267 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002317/0.3375, allocations: 4.043 MB / 0.5306 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.3378, allocations: 87.56 kB / 0.5307 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.3379, allocations: 48.23 kB / 0.5308 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.338, allocations: 1.312 kB / 0.5308 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.338, allocations: 31.84 kB / 0.5308 GB, free: 9.711 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.338, allocations: 0 / 0.5308 GB, free: 9.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005106/0.3385, allocations: 166.6 kB / 0.531 GB, free: 9.621 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.3386, allocations: 57.12 kB / 0.531 GB, free: 9.555 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.339, allocations: 412.9 kB / 0.5314 GB, free: 9.293 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.339, allocations: 29.64 kB / 0.5314 GB, free: 9.258 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.3391, allocations: 254.6 kB / 0.5317 GB, free: 9.027 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.3392, allocations: 23.95 kB / 0.5317 GB, free: 9.008 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-05/0.3393, allocations: 69.8 kB / 0.5318 GB, free: 8.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3394, allocations: 351.5 kB / 0.5321 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.3396, allocations: 62.83 kB / 0.5322 GB, free: 8.586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.3398, allocations: 256.9 kB / 0.5324 GB, free: 8.281 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005062/0.3404, allocations: 356.5 kB / 0.5327 GB, free: 7.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.3404, allocations: 7.125 kB / 0.5327 GB, free: 7.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000673/0.3411, allocations: 352.1 kB / 0.5331 GB, free: 7.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.3411, allocations: 11.09 kB / 0.5331 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.3411, allocations: 7.188 kB / 0.5331 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.3411, allocations: 10.69 kB / 0.5331 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004986/0.3416, allocations: 106.6 kB / 0.5332 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007493/0.3424, allocations: 1.221 MB / 0.5344 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/0.3428, allocations: 64.91 kB / 0.5345 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.3428, allocations: 25.17 kB / 0.5345 GB, free: 6.441 MB / 398.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.0001545/0.343, allocations: 153.7 kB / 0.5346 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.064e-05/0.343, allocations: 40.22 kB / 0.5347 GB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000473/0.3435, allocations: 171.5 kB / 0.5348 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3435, allocations: 0 / 0.5348 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.3435, allocations: 1.5 kB / 0.5348 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3436, allocations: 0 / 0.5348 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003352/0.3439, allocations: 274.9 kB / 0.5351 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3439, allocations: 0 / 0.5351 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.3442, allocations: 61.41 kB / 0.5352 GB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.3442, allocations: 1.188 kB / 0.5352 GB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.3442, allocations: 5.094 kB / 0.5352 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005995/0.3448, allocations: 1.2 MB / 0.5363 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.3448, allocations: 5.844 kB / 0.5363 GB, free: 4.672 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.3452, allocations: 234.4 kB / 0.5366 GB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.468e-05/0.3453, allocations: 109.4 kB / 0.5367 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.165e-05/0.3453, allocations: 9.719 kB / 0.5367 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.3456, allocations: 7.234 kB / 0.5367 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.3457, allocations: 8.312 kB / 0.5367 GB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.3457, allocations: 2.656 kB / 0.5367 GB, free: 4.355 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003628/0.3461, allocations: 271.5 kB / 0.537 GB, free: 4.191 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3461, allocations: 4 kB / 0.537 GB, free: 4.188 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007048/0.3468, allocations: 118 kB / 0.5371 GB, free: 4.164 MB / 398.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.001021/0.3478, allocations: 0.8475 MB / 0.5379 GB, free: 3.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006245/0.3484, allocations: 205 kB / 0.5381 GB, free: 3.336 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3485, allocations: 0 / 0.5381 GB, free: 3.336 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002705/0.3487, allocations: 75.8 kB / 0.5382 GB, free: 3.316 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.3492, allocations: 40.11 kB / 0.5382 GB, free: 3.293 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004183/0.3533, allocations: 3.4 MB / 0.5415 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.3537, allocations: 0.7706 MB / 0.5423 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.3539, allocations: 37.38 kB / 0.5423 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.354, allocations: 107.4 kB / 0.5424 GB, free: 15.79 MB / 414.1 MB Notification: Performance of SimCode: time 6.92e-07/0.354, allocations: 4 kB / 0.5424 GB, free: 15.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03252/0.3865, allocations: 10.06 MB / 0.5522 GB, free: 8.512 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.08, allocations: 19.77 kB / 0.5523 GB, free: 8.496 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches