Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001284/0.001284, allocations: 117.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.001336/0.001336, allocations: 200.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.42/1.42, allocations: 227.4 MB / 247 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.2195/0.2195, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 79.88 kB / 480.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.319, allocations: 62.44 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003429/0.3225, allocations: 2.135 MB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.3245, allocations: 1.407 MB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.747e-05/0.3246, allocations: 1.375 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003224/0.3249, allocations: 90.8 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.3251, allocations: 62.3 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005497/0.3256, allocations: 213.4 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.3258, allocations: 146.5 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.285e-05/0.3259, allocations: 21.42 kB / 0.5346 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.3261, allocations: 62.16 kB / 0.5347 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.3262, allocations: 67.31 kB / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.3262, allocations: 8 kB / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006399/0.3269, allocations: 430.7 kB / 0.5352 GB, free: 9.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.668e-05/0.3269, allocations: 25.98 kB / 0.5352 GB, free: 9.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.864e-05/0.327, allocations: 74.72 kB / 0.5353 GB, free: 9.754 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005979/0.3276, allocations: 436.5 kB / 0.5357 GB, free: 9.457 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3276, allocations: 0 / 0.5357 GB, free: 9.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3276, allocations: 3.938 kB / 0.5357 GB, free: 9.453 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.3277, allocations: 1.375 kB / 0.5357 GB, free: 9.453 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006879/0.3284, allocations: 0.5001 MB / 0.5362 GB, free: 8.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.3284, allocations: 12.38 kB / 0.5362 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.567e-05/0.3285, allocations: 52.86 kB / 0.5362 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.3285, allocations: 24.52 kB / 0.5362 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.3287, allocations: 213.5 kB / 0.5365 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.3288, allocations: 19.88 kB / 0.5365 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.3288, allocations: 18.75 kB / 0.5365 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.3292, allocations: 206 kB / 0.5367 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3292, allocations: 1.094 kB / 0.5367 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.3292, allocations: 5.031 kB / 0.5367 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.3293, allocations: 8.375 kB / 0.5367 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.3296, allocations: 151 kB / 0.5368 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008572/0.3304, allocations: 0.5731 MB / 0.5374 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.3306, allocations: 66.73 kB / 0.5375 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.3307, allocations: 33.27 kB / 0.5375 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.3308, allocations: 1.094 kB / 0.5375 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.3308, allocations: 31.5 kB / 0.5375 GB, free: 7.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.3308, allocations: 0.9688 kB / 0.5375 GB, free: 7.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004508/0.3313, allocations: 135.8 kB / 0.5377 GB, free: 7.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.3313, allocations: 55.41 kB / 0.5377 GB, free: 7.688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.3316, allocations: 255.1 kB / 0.538 GB, free: 7.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.3316, allocations: 25.7 kB / 0.538 GB, free: 7.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.3317, allocations: 172.2 kB / 0.5381 GB, free: 7.324 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.3318, allocations: 15.41 kB / 0.5382 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.567e-05/0.3318, allocations: 45.19 kB / 0.5382 GB, free: 7.277 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.332, allocations: 335 kB / 0.5385 GB, free: 6.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.3321, allocations: 42.56 kB / 0.5386 GB, free: 6.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.3324, allocations: 125.2 kB / 0.5387 GB, free: 6.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.3327, allocations: 182 kB / 0.5389 GB, free: 6.617 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.3327, allocations: 9.219 kB / 0.5389 GB, free: 6.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003994/0.3331, allocations: 195 kB / 0.5391 GB, free: 6.504 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3331, allocations: 8.656 kB / 0.5391 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.161e-05/0.3332, allocations: 19.34 kB / 0.5391 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3332, allocations: 9.156 kB / 0.5391 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.3333, allocations: 34.66 kB / 0.5391 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.3334, allocations: 8.5 kB / 0.5391 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.3335, allocations: 35.06 kB / 0.5392 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.3335, allocations: 13.45 kB / 0.5392 GB, free: 6.449 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 (17): * Single equations (assignments): 15 * 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.0001289/0.3336, allocations: 131 kB / 0.5393 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.3337, allocations: 20.08 kB / 0.5393 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.3341, allocations: 140.4 kB / 0.5395 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3341, allocations: 0.9062 kB / 0.5395 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3341, allocations: 3.938 kB / 0.5395 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3341, allocations: 1.156 kB / 0.5395 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.3343, allocations: 224.5 kB / 0.5397 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/0.3344, allocations: 7.938 kB / 0.5397 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.152e-05/0.3344, allocations: 9.672 kB / 0.5397 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3344, allocations: 0 / 0.5397 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.3345, allocations: 6.281 kB / 0.5397 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3345, allocations: 1.312 kB / 0.5397 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3345, allocations: 0 / 0.5397 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.3348, allocations: 211.1 kB / 0.5399 GB, free: 5.797 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.801e-05/0.3349, allocations: 101.5 kB / 0.54 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.3349, allocations: 1.094 kB / 0.54 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.335, allocations: 11.39 kB / 0.54 GB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.335, allocations: 3.188 kB / 0.54 GB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.3351, allocations: 3.531 kB / 0.54 GB, free: 5.676 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001625/0.3352, allocations: 183.4 kB / 0.5402 GB, free: 5.547 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3352, allocations: 0 / 0.5402 GB, free: 5.547 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003814/0.3356, allocations: 82.06 kB / 0.5403 GB, free: 5.523 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.0008046/0.3364, allocations: 0.799 MB / 0.541 GB, free: 4.793 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004337/0.3369, allocations: 176.5 kB / 0.5412 GB, free: 4.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3369, allocations: 0 / 0.5412 GB, free: 4.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.3371, allocations: 97.84 kB / 0.5413 GB, free: 4.602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.3375, allocations: 34.11 kB / 0.5413 GB, free: 4.578 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002897/0.3404, allocations: 2.386 MB / 0.5437 GB, free: 2.637 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.3407, allocations: 0.728 MB / 0.5444 GB, free: 1.918 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.835e-05/0.3408, allocations: 17.83 kB / 0.5444 GB, free: 1.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.994e-05/0.3409, allocations: 54.64 kB / 0.5444 GB, free: 1.863 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3409, allocations: 1.062 kB / 0.5445 GB, free: 1.863 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.3712, allocations: 6.824 MB / 0.5511 GB, free: 12.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.97, allocations: 8.5 kB / 0.5511 GB, free: 12.25 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches