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.001072/0.001073, allocations: 92.59 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001333/0.001333, allocations: 204.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1908/0.1908, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002464/0.0002464, allocations: 4 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1089, allocations: 63.56 MB / 483.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.002204/0.1111, allocations: 1.825 MB / 485 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002357/0.1135, allocations: 1.784 MB / 486.8 MB, free: 432 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.406e-05/0.1136, allocations: 4 kB / 486.8 MB, free: 428 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.1139, allocations: 79.56 kB / 486.9 MB, free: 348 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.114, allocations: 59.48 kB / 486.9 MB, free: 288 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000636/0.1146, allocations: 275.1 kB / 487.2 MB, free: 12 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.1148, allocations: 166.9 kB / 487.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.737e-05/0.1149, allocations: 16.3 kB / 487.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.27e-05/0.1149, allocations: 47.73 kB / 487.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.71e-05/0.115, allocations: 63.58 kB / 487.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.1151, allocations: 4 kB / 487.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009827/0.116, allocations: 0.788 MB / 488.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.546e-05/0.1161, allocations: 27.83 kB / 488.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.449e-05/0.1162, allocations: 101.1 kB / 488.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005928/0.1168, allocations: 0.5841 MB / 489 MB, free: 14.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1168, allocations: 0 / 489 MB, free: 14.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1168, allocations: 0 / 489 MB, free: 14.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.838e-06/0.1168, allocations: 0 / 489 MB, free: 14.21 MB / 366.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.0005321/0.1174, allocations: 491.2 kB / 489.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.1174, allocations: 8.031 kB / 489.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/0.1174, allocations: 54.73 kB / 489.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.1175, allocations: 24.66 kB / 489.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.1177, allocations: 216.2 kB / 489.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1177, allocations: 16.44 kB / 489.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.1177, allocations: 16 kB / 489.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.1181, allocations: 263.6 kB / 490.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1181, allocations: 7.984 kB / 490.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.1181, allocations: 8 kB / 490.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.1181, allocations: 7.938 kB / 490.1 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.1185, allocations: 173.3 kB / 490.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008209/0.1193, allocations: 0.8963 MB / 491.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.1195, allocations: 66.55 kB / 491.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.1196, allocations: 44.94 kB / 491.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.1196, allocations: 0 / 491.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.1196, allocations: 34.56 kB / 491.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.1197, allocations: 0 / 491.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004329/0.1201, allocations: 161.2 kB / 491.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.1201, allocations: 51.41 kB / 491.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.1204, allocations: 266.9 kB / 491.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.1204, allocations: 29.64 kB / 491.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.272e-05/0.1205, allocations: 183.1 kB / 492 MB, free: 11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.1205, allocations: 27.64 kB / 492 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.1205, allocations: 21.72 kB / 492 MB, free: 10.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.374e-05/0.1206, allocations: 334.8 kB / 492.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.1208, allocations: 48.19 kB / 492.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.121, allocations: 202 kB / 492.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/0.1213, allocations: 263.4 kB / 492.9 MB, free: 9.961 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.1214, allocations: 4 kB / 492.9 MB, free: 9.957 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004388/0.1218, allocations: 261.5 kB / 493.1 MB, free: 9.695 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1218, allocations: 12.06 kB / 493.1 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/0.1219, allocations: 16 kB / 493.1 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1219, allocations: 7.938 kB / 493.1 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.122, allocations: 55.91 kB / 493.2 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.122, allocations: 4 kB / 493.2 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.1222, allocations: 47.58 kB / 493.3 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.1222, allocations: 12 kB / 493.3 MB, free: 9.543 MB / 366.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 9.524e-05/0.1223, allocations: 137.7 kB / 493.4 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.1224, allocations: 19.72 kB / 493.4 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003635/0.1227, allocations: 150.9 kB / 493.6 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1228, allocations: 7.969 kB / 493.6 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1228, allocations: 3.984 kB / 493.6 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1228, allocations: 0 / 493.6 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.123, allocations: 221.5 kB / 493.8 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.675e-05/0.123, allocations: 8 kB / 493.8 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.456e-05/0.1231, allocations: 15.98 kB / 493.8 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1231, allocations: 0 / 493.8 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1231, allocations: 4 kB / 493.8 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1231, allocations: 4.125 kB / 493.8 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.1231, allocations: 4 kB / 493.8 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.1234, allocations: 219.2 kB / 494 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.1235, allocations: 100.8 kB / 494.1 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.1235, allocations: 0 / 494.1 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1236, allocations: 15.92 kB / 494.2 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.1236, allocations: 4 kB / 494.2 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.1236, allocations: 4 kB / 494.2 MB, free: 8.535 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.1238, allocations: 185.9 kB / 494.3 MB, free: 8.355 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1238, allocations: 0 / 494.3 MB, free: 8.355 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004249/0.1242, allocations: 108 kB / 494.5 MB, free: 8.25 MB / 366.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.000792/0.125, allocations: 0.8449 MB / 495.3 MB, free: 7.379 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004118/0.1254, allocations: 200.5 kB / 495.5 MB, free: 7.172 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1255, allocations: 4 kB / 495.5 MB, free: 7.168 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.1257, allocations: 107.4 kB / 495.6 MB, free: 7.051 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.126, allocations: 32.3 kB / 495.6 MB, free: 7.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.1285, allocations: 2.607 MB / 498.2 MB, free: 4.199 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.1288, allocations: 0.7323 MB / 499 MB, free: 3.441 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.331e-05/0.1289, allocations: 25.94 kB / 499 MB, free: 3.414 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.795e-05/0.1289, allocations: 55.42 kB / 499.1 MB, free: 3.359 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1289, allocations: 0 / 499.1 MB, free: 3.359 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9942/1.123, allocations: 8.545 MB / 0.4957 GB, free: 11.07 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003215/1.123, allocations: 285.5 kB / 0.496 GB, free: 10.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.341/4.464, allocations: 0 / 0.496 GB, free: 10.68 MB / 382.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