Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_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.001648/0.001648, allocations: 117.2 kB / 17.78 MB, free: 5.262 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.001731/0.001731, allocations: 184.2 kB / 18.72 MB, free: 4.336 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.396/1.396, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.214/0.214, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 67.89 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3154, allocations: 60.81 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.002721/0.3181, allocations: 2.149 MB / 0.5206 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.3203, allocations: 1.777 MB / 0.5223 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.3204, allocations: 6.156 kB / 0.5223 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.3207, allocations: 74.86 kB / 0.5224 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003836/0.321, allocations: 152.4 kB / 0.5225 GB, free: 484 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007507/0.3218, allocations: 324.3 kB / 0.5228 GB, free: 344 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004587/0.3223, allocations: 486.2 kB / 0.5233 GB, free: 132 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.57e-05/0.3223, allocations: 40.55 kB / 0.5233 GB, free: 112 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.3225, allocations: 191.7 kB / 0.5235 GB, free: 24 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.3228, allocations: 218.3 kB / 0.5237 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.3229, allocations: 13.16 kB / 0.5237 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000913/0.3238, allocations: 0.5507 MB / 0.5243 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.3239, allocations: 117.5 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.3241, allocations: 192.8 kB / 0.5246 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.3252, allocations: 0.7293 MB / 0.5253 GB, free: 15.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3252, allocations: 0.6562 kB / 0.5253 GB, free: 15.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3252, allocations: 0 / 0.5253 GB, free: 15.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.3252, allocations: 1.375 kB / 0.5253 GB, free: 15.29 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.00154/0.3268, allocations: 0.7884 MB / 0.526 GB, free: 14.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.785e-05/0.3268, allocations: 10.16 kB / 0.5261 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001759/0.327, allocations: 104.3 kB / 0.5262 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.3272, allocations: 51.98 kB / 0.5262 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004685/0.3276, allocations: 309.5 kB / 0.5265 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/0.3277, allocations: 35.77 kB / 0.5265 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.487e-05/0.3277, allocations: 46.78 kB / 0.5266 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.329, allocations: 0.7095 MB / 0.5273 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.329, allocations: 1.375 kB / 0.5273 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.205e-05/0.329, allocations: 28.05 kB / 0.5273 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.482e-05/0.3291, allocations: 49.16 kB / 0.5273 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.3305, allocations: 0.7483 MB / 0.5281 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002376/0.3329, allocations: 1.442 MB / 0.5295 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007681/0.3336, allocations: 442.6 kB / 0.5299 GB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.3339, allocations: 151.5 kB / 0.5301 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.75e-05/0.334, allocations: 17.84 kB / 0.5301 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.334, allocations: 32.39 kB / 0.5301 GB, free: 12.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.113e-06/0.334, allocations: 0 / 0.5301 GB, free: 12.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001192/0.3352, allocations: 0.5406 MB / 0.5306 GB, free: 11.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.3352, allocations: 54.41 kB / 0.5307 GB, free: 11.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006529/0.3359, allocations: 0.5378 MB / 0.5312 GB, free: 11.6 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.3359, allocations: 30.8 kB / 0.5312 GB, free: 11.56 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.3361, allocations: 248.3 kB / 0.5315 GB, free: 11.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.721e-05/0.3362, allocations: 99.92 kB / 0.5316 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.3364, allocations: 96.47 kB / 0.5317 GB, free: 11.19 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.3366, allocations: 360.7 kB / 0.532 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.3369, allocations: 166.1 kB / 0.5322 GB, free: 10.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004135/0.3373, allocations: 295.3 kB / 0.5324 GB, free: 10.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007713/0.3381, allocations: 0.4973 MB / 0.5329 GB, free: 10.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.3381, allocations: 2.312 kB / 0.5329 GB, free: 10.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009654/0.339, allocations: 0.5397 MB / 0.5335 GB, free: 9.949 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.339, allocations: 6.688 kB / 0.5335 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.3391, allocations: 8.469 kB / 0.5335 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.3391, allocations: 5.875 kB / 0.5335 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009266/0.34, allocations: 218.7 kB / 0.5337 GB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004333/0.3443, allocations: 7.313 MB / 0.5408 GB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004234/0.3448, allocations: 63.25 kB / 0.5409 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/0.3448, allocations: 25.52 kB / 0.5409 GB, free: 2.551 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].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 (46): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000332/0.3451, allocations: 237 kB / 0.5411 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.077e-05/0.3452, allocations: 43.19 kB / 0.5412 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.3463, allocations: 0.5333 MB / 0.5417 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3463, allocations: 3.719 kB / 0.5417 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.3463, allocations: 3.984 kB / 0.5417 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3463, allocations: 5.25 kB / 0.5417 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005627/0.3469, allocations: 432.1 kB / 0.5421 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3469, allocations: 3.938 kB / 0.5421 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008201/0.3477, allocations: 197 kB / 0.5423 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3477, allocations: 5.688 kB / 0.5423 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-05/0.3477, allocations: 17.8 kB / 0.5423 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004274/0.352, allocations: 7.304 MB / 0.5495 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/0.352, allocations: 5.109 kB / 0.5495 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009041/0.3529, allocations: 0.5097 MB / 0.55 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.3531, allocations: 130 kB / 0.5501 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.187e-05/0.3532, allocations: 5.062 kB / 0.5501 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.3534, allocations: 12.77 kB / 0.5501 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.115e-05/0.3535, allocations: 29.34 kB / 0.5501 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.3535, allocations: 17.17 kB / 0.5502 GB, free: 9.898 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004665/0.354, allocations: 385 kB / 0.5505 GB, free: 9.684 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.354, allocations: 0 / 0.5505 GB, free: 9.684 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006969/0.3547, allocations: 171 kB / 0.5507 GB, free: 9.645 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001542/0.3562, allocations: 1.161 MB / 0.5518 GB, free: 8.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.3578, allocations: 0.5361 MB / 0.5523 GB, free: 8.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3578, allocations: 0 / 0.5523 GB, free: 8.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.3589, allocations: 340.8 kB / 0.5527 GB, free: 8.008 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005519/0.3594, allocations: 97.83 kB / 0.5528 GB, free: 7.914 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007407/0.3668, allocations: 5.297 MB / 0.5579 GB, free: 2.422 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005868/0.3674, allocations: 0.8974 MB / 0.5588 GB, free: 1.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003965/0.3678, allocations: 148.2 kB / 0.559 GB, free: 1.352 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/0.368, allocations: 135.4 kB / 0.5591 GB, free: 1.219 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.368, allocations: 3.938 kB / 0.5591 GB, free: 1.215 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04304/0.4111, allocations: 14.81 MB / 0.5736 GB, free: 2.684 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.72, allocations: 15.67 kB / 0.5736 GB, free: 2.672 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapOverall_KC/kc_evenGapOverall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches