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.001479/0.001479, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001845/0.001845, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2097/0.2097, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 71.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.347, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003299/0.3503, allocations: 2.139 MB / 0.5326 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.3523, allocations: 1.407 MB / 0.534 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.273e-05/0.3524, allocations: 0 / 0.534 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003119/0.3527, allocations: 90.78 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.3529, allocations: 76.3 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005087/0.3534, allocations: 201 kB / 0.5343 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.3536, allocations: 154.1 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.585e-05/0.3536, allocations: 16.56 kB / 0.5345 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.3538, allocations: 67.09 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.401e-05/0.3539, allocations: 62.91 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.354, allocations: 4.125 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005492/0.3545, allocations: 436 kB / 0.5351 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.755e-05/0.3546, allocations: 25.3 kB / 0.5351 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.893e-05/0.3546, allocations: 66.86 kB / 0.5351 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005501/0.3552, allocations: 438.7 kB / 0.5356 GB, free: 9.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3552, allocations: 1.312 kB / 0.5356 GB, free: 9.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3552, allocations: 0 / 0.5356 GB, free: 9.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.3552, allocations: 4 kB / 0.5356 GB, free: 9.516 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.0006534/0.3559, allocations: 0.4932 MB / 0.536 GB, free: 9.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3559, allocations: 8.969 kB / 0.5361 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.17e-05/0.356, allocations: 52.48 kB / 0.5361 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.356, allocations: 19.47 kB / 0.5361 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.3563, allocations: 213.6 kB / 0.5363 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.3563, allocations: 15.25 kB / 0.5363 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.3563, allocations: 19.31 kB / 0.5364 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003752/0.3567, allocations: 205.2 kB / 0.5366 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3567, allocations: 1.156 kB / 0.5366 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.3568, allocations: 9.031 kB / 0.5366 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.3568, allocations: 8.922 kB / 0.5366 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.3571, allocations: 146.7 kB / 0.5367 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008126/0.3579, allocations: 0.5686 MB / 0.5373 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.3581, allocations: 67.42 kB / 0.5373 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.3582, allocations: 32.77 kB / 0.5374 GB, free: 7.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.3583, allocations: 9.156 kB / 0.5374 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.3583, allocations: 31.88 kB / 0.5374 GB, free: 7.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.3583, allocations: 0 / 0.5374 GB, free: 7.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004586/0.3588, allocations: 131.7 kB / 0.5375 GB, free: 7.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.3588, allocations: 52.53 kB / 0.5376 GB, free: 7.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.3591, allocations: 266.3 kB / 0.5378 GB, free: 7.594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.3591, allocations: 25.7 kB / 0.5379 GB, free: 7.562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.3592, allocations: 167.7 kB / 0.538 GB, free: 7.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.3592, allocations: 11.16 kB / 0.538 GB, free: 7.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.339e-05/0.3593, allocations: 49.89 kB / 0.5381 GB, free: 7.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3594, allocations: 335.6 kB / 0.5384 GB, free: 7.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.3595, allocations: 41.25 kB / 0.5384 GB, free: 7.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.3597, allocations: 133.2 kB / 0.5386 GB, free: 6.863 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003122/0.3601, allocations: 181.8 kB / 0.5387 GB, free: 6.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3601, allocations: 1.156 kB / 0.5387 GB, free: 6.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003881/0.3605, allocations: 198.9 kB / 0.5389 GB, free: 6.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.3605, allocations: 8.969 kB / 0.5389 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-05/0.3605, allocations: 23.7 kB / 0.539 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.3606, allocations: 8.281 kB / 0.539 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.3607, allocations: 30.61 kB / 0.539 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.659e-06/0.3607, allocations: 4.719 kB / 0.539 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.3608, allocations: 31.92 kB / 0.539 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.3609, allocations: 13.84 kB / 0.539 GB, free: 6.535 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.0001224/0.361, allocations: 138.2 kB / 0.5392 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.361, allocations: 17.09 kB / 0.5392 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000373/0.3614, allocations: 142.9 kB / 0.5393 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3614, allocations: 1.094 kB / 0.5393 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3614, allocations: 0 / 0.5393 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.3614, allocations: 5.047 kB / 0.5393 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.3617, allocations: 217.4 kB / 0.5395 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/0.3617, allocations: 7.969 kB / 0.5395 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.245e-05/0.3618, allocations: 8.828 kB / 0.5396 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.3618, allocations: 0 / 0.5396 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.3618, allocations: 2.469 kB / 0.5396 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3618, allocations: 1.375 kB / 0.5396 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3618, allocations: 4 kB / 0.5396 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.3622, allocations: 214.7 kB / 0.5398 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.098e-05/0.3623, allocations: 91.05 kB / 0.5399 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.3623, allocations: 0 / 0.5399 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.974e-05/0.3624, allocations: 8.672 kB / 0.5399 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.3624, allocations: 3.219 kB / 0.5399 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.3625, allocations: 5.375 kB / 0.5399 GB, free: 5.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.3626, allocations: 184.8 kB / 0.54 GB, free: 5.641 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3626, allocations: 0 / 0.54 GB, free: 5.641 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003827/0.363, allocations: 78.41 kB / 0.5401 GB, free: 5.621 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.0008967/0.3639, allocations: 0.7988 MB / 0.5409 GB, free: 4.891 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005245/0.3645, allocations: 182.2 kB / 0.5411 GB, free: 4.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3645, allocations: 0.875 kB / 0.5411 GB, free: 4.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.3647, allocations: 106.2 kB / 0.5412 GB, free: 4.684 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.3651, allocations: 25.56 kB / 0.5412 GB, free: 4.668 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.3681, allocations: 2.373 MB / 0.5435 GB, free: 2.742 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.3684, allocations: 0.7317 MB / 0.5442 GB, free: 2.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.827e-05/0.3685, allocations: 13.02 kB / 0.5442 GB, free: 2.016 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.306e-05/0.3686, allocations: 55.64 kB / 0.5443 GB, free: 1.969 MB / 398.1 MB Notification: Performance of SimCode: time 6.02e-07/0.3686, allocations: 0 / 0.5443 GB, free: 1.969 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02743/0.396, allocations: 6.934 MB / 0.5511 GB, free: 12.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.47, allocations: 7.594 kB / 0.5511 GB, free: 12.32 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