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.00144/0.00144, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001744/0.001744, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2135/0.2135, allocations: 46.09 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 79.88 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3397, allocations: 62.43 MB / 0.5305 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003392/0.3431, allocations: 2.124 MB / 0.5326 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.3456, allocations: 1.712 MB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.3457, allocations: 1.375 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.346, allocations: 86.81 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.3462, allocations: 63.67 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008267/0.347, allocations: 361.6 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.3472, allocations: 149.9 kB / 0.5349 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.074e-05/0.3473, allocations: 29.66 kB / 0.5349 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.531e-05/0.3474, allocations: 47.53 kB / 0.535 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.418e-05/0.3475, allocations: 58.22 kB / 0.535 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.3475, allocations: 8.312 kB / 0.535 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.3486, allocations: 0.7903 MB / 0.5358 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.102e-05/0.3487, allocations: 30.66 kB / 0.5358 GB, free: 9.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.795e-05/0.3488, allocations: 65.69 kB / 0.5359 GB, free: 9.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007647/0.3496, allocations: 0.5972 MB / 0.5365 GB, free: 8.895 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3496, allocations: 3.938 kB / 0.5365 GB, free: 8.891 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3496, allocations: 0 / 0.5365 GB, free: 8.891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3496, allocations: 0 / 0.5365 GB, free: 8.891 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.0007276/0.3503, allocations: 0.5112 MB / 0.537 GB, free: 8.402 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.3504, allocations: 9.125 kB / 0.537 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.625e-05/0.3505, allocations: 56.91 kB / 0.5371 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.3505, allocations: 23.81 kB / 0.5371 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.3507, allocations: 206.7 kB / 0.5373 GB, free: 8.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.3508, allocations: 17.44 kB / 0.5373 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.3508, allocations: 15.75 kB / 0.5373 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004488/0.3513, allocations: 266.2 kB / 0.5376 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3513, allocations: 1.125 kB / 0.5376 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.3513, allocations: 9.969 kB / 0.5376 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.3513, allocations: 5.156 kB / 0.5376 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.3516, allocations: 157.2 kB / 0.5377 GB, free: 7.824 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.3527, allocations: 0.9078 MB / 0.5386 GB, free: 6.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.3529, allocations: 66.61 kB / 0.5387 GB, free: 6.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.353, allocations: 33.14 kB / 0.5387 GB, free: 6.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.3531, allocations: 1.469 kB / 0.5387 GB, free: 6.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.3531, allocations: 38.48 kB / 0.5388 GB, free: 6.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.3531, allocations: 1.438 kB / 0.5388 GB, free: 6.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000427/0.3535, allocations: 133.7 kB / 0.5389 GB, free: 6.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.3536, allocations: 52.84 kB / 0.5389 GB, free: 6.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.3538, allocations: 265.5 kB / 0.5392 GB, free: 6.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.3538, allocations: 29.7 kB / 0.5392 GB, free: 6.516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.354, allocations: 185.1 kB / 0.5394 GB, free: 6.344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.354, allocations: 23.09 kB / 0.5394 GB, free: 6.324 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.836e-05/0.3541, allocations: 50.27 kB / 0.5395 GB, free: 6.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.3542, allocations: 332 kB / 0.5398 GB, free: 5.961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.3543, allocations: 43.02 kB / 0.5398 GB, free: 5.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.3545, allocations: 201 kB / 0.54 GB, free: 5.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.3549, allocations: 258.9 kB / 0.5403 GB, free: 5.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.3549, allocations: 1.062 kB / 0.5403 GB, free: 5.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004569/0.3554, allocations: 255.8 kB / 0.5405 GB, free: 5.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.3554, allocations: 11.39 kB / 0.5405 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.063e-05/0.3554, allocations: 12.72 kB / 0.5405 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.3555, allocations: 10.47 kB / 0.5405 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.3556, allocations: 43.17 kB / 0.5406 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.065e-05/0.3557, allocations: 14.23 kB / 0.5406 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.3558, allocations: 46.31 kB / 0.5406 GB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.3559, allocations: 17.25 kB / 0.5406 GB, free: 5.262 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.0001163/0.356, allocations: 138 kB / 0.5408 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.356, allocations: 19.41 kB / 0.5408 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003447/0.3564, allocations: 136.8 kB / 0.5409 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3564, allocations: 3.938 kB / 0.5409 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3564, allocations: 1.531 kB / 0.5409 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3564, allocations: 0 / 0.5409 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.3567, allocations: 220.5 kB / 0.5411 GB, free: 4.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/0.3567, allocations: 13.06 kB / 0.5412 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.116e-05/0.3567, allocations: 12.42 kB / 0.5412 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3568, allocations: 1.625 kB / 0.5412 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.3568, allocations: 1.688 kB / 0.5412 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.3568, allocations: 3.938 kB / 0.5412 GB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3568, allocations: 0 / 0.5412 GB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.3571, allocations: 200.3 kB / 0.5414 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.3571, allocations: 97.19 kB / 0.5415 GB, free: 4.504 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.3572, allocations: 9.625 kB / 0.5415 GB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.843e-05/0.3573, allocations: 10.86 kB / 0.5415 GB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.3573, allocations: 10.98 kB / 0.5415 GB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.3573, allocations: 2.719 kB / 0.5415 GB, free: 4.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.3575, allocations: 180.6 kB / 0.5417 GB, free: 4.355 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3575, allocations: 0 / 0.5417 GB, free: 4.355 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005147/0.358, allocations: 116.6 kB / 0.5418 GB, free: 4.324 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.0008869/0.3589, allocations: 0.8327 MB / 0.5426 GB, free: 3.582 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004628/0.3594, allocations: 189.8 kB / 0.5428 GB, free: 3.469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.3594, allocations: 7.938 kB / 0.5428 GB, free: 3.461 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.3596, allocations: 98.81 kB / 0.5429 GB, free: 3.383 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.36, allocations: 33.09 kB / 0.5429 GB, free: 3.355 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.3627, allocations: 2.495 MB / 0.5453 GB, free: 1.273 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.363, allocations: 0.7328 MB / 0.5461 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.332e-05/0.3631, allocations: 30 kB / 0.5461 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.184e-05/0.3632, allocations: 60.11 kB / 0.5461 GB, free: 484 kB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3632, allocations: 0 / 0.5461 GB, free: 484 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.3905, allocations: 9.132 MB / 0.5551 GB, free: 8.113 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.82, allocations: 11.88 kB / 0.5551 GB, free: 8.105 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