Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_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.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_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.001724/0.001725, allocations: 113.2 kB / 17.78 MB, free: 5.258 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.002098/0.002098, allocations: 184.2 kB / 18.72 MB, free: 4.332 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.446/1.446, 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.217/0.217, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 64.08 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3418, allocations: 60.82 MB / 0.5184 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.003322/0.3452, allocations: 1.691 MB / 0.5201 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.3466, allocations: 0.7247 MB / 0.5208 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.178e-05/0.3467, allocations: 5.156 kB / 0.5208 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.347, allocations: 34.55 kB / 0.5208 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003674/0.3473, allocations: 67.61 kB / 0.5209 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.3476, allocations: 54.91 kB / 0.521 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.3479, allocations: 156.1 kB / 0.5211 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.627e-05/0.348, allocations: 13.62 kB / 0.5211 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.3481, allocations: 60.2 kB / 0.5212 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.3483, allocations: 77.19 kB / 0.5213 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.3483, allocations: 4.875 kB / 0.5213 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002179/0.3485, allocations: 67.53 kB / 0.5213 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.658e-05/0.3486, allocations: 49.25 kB / 0.5214 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.611e-05/0.3487, allocations: 60.94 kB / 0.5214 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000351/0.3491, allocations: 177.8 kB / 0.5216 GB, free: 1.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3491, allocations: 1 kB / 0.5216 GB, free: 1.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3491, allocations: 0 / 0.5216 GB, free: 1.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.3491, allocations: 0 / 0.5216 GB, free: 1.262 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006762/0.3498, allocations: 467.6 kB / 0.522 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.3499, allocations: 9.109 kB / 0.5221 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.736e-05/0.3499, allocations: 48.09 kB / 0.5221 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007/0.3506, allocations: 77.23 kB / 0.5222 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.3509, allocations: 213.2 kB / 0.5224 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.3509, allocations: 13.08 kB / 0.5224 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.3509, allocations: 13.77 kB / 0.5224 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005875/0.3515, allocations: 261.5 kB / 0.5226 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3516, allocations: 0 / 0.5226 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.3516, allocations: 5.125 kB / 0.5227 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-05/0.3516, allocations: 17.19 kB / 0.5227 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006535/0.3523, allocations: 241.9 kB / 0.5229 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.3538, allocations: 0.6636 MB / 0.5235 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006438/0.3544, allocations: 221.6 kB / 0.5238 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.3547, allocations: 86.41 kB / 0.5238 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.3547, allocations: 2.609 kB / 0.5238 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.3548, allocations: 40.47 kB / 0.5239 GB, free: 15.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.873e-06/0.3548, allocations: 0 / 0.5239 GB, free: 15.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009893/0.3558, allocations: 290.1 kB / 0.5242 GB, free: 15.74 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.3559, allocations: 57.83 kB / 0.5242 GB, free: 15.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.3562, allocations: 226.6 kB / 0.5244 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.3563, allocations: 28.89 kB / 0.5245 GB, free: 15.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.3564, allocations: 119 kB / 0.5246 GB, free: 15.4 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.021e-05/0.3565, allocations: 48.36 kB / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.3566, allocations: 39.62 kB / 0.5247 GB, free: 15.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.3568, allocations: 333 kB / 0.525 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.3571, allocations: 84.52 kB / 0.5251 GB, free: 15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/0.3574, allocations: 114 kB / 0.5252 GB, free: 14.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005867/0.358, allocations: 203.5 kB / 0.5254 GB, free: 14.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.358, allocations: 0 / 0.5254 GB, free: 14.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007006/0.3588, allocations: 252.1 kB / 0.5256 GB, free: 14.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.3588, allocations: 5.906 kB / 0.5256 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3588, allocations: 1.375 kB / 0.5256 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.3588, allocations: 5.781 kB / 0.5256 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003205/0.362, allocations: 274.6 kB / 0.5259 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/0.3739, allocations: 9.242 MB / 0.5349 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003938/0.3743, allocations: 26.39 kB / 0.5349 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.3743, allocations: 12.77 kB / 0.5349 GB, free: 5.406 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 initialization (16): * Single equations (assignments): 10 * 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.0002312/0.3746, allocations: 141.2 kB / 0.5351 GB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.329e-05/0.3747, allocations: 19.28 kB / 0.5351 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007627/0.3754, allocations: 246.2 kB / 0.5353 GB, free: 5.109 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3755, allocations: 1.75 kB / 0.5353 GB, free: 5.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.3755, allocations: 4 kB / 0.5353 GB, free: 5.105 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3755, allocations: 1.125 kB / 0.5353 GB, free: 5.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004084/0.3759, allocations: 246 kB / 0.5356 GB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3759, allocations: 0 / 0.5356 GB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002281/0.3782, allocations: 212.2 kB / 0.5358 GB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.3782, allocations: 5.375 kB / 0.5358 GB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.3783, allocations: 9.141 kB / 0.5358 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01126/0.3895, allocations: 8.739 MB / 0.5443 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.3896, allocations: 0 / 0.5443 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007188/0.3903, allocations: 293.4 kB / 0.5446 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.3905, allocations: 94.89 kB / 0.5447 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-05/0.3905, allocations: 10.53 kB / 0.5447 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.3908, allocations: 9.75 kB / 0.5447 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.391, allocations: 26.89 kB / 0.5447 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.391, allocations: 11.19 kB / 0.5447 GB, free: 11.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000286/0.3913, allocations: 186.2 kB / 0.5449 GB, free: 11.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3913, allocations: 1.719 kB / 0.5449 GB, free: 11.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006937/0.392, allocations: 62.66 kB / 0.545 GB, free: 11.27 MB / 414.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 (13): * Single equations (assignments): 7 * 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.001086/0.3931, allocations: 0.8278 MB / 0.5458 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002811/0.3959, allocations: 0.6088 MB / 0.5464 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.396, allocations: 0 / 0.5464 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001726/0.3977, allocations: 397.4 kB / 0.5468 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.3981, allocations: 47.7 kB / 0.5468 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/0.4019, allocations: 2.545 MB / 0.5493 GB, free: 8.141 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.4024, allocations: 0.7625 MB / 0.55 GB, free: 7.402 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003698/0.4027, allocations: 107.7 kB / 0.5501 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.403, allocations: 95.77 kB / 0.5502 GB, free: 7.293 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.403, allocations: 0 / 0.5502 GB, free: 7.293 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03498/0.438, allocations: 10.23 MB / 0.5602 GB, free: 15.33 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.459/8.897, allocations: 4.188 kB / 0.5602 GB, free: 15.33 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches