Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0007956/0.0007956, allocations: 91.12 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008958/0.0008961, allocations: 180.2 kB / 18.26 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2021/0.2021, allocations: 44.24 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003691, allocations: 8 kB / 410.5 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1057, allocations: 61.92 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002021/0.1077, allocations: 1.703 MB / 474.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.109, allocations: 0.7908 MB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.1091, allocations: 0 / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.1094, allocations: 67.66 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003354/0.1098, allocations: 103.5 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.11, allocations: 63.81 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004208/0.1104, allocations: 446.4 kB / 475.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.644e-05/0.1105, allocations: 40.3 kB / 475.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.1107, allocations: 111.5 kB / 475.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.111, allocations: 159.3 kB / 475.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.111, allocations: 4 kB / 475.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002362/0.1112, allocations: 127.8 kB / 476 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.158e-05/0.1113, allocations: 63.69 kB / 476 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.1115, allocations: 140.9 kB / 476.2 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003792/0.1118, allocations: 334.9 kB / 476.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1119, allocations: 4 kB / 476.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1119, allocations: 0 / 476.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1119, allocations: 0 / 476.5 MB, free: 9.086 MB / 350.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.0007223/0.1126, allocations: 0.5148 MB / 477 MB, free: 8.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1127, allocations: 8.031 kB / 477 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.861e-05/0.1127, allocations: 70.67 kB / 477.1 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.847e-05/0.1128, allocations: 32.55 kB / 477.1 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.113, allocations: 252.2 kB / 477.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1131, allocations: 20.56 kB / 477.4 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.764e-05/0.1131, allocations: 27.92 kB / 477.4 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005824/0.1137, allocations: 397.2 kB / 477.8 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1137, allocations: 0 / 477.8 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.1137, allocations: 12 kB / 477.8 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.407e-05/0.1138, allocations: 24.64 kB / 477.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006588/0.1145, allocations: 422.3 kB / 478.3 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.1157, allocations: 0.8812 MB / 479.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005561/0.1162, allocations: 304.9 kB / 479.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.1164, allocations: 104.8 kB / 479.5 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.573e-05/0.1165, allocations: 16 kB / 479.6 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.1165, allocations: 30.56 kB / 479.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.153e-06/0.1165, allocations: 0 / 479.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007273/0.1172, allocations: 373.1 kB / 479.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.1173, allocations: 51.41 kB / 480 MB, free: 5.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.1176, allocations: 355.1 kB / 480.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.1176, allocations: 29.7 kB / 480.4 MB, free: 5.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.436e-05/0.1177, allocations: 160.2 kB / 480.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/0.1178, allocations: 55.3 kB / 480.6 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.1178, allocations: 21.7 kB / 480.6 MB, free: 4.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1179, allocations: 342.8 kB / 480.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.1181, allocations: 103.9 kB / 481 MB, free: 4.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.1184, allocations: 155.6 kB / 481.2 MB, free: 4.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004388/0.1188, allocations: 276.6 kB / 481.5 MB, free: 3.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1188, allocations: 0 / 481.5 MB, free: 3.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005402/0.1194, allocations: 324.9 kB / 481.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1194, allocations: 8 kB / 481.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1194, allocations: 3.938 kB / 481.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1194, allocations: 4 kB / 481.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/0.1199, allocations: 120.1 kB / 481.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.1217, allocations: 3.707 MB / 485.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.1219, allocations: 35.67 kB / 485.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.1219, allocations: 12 kB / 485.7 MB, free: 15.52 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.0001582/0.122, allocations: 169.7 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.1221, allocations: 27.66 kB / 485.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006422/0.1228, allocations: 363.1 kB / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1228, allocations: 3.984 kB / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1228, allocations: 0 / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.1228, allocations: 3.984 kB / 486.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.1231, allocations: 317.3 kB / 486.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1231, allocations: 0 / 486.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004502/0.1236, allocations: 115.9 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1236, allocations: 4 kB / 486.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.1236, allocations: 4 kB / 486.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/0.1253, allocations: 3.711 MB / 490.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1253, allocations: 3.984 kB / 490.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004967/0.1258, allocations: 374.2 kB / 490.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.037e-05/0.1259, allocations: 112.7 kB / 490.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.1259, allocations: 4 kB / 490.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.1261, allocations: 15.98 kB / 490.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.1261, allocations: 7.984 kB / 490.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.1262, allocations: 12 kB / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002277/0.1264, allocations: 253.9 kB / 491.1 MB, free: 9.809 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1264, allocations: 4 kB / 491.1 MB, free: 9.805 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003352/0.1268, allocations: 75.94 kB / 491.2 MB, free: 9.73 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.0008416/0.1276, allocations: 0.935 MB / 492.1 MB, free: 8.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008352/0.1284, allocations: 327.6 kB / 492.5 MB, free: 8.449 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1285, allocations: 0 / 492.5 MB, free: 8.449 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005591/0.129, allocations: 212.2 kB / 492.7 MB, free: 8.242 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.1294, allocations: 44.62 kB / 492.7 MB, free: 8.199 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.1333, allocations: 3.573 MB / 496.3 MB, free: 4.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.1336, allocations: 0.8025 MB / 497.1 MB, free: 3.672 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001524/0.1338, allocations: 66.22 kB / 497.2 MB, free: 3.609 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.1339, allocations: 75.41 kB / 497.2 MB, free: 3.535 MB / 366.1 MB Notification: Performance of SimCode: time 1.703e-06/0.1339, allocations: 0 / 497.2 MB, free: 3.535 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.735/3.869, allocations: 7.955 MB / 0.4933 GB, free: 11.89 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/3.87, allocations: 285.9 kB / 0.4936 GB, free: 11.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.281/6.15, allocations: 4 kB / 0.4936 GB, free: 11.52 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches