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.001817/0.001818, allocations: 103.7 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.001555/0.001555, allocations: 208.6 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.316/1.316, 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.2007/0.2007, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 76.48 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1189, allocations: 62.43 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003531/0.1225, allocations: 2.028 MB / 482.2 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.124, allocations: 0.8256 MB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.1241, allocations: 8 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.1244, allocations: 63.64 kB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003668/0.1248, allocations: 123.4 kB / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.1251, allocations: 63.77 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003535/0.1255, allocations: 310.5 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.573e-05/0.1256, allocations: 36.39 kB / 483.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.1258, allocations: 127.4 kB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.1261, allocations: 151.3 kB / 483.9 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.1261, allocations: 8 kB / 483.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002444/0.1263, allocations: 135.8 kB / 484 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.409e-05/0.1265, allocations: 63.73 kB / 484.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.1266, allocations: 111.2 kB / 484.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003894/0.127, allocations: 343 kB / 484.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.127, allocations: 0 / 484.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.127, allocations: 0 / 484.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.127, allocations: 0 / 484.5 MB, free: 0.8047 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.000834/0.1278, allocations: 0.5576 MB / 485.1 MB, free: 204 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1279, allocations: 12.03 kB / 485.1 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.188e-05/0.128, allocations: 62.72 kB / 485.1 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.834e-05/0.1281, allocations: 36.56 kB / 485.2 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.1283, allocations: 256.1 kB / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.1284, allocations: 16.56 kB / 485.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.1284, allocations: 28 kB / 485.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000616/0.129, allocations: 393.2 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1291, allocations: 4 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.1291, allocations: 8 kB / 485.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-05/0.1291, allocations: 28.62 kB / 485.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007079/0.1299, allocations: 414.3 kB / 486.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.1312, allocations: 0.8695 MB / 487.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.1318, allocations: 281.4 kB / 487.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.132, allocations: 88.78 kB / 487.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.132, allocations: 15.98 kB / 487.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.1321, allocations: 38.5 kB / 487.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.1321, allocations: 0 / 487.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007192/0.1328, allocations: 329.1 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.1329, allocations: 55.41 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.1332, allocations: 351.2 kB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.1332, allocations: 29.7 kB / 488.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.1334, allocations: 168.1 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/0.1334, allocations: 47.3 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-05/0.1335, allocations: 49.7 kB / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.1337, allocations: 342.8 kB / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.1339, allocations: 91.89 kB / 489 MB, free: 12.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.1341, allocations: 141.9 kB / 489.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/0.1346, allocations: 252.2 kB / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1346, allocations: 4 kB / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005249/0.1351, allocations: 296.9 kB / 489.7 MB, free: 11.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1351, allocations: 6.656 kB / 489.7 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1351, allocations: 192 / 489.7 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.1352, allocations: 11.94 kB / 489.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005009/0.1357, allocations: 115.8 kB / 489.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.1377, allocations: 3.665 MB / 493.5 MB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.1379, allocations: 43.61 kB / 493.5 MB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.138, allocations: 8 kB / 493.5 MB, free: 7.367 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.0001731/0.1381, allocations: 176.1 kB / 493.7 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.309e-05/0.1382, allocations: 27.66 kB / 493.7 MB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006325/0.1388, allocations: 331.2 kB / 494.1 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1388, allocations: 4 kB / 494.1 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1389, allocations: 0 / 494.1 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1389, allocations: 0 / 494.1 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.1392, allocations: 313.3 kB / 494.4 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1392, allocations: 3.938 kB / 494.4 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004448/0.1397, allocations: 104 kB / 494.5 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.1397, allocations: 4 kB / 494.5 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.1397, allocations: 11.98 kB / 494.5 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/0.1415, allocations: 3.661 MB / 498.1 MB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.1416, allocations: 0 / 498.1 MB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005073/0.1421, allocations: 353.5 kB / 498.5 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-05/0.1421, allocations: 108.8 kB / 498.6 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.1422, allocations: 4 kB / 498.6 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.1424, allocations: 4 kB / 498.6 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.1424, allocations: 24.03 kB / 498.6 MB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.1424, allocations: 4 kB / 498.6 MB, free: 2.023 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002387/0.1427, allocations: 257.9 kB / 498.9 MB, free: 1.773 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1427, allocations: 0 / 498.9 MB, free: 1.773 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003471/0.143, allocations: 79.91 kB / 499 MB, free: 1.695 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.000885/0.1439, allocations: 0.8994 MB / 499.9 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008516/0.1448, allocations: 326.8 kB / 0.4885 GB, free: 464 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1448, allocations: 3.938 kB / 0.4885 GB, free: 460 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005531/0.1454, allocations: 195.8 kB / 0.4886 GB, free: 264 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.1458, allocations: 60.55 kB / 0.4887 GB, free: 204 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004177/0.1499, allocations: 3.402 MB / 0.492 GB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.1503, allocations: 0.8064 MB / 0.4928 GB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001574/0.1505, allocations: 66.22 kB / 0.4929 GB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.1506, allocations: 79.41 kB / 0.493 GB, free: 11.7 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1506, allocations: 0 / 0.493 GB, free: 11.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03136/0.182, allocations: 8.411 MB / 0.5012 GB, free: 3.531 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.31, allocations: 8.875 kB / 0.5012 GB, free: 3.523 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