Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001726/0.001726, allocations: 121.1 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.001986/0.001986, allocations: 204.6 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.416/1.416, 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.2212/0.2212, allocations: 46.11 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 83.86 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3232, allocations: 62.45 MB / 0.5306 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003302/0.3265, allocations: 2.103 MB / 0.5327 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0026/0.3291, allocations: 1.719 MB / 0.5344 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.621e-05/0.3292, allocations: 5.094 kB / 0.5344 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.3296, allocations: 89.55 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.3297, allocations: 59.45 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008545/0.3306, allocations: 365.2 kB / 0.5349 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.3308, allocations: 142.8 kB / 0.535 GB, free: 9.781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.842e-05/0.3309, allocations: 25.84 kB / 0.535 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.603e-05/0.3309, allocations: 50.67 kB / 0.5351 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.3311, allocations: 55.61 kB / 0.5351 GB, free: 9.703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3311, allocations: 7.75 kB / 0.5351 GB, free: 9.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.3323, allocations: 0.7894 MB / 0.5359 GB, free: 9.207 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.566e-05/0.3324, allocations: 35.31 kB / 0.536 GB, free: 9.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.557e-05/0.3325, allocations: 61.44 kB / 0.536 GB, free: 9.145 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008704/0.3334, allocations: 0.6061 MB / 0.5366 GB, free: 8.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3334, allocations: 0 / 0.5366 GB, free: 8.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3334, allocations: 0 / 0.5366 GB, free: 8.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.3334, allocations: 0 / 0.5366 GB, free: 8.711 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000743/0.3342, allocations: 0.518 MB / 0.5371 GB, free: 8.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3342, allocations: 17.89 kB / 0.5371 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.377e-05/0.3343, allocations: 53.3 kB / 0.5372 GB, free: 8.152 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.3343, allocations: 23.11 kB / 0.5372 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.3345, allocations: 219 kB / 0.5374 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.3346, allocations: 16.34 kB / 0.5374 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.3346, allocations: 20.59 kB / 0.5374 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000426/0.335, allocations: 261.7 kB / 0.5377 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3351, allocations: 1.031 kB / 0.5377 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.3351, allocations: 10.2 kB / 0.5377 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.3351, allocations: 5.125 kB / 0.5377 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.3354, allocations: 156.8 kB / 0.5379 GB, free: 7.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.3365, allocations: 0.9082 MB / 0.5387 GB, free: 6.785 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.3367, allocations: 59.3 kB / 0.5388 GB, free: 6.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.3368, allocations: 36.67 kB / 0.5388 GB, free: 6.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.3368, allocations: 5.328 kB / 0.5388 GB, free: 6.719 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.3368, allocations: 34.5 kB / 0.5389 GB, free: 6.676 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.3369, allocations: 1.562 kB / 0.5389 GB, free: 6.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004641/0.3373, allocations: 138 kB / 0.539 GB, free: 6.594 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.3374, allocations: 56.5 kB / 0.5391 GB, free: 6.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.3377, allocations: 269.1 kB / 0.5393 GB, free: 6.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.3377, allocations: 26.86 kB / 0.5393 GB, free: 6.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.3378, allocations: 188.4 kB / 0.5395 GB, free: 6.137 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.3378, allocations: 19.39 kB / 0.5395 GB, free: 6.121 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.683e-05/0.3379, allocations: 54.19 kB / 0.5396 GB, free: 6.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3381, allocations: 336.6 kB / 0.5399 GB, free: 5.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.3382, allocations: 46.48 kB / 0.54 GB, free: 5.727 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.3385, allocations: 194.9 kB / 0.5401 GB, free: 5.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/0.3389, allocations: 253.6 kB / 0.5404 GB, free: 5.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.3389, allocations: 1.188 kB / 0.5404 GB, free: 5.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004883/0.3394, allocations: 260.5 kB / 0.5406 GB, free: 5.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3394, allocations: 7.062 kB / 0.5406 GB, free: 5.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/0.3395, allocations: 12.62 kB / 0.5407 GB, free: 5.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.3395, allocations: 11.41 kB / 0.5407 GB, free: 5.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.3397, allocations: 50.34 kB / 0.5407 GB, free: 5.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.3397, allocations: 15.03 kB / 0.5407 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.3399, allocations: 46.09 kB / 0.5408 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.3399, allocations: 13.5 kB / 0.5408 GB, free: 5.051 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.34, allocations: 128.8 kB / 0.5409 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.3401, allocations: 20.67 kB / 0.5409 GB, free: 4.914 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003836/0.3405, allocations: 144.7 kB / 0.5411 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3405, allocations: 3.938 kB / 0.5411 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3405, allocations: 0 / 0.5411 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3405, allocations: 5.641 kB / 0.5411 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.3408, allocations: 217 kB / 0.5413 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/0.3408, allocations: 9.031 kB / 0.5413 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.102e-05/0.3408, allocations: 11.86 kB / 0.5413 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3409, allocations: 3.938 kB / 0.5413 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.3409, allocations: 3.062 kB / 0.5413 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.3409, allocations: 7.938 kB / 0.5413 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3409, allocations: 1.5 kB / 0.5413 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.3412, allocations: 202.4 kB / 0.5415 GB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.212e-05/0.3413, allocations: 102.8 kB / 0.5416 GB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.3413, allocations: 0 / 0.5416 GB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.3415, allocations: 16.27 kB / 0.5416 GB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.3415, allocations: 2.875 kB / 0.5416 GB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.3415, allocations: 2.938 kB / 0.5416 GB, free: 4.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001645/0.3417, allocations: 184.1 kB / 0.5418 GB, free: 4.141 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3417, allocations: 0 / 0.5418 GB, free: 4.141 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005344/0.3422, allocations: 103.5 kB / 0.5419 GB, free: 4.121 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009819/0.3432, allocations: 0.846 MB / 0.5427 GB, free: 3.367 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004853/0.3437, allocations: 192 kB / 0.5429 GB, free: 3.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3437, allocations: 1 kB / 0.5429 GB, free: 3.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.3439, allocations: 97.97 kB / 0.543 GB, free: 3.172 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.3443, allocations: 30.12 kB / 0.543 GB, free: 3.148 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.3474, allocations: 2.506 MB / 0.5455 GB, free: 1.055 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.3478, allocations: 0.7326 MB / 0.5462 GB, free: 336 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.744e-05/0.3479, allocations: 30.41 kB / 0.5462 GB, free: 312 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.486e-05/0.348, allocations: 55.95 kB / 0.5463 GB, free: 264 kB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.348, allocations: 0 / 0.5463 GB, free: 264 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03582/0.3838, allocations: 9.044 MB / 0.5551 GB, free: 7.941 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.41, allocations: 13.66 kB / 0.5551 GB, free: 7.934 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches