Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.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.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000822/0.0008222, allocations: 96.44 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009703/0.0009703, allocations: 201.1 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1886/0.1886, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002448/0.0002448, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1064, allocations: 63.56 MB / 483.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002404/0.1088, allocations: 1.724 MB / 484.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.1102, allocations: 0.8219 MB / 485.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.64e-05/0.1103, allocations: 0 / 485.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.1106, allocations: 63.66 kB / 485.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.111, allocations: 111.5 kB / 485.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.1112, allocations: 59.19 kB / 486 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004463/0.1116, allocations: 450.4 kB / 486.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.163e-05/0.1117, allocations: 36.38 kB / 486.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002475/0.112, allocations: 119.4 kB / 486.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.1122, allocations: 151.3 kB / 486.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.1123, allocations: 8 kB / 486.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.1125, allocations: 127.8 kB / 486.8 MB, free: 400 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.157e-05/0.1126, allocations: 67.73 kB / 486.9 MB, free: 332 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.1128, allocations: 140.9 kB / 487.1 MB, free: 184 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000436/0.1132, allocations: 326.9 kB / 487.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1132, allocations: 0 / 487.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1132, allocations: 0 / 487.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.954e-06/0.1132, allocations: 0 / 487.4 MB, free: 15.86 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0008652/0.1141, allocations: 0.5186 MB / 487.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1141, allocations: 8.875 kB / 487.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.446e-05/0.1142, allocations: 82.64 kB / 488 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.545e-05/0.1143, allocations: 32.56 kB / 488 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.1146, allocations: 240.2 kB / 488.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.1146, allocations: 24.5 kB / 488.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.08e-05/0.1146, allocations: 31.92 kB / 488.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006328/0.1153, allocations: 393.2 kB / 488.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1153, allocations: 4 kB / 488.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.1153, allocations: 8 kB / 488.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.691e-05/0.1154, allocations: 28.62 kB / 488.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007157/0.1161, allocations: 422.3 kB / 489.1 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.1174, allocations: 0.8734 MB / 490 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006413/0.1181, allocations: 308.8 kB / 490.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.1183, allocations: 116.7 kB / 490.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.1184, allocations: 0 / 490.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.511e-05/0.1184, allocations: 38.56 kB / 490.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.092e-06/0.1184, allocations: 0 / 490.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007959/0.1192, allocations: 365.1 kB / 490.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.1193, allocations: 59.41 kB / 490.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003553/0.1197, allocations: 347.1 kB / 491.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.1197, allocations: 33.7 kB / 491.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.1198, allocations: 160.2 kB / 491.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.97e-05/0.1199, allocations: 51.38 kB / 491.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.1199, allocations: 21.72 kB / 491.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002286/0.1202, allocations: 346.7 kB / 491.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.1204, allocations: 103.9 kB / 491.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.1206, allocations: 153.9 kB / 492.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004761/0.1211, allocations: 280.2 kB / 492.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.1211, allocations: 0 / 492.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006097/0.1218, allocations: 329 kB / 492.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1218, allocations: 4 kB / 492.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1218, allocations: 4 kB / 492.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1218, allocations: 0 / 492.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005321/0.1224, allocations: 119.9 kB / 492.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.1245, allocations: 3.711 MB / 496.5 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.1247, allocations: 27.69 kB / 496.5 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.1248, allocations: 15.98 kB / 496.5 MB, free: 6.281 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001794/0.125, allocations: 177.9 kB / 496.7 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.125, allocations: 27.66 kB / 496.7 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007212/0.1257, allocations: 363 kB / 497.1 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1258, allocations: 4 kB / 497.1 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1258, allocations: 4 kB / 497.1 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1258, allocations: 0 / 497.1 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000417/0.1262, allocations: 305.4 kB / 497.4 MB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1262, allocations: 0 / 497.4 MB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004992/0.1267, allocations: 115.9 kB / 497.5 MB, free: 5.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.1267, allocations: 0 / 497.5 MB, free: 5.234 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.1267, allocations: 8 kB / 497.5 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00201/0.1288, allocations: 3.707 MB / 0.4895 GB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1288, allocations: 0 / 0.4895 GB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.1294, allocations: 378.4 kB / 0.4898 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.562e-05/0.1295, allocations: 112.7 kB / 0.49 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.1295, allocations: 8 kB / 0.49 GB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.1297, allocations: 15.94 kB / 0.49 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.1297, allocations: 19.97 kB / 0.49 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.1298, allocations: 4 kB / 0.49 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002445/0.13, allocations: 253.9 kB / 0.4902 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.13, allocations: 4 kB / 0.4902 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003557/0.1304, allocations: 72.06 kB / 0.4903 GB, free: 0.5 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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009908/0.1314, allocations: 0.9383 MB / 0.4912 GB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009128/0.1323, allocations: 328 kB / 0.4915 GB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1323, allocations: 4 kB / 0.4915 GB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006035/0.1329, allocations: 206.5 kB / 0.4917 GB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.1333, allocations: 56.59 kB / 0.4918 GB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004184/0.1375, allocations: 3.564 MB / 0.4953 GB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.1379, allocations: 0.7987 MB / 0.4961 GB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001635/0.1381, allocations: 70.2 kB / 0.4961 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.1382, allocations: 79.41 kB / 0.4962 GB, free: 10.3 MB / 382.1 MB Notification: Performance of SimCode: time 1.763e-06/0.1382, allocations: 4 kB / 0.4962 GB, free: 10.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.039/0.1772, allocations: 7.947 MB / 0.504 GB, free: 2.641 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/0.1775, allocations: 298.8 kB / 0.5042 GB, free: 2.262 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.105, allocations: 0 / 0.5042 GB, free: 2.262 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches