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.001106/0.001106, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0012/0.0012, allocations: 206.4 kB / 18.58 MB, free: 4.582 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.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2116/0.2116, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 75.16 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09659/0.0979, allocations: 62.44 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003021/0.1009, allocations: 2.117 MB / 482.3 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002264/0.1032, allocations: 1.717 MB / 484 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.822e-05/0.1034, allocations: 4 kB / 484 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.1036, allocations: 83.44 kB / 484.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.1038, allocations: 67.41 kB / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008132/0.1046, allocations: 354.6 kB / 484.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.1048, allocations: 147 kB / 484.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.1049, allocations: 16.3 kB / 484.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.795e-05/0.1049, allocations: 47.73 kB / 484.7 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.371e-05/0.105, allocations: 63.59 kB / 484.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.105, allocations: 8 kB / 484.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.1062, allocations: 0.784 MB / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.123e-05/0.1062, allocations: 27.8 kB / 485.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.155e-05/0.1063, allocations: 71.48 kB / 485.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006773/0.107, allocations: 0.5919 MB / 486.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.107, allocations: 0 / 486.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.107, allocations: 0 / 486.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.107, allocations: 3.938 kB / 486.2 MB, free: 15.07 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.0005978/0.1076, allocations: 0.5132 MB / 486.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.1076, allocations: 12.03 kB / 486.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.786e-05/0.1077, allocations: 58.67 kB / 486.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.1078, allocations: 24.66 kB / 486.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.1079, allocations: 219.6 kB / 487 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.1079, allocations: 12.44 kB / 487.1 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.108, allocations: 20 kB / 487.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.1083, allocations: 267.5 kB / 487.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1084, allocations: 0 / 487.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.1084, allocations: 4 kB / 487.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.1084, allocations: 11.98 kB / 487.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.1087, allocations: 153.3 kB / 487.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008755/0.1096, allocations: 0.9041 MB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.1098, allocations: 58.55 kB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.1099, allocations: 40.94 kB / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.1099, allocations: 0 / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.11, allocations: 34.5 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.11, allocations: 0 / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004149/0.1104, allocations: 133.3 kB / 488.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.1104, allocations: 59.39 kB / 488.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.1106, allocations: 262.9 kB / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1107, allocations: 33.64 kB / 489 MB, free: 12.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.977e-05/0.1108, allocations: 179.1 kB / 489.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.1108, allocations: 19.75 kB / 489.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.049e-05/0.1109, allocations: 57.59 kB / 489.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.461e-05/0.111, allocations: 326.8 kB / 489.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.1111, allocations: 52.19 kB / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.1113, allocations: 184.1 kB / 489.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/0.1117, allocations: 259.4 kB / 490.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1117, allocations: 4 kB / 490.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000436/0.1121, allocations: 252.8 kB / 490.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1121, allocations: 8 kB / 490.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/0.1122, allocations: 16 kB / 490.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.1122, allocations: 12.62 kB / 490.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.1124, allocations: 47.91 kB / 490.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.1124, allocations: 12.12 kB / 490.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.1125, allocations: 47.58 kB / 490.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.1126, allocations: 12 kB / 490.5 MB, free: 10.42 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 0.0001062/0.1127, allocations: 141.7 kB / 490.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.1127, allocations: 19.72 kB / 490.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003487/0.1131, allocations: 138.9 kB / 490.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.1131, allocations: 7.938 kB / 490.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1131, allocations: 0 / 490.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1131, allocations: 0 / 490.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.1133, allocations: 217.5 kB / 491 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/0.1134, allocations: 8 kB / 491 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.99e-05/0.1134, allocations: 11.98 kB / 491 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1134, allocations: 0 / 491 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1134, allocations: 8 kB / 491 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1134, allocations: 7.875 kB / 491 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1134, allocations: 0 / 491 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.1137, allocations: 203.2 kB / 491.2 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.1138, allocations: 92.92 kB / 491.3 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.1138, allocations: 4 kB / 491.3 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.876e-05/0.1139, allocations: 7.922 kB / 491.3 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.114, allocations: 4 kB / 491.3 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.114, allocations: 4 kB / 491.3 MB, free: 9.457 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001404/0.1141, allocations: 189.9 kB / 491.5 MB, free: 9.273 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1141, allocations: 0 / 491.5 MB, free: 9.273 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004418/0.1146, allocations: 104 kB / 491.6 MB, free: 9.172 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.0008285/0.1154, allocations: 0.8409 MB / 492.5 MB, free: 8.305 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004312/0.1159, allocations: 188.8 kB / 492.6 MB, free: 8.109 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1159, allocations: 0 / 492.6 MB, free: 8.109 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.1161, allocations: 107.3 kB / 492.8 MB, free: 7.992 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.1164, allocations: 36.89 kB / 492.8 MB, free: 7.957 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/0.1191, allocations: 2.499 MB / 495.3 MB, free: 5.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.1194, allocations: 0.7285 MB / 496 MB, free: 4.492 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.048e-05/0.1195, allocations: 25.94 kB / 496 MB, free: 4.465 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.537e-05/0.1196, allocations: 59.41 kB / 496.1 MB, free: 4.406 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1196, allocations: 0 / 496.1 MB, free: 4.406 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09528/0.2149, allocations: 8.923 MB / 0.4932 GB, free: 11.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.71, allocations: 3.25 kB / 0.4932 GB, free: 11.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