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.001105/0.001105, allocations: 106.4 kB / 17.77 MB, free: 5.273 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.001128/0.001128, allocations: 187.9 kB / 18.71 MB, free: 4.348 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.304/1.304, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.205/0.205, allocations: 44.18 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001382, allocations: 60.09 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3819, allocations: 60.82 MB / 0.5184 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003488/0.3854, allocations: 2.006 MB / 0.5204 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.3867, allocations: 0.7997 MB / 0.5212 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.508e-05/0.3868, allocations: 6.281 kB / 0.5212 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002977/0.3872, allocations: 70.7 kB / 0.5212 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.3875, allocations: 110 kB / 0.5214 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.3877, allocations: 68.2 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000337/0.3881, allocations: 316.5 kB / 0.5217 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.366e-05/0.3882, allocations: 38.28 kB / 0.5218 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.3884, allocations: 127 kB / 0.5219 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.3886, allocations: 141.8 kB / 0.522 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.3886, allocations: 16 kB / 0.522 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000259/0.3889, allocations: 126.3 kB / 0.5221 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.389, allocations: 64.56 kB / 0.5222 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.3891, allocations: 113.1 kB / 0.5223 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004273/0.3895, allocations: 345.2 kB / 0.5226 GB, free: 0.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3896, allocations: 0 / 0.5226 GB, free: 0.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3896, allocations: 0 / 0.5226 GB, free: 0.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.3896, allocations: 1.031 kB / 0.5226 GB, free: 0.707 MB / 382.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.000768/0.3904, allocations: 0.5624 MB / 0.5232 GB, free: 236 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3904, allocations: 9.812 kB / 0.5232 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.683e-05/0.3905, allocations: 65.12 kB / 0.5233 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.25e-05/0.3905, allocations: 35.69 kB / 0.5233 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.3908, allocations: 250.9 kB / 0.5235 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.3909, allocations: 18.84 kB / 0.5236 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/0.3909, allocations: 28.45 kB / 0.5236 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006943/0.3916, allocations: 393.5 kB / 0.524 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3916, allocations: 3.938 kB / 0.524 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.3917, allocations: 11.11 kB / 0.524 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.793e-05/0.3917, allocations: 27.06 kB / 0.524 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000844/0.3926, allocations: 409.6 kB / 0.5244 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.3941, allocations: 0.8652 MB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006142/0.3947, allocations: 278.2 kB / 0.5255 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.3949, allocations: 96.69 kB / 0.5256 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.395, allocations: 8.125 kB / 0.5256 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.395, allocations: 32.64 kB / 0.5256 GB, free: 15.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.253e-06/0.395, allocations: 0 / 0.5256 GB, free: 15.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007206/0.3957, allocations: 339 kB / 0.526 GB, free: 14.94 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.3958, allocations: 56.72 kB / 0.526 GB, free: 14.87 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.3961, allocations: 355.6 kB / 0.5264 GB, free: 14.65 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.3962, allocations: 29.7 kB / 0.5264 GB, free: 14.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.3963, allocations: 158.9 kB / 0.5265 GB, free: 14.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.989e-05/0.3963, allocations: 49.92 kB / 0.5266 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.066e-05/0.3964, allocations: 51.55 kB / 0.5266 GB, free: 14.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3966, allocations: 342.1 kB / 0.527 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.3968, allocations: 95.14 kB / 0.527 GB, free: 14.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.397, allocations: 135.3 kB / 0.5272 GB, free: 13.92 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004195/0.3974, allocations: 252.9 kB / 0.5274 GB, free: 13.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3974, allocations: 4 kB / 0.5274 GB, free: 13.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005313/0.398, allocations: 300.8 kB / 0.5277 GB, free: 13.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.398, allocations: 6.75 kB / 0.5277 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.398, allocations: 1.312 kB / 0.5277 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.398, allocations: 2.594 kB / 0.5277 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000543/0.3986, allocations: 121 kB / 0.5278 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/0.4007, allocations: 3.668 MB / 0.5314 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.4009, allocations: 37.55 kB / 0.5315 GB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.401, allocations: 12.5 kB / 0.5315 GB, free: 9.91 MB / 398.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.000189/0.4012, allocations: 173.5 kB / 0.5316 GB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.748e-05/0.4012, allocations: 28.31 kB / 0.5317 GB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006627/0.4019, allocations: 328.3 kB / 0.532 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.4019, allocations: 6.094 kB / 0.532 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4019, allocations: 0 / 0.532 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.402, allocations: 1.156 kB / 0.532 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003764/0.4023, allocations: 304.5 kB / 0.5323 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4023, allocations: 3.938 kB / 0.5323 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004457/0.4028, allocations: 103 kB / 0.5324 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.4028, allocations: 1.375 kB / 0.5324 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/0.4029, allocations: 10.7 kB / 0.5324 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/0.4047, allocations: 3.666 MB / 0.536 GB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.4047, allocations: 1.781 kB / 0.536 GB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005129/0.4052, allocations: 353 kB / 0.5363 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.297e-05/0.4053, allocations: 103.3 kB / 0.5364 GB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.4053, allocations: 5.156 kB / 0.5364 GB, free: 5.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.4055, allocations: 8.578 kB / 0.5364 GB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.4056, allocations: 18.95 kB / 0.5364 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.4056, allocations: 4.625 kB / 0.5364 GB, free: 5.254 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002541/0.4058, allocations: 256.2 kB / 0.5367 GB, free: 5.094 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4058, allocations: 5.219 kB / 0.5367 GB, free: 5.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003802/0.4062, allocations: 76.03 kB / 0.5368 GB, free: 5.074 MB / 398.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.0008961/0.4071, allocations: 0.9088 MB / 0.5376 GB, free: 4.301 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008125/0.4079, allocations: 310.7 kB / 0.5379 GB, free: 4.191 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.408, allocations: 384 / 0.5379 GB, free: 4.191 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005408/0.4085, allocations: 195.7 kB / 0.5381 GB, free: 4.121 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.4089, allocations: 64.14 kB / 0.5382 GB, free: 4.086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004157/0.4131, allocations: 3.378 MB / 0.5415 GB, free: 1.801 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.4135, allocations: 0.8073 MB / 0.5423 GB, free: 1.043 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001662/0.4137, allocations: 67.97 kB / 0.5423 GB, free: 1.016 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.4138, allocations: 76.53 kB / 0.5424 GB, free: 0.957 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4138, allocations: 0 / 0.5424 GB, free: 0.957 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03208/0.4459, allocations: 8.728 MB / 0.5509 GB, free: 10.33 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.57, allocations: 16.62 kB / 0.5509 GB, free: 10.32 MB / 414.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