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_evenGapLaminar_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_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_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.001704/0.001704, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001876/0.001876, allocations: 184.8 kB / 18.71 MB, free: 4.363 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.14 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.2161/0.2161, allocations: 44.18 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3172, allocations: 60.83 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.002909/0.3202, allocations: 2.155 MB / 0.5206 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.3215, allocations: 0.9022 MB / 0.5214 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.3217, allocations: 1.344 kB / 0.5214 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000296/0.322, allocations: 73.17 kB / 0.5215 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003981/0.3224, allocations: 142.4 kB / 0.5217 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.3227, allocations: 90.08 kB / 0.5217 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004591/0.3231, allocations: 488 kB / 0.5222 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.005e-05/0.3232, allocations: 56.39 kB / 0.5223 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.3235, allocations: 191.3 kB / 0.5224 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/0.3237, allocations: 224.2 kB / 0.5227 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.142e-05/0.3238, allocations: 12.66 kB / 0.5227 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003639/0.3242, allocations: 188 kB / 0.5228 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.3243, allocations: 114.9 kB / 0.523 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.3245, allocations: 193.4 kB / 0.5231 GB, free: 420 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006485/0.3251, allocations: 0.5304 MB / 0.5237 GB, free: 200 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3251, allocations: 0.6562 kB / 0.5237 GB, free: 200 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3251, allocations: 0 / 0.5237 GB, free: 200 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.3252, allocations: 1.594 kB / 0.5237 GB, free: 200 kB / 382.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.00121/0.3264, allocations: 0.7605 MB / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3264, allocations: 10.75 kB / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001306/0.3265, allocations: 106.8 kB / 0.5245 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.203e-05/0.3266, allocations: 60.67 kB / 0.5246 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.327, allocations: 308.2 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/0.3271, allocations: 36.23 kB / 0.5249 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.935e-05/0.3271, allocations: 42.25 kB / 0.5249 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.3283, allocations: 0.712 MB / 0.5256 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.3283, allocations: 3.938 kB / 0.5256 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/0.3284, allocations: 17.09 kB / 0.5257 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.677e-05/0.3284, allocations: 53.83 kB / 0.5257 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.3297, allocations: 0.7458 MB / 0.5264 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.3319, allocations: 1.443 MB / 0.5278 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008212/0.3327, allocations: 461.5 kB / 0.5283 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.3331, allocations: 165.2 kB / 0.5284 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.619e-05/0.3331, allocations: 9.062 kB / 0.5285 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.3331, allocations: 32.14 kB / 0.5285 GB, free: 13.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.843e-06/0.3332, allocations: 1.062 kB / 0.5285 GB, free: 13.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001145/0.3343, allocations: 0.5457 MB / 0.529 GB, free: 13.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.3344, allocations: 55.09 kB / 0.5291 GB, free: 13.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006016/0.335, allocations: 0.5301 MB / 0.5296 GB, free: 12.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.335, allocations: 31.23 kB / 0.5296 GB, free: 12.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.3352, allocations: 239.2 kB / 0.5298 GB, free: 12.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.3353, allocations: 111.6 kB / 0.53 GB, free: 12.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.3355, allocations: 88.78 kB / 0.53 GB, free: 12.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002232/0.3357, allocations: 360.5 kB / 0.5304 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.336, allocations: 153.9 kB / 0.5305 GB, free: 12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004337/0.3365, allocations: 246.6 kB / 0.5308 GB, free: 11.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008135/0.3373, allocations: 444.1 kB / 0.5312 GB, free: 11.56 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3373, allocations: 1.406 kB / 0.5312 GB, free: 11.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001022/0.3383, allocations: 0.4904 MB / 0.5317 GB, free: 11.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.3384, allocations: 6.031 kB / 0.5317 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.3384, allocations: 3.156 kB / 0.5317 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.3384, allocations: 4.438 kB / 0.5317 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009755/0.3394, allocations: 213.3 kB / 0.5319 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0051/0.3445, allocations: 7.319 MB / 0.539 GB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005623/0.3451, allocations: 61.06 kB / 0.5391 GB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.738e-05/0.3452, allocations: 22.58 kB / 0.5391 GB, free: 3.93 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (40): * Single equations (assignments): 28 * 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.0005392/0.3457, allocations: 228.8 kB / 0.5393 GB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.3459, allocations: 47.72 kB / 0.5394 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.3472, allocations: 0.5419 MB / 0.5399 GB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.3472, allocations: 3.5 kB / 0.5399 GB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3472, allocations: 0 / 0.5399 GB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3472, allocations: 8.828 kB / 0.5399 GB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000624/0.3478, allocations: 433 kB / 0.5403 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3478, allocations: 0 / 0.5403 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008075/0.3486, allocations: 200.9 kB / 0.5405 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.3487, allocations: 5.156 kB / 0.5405 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/0.3487, allocations: 18.27 kB / 0.5405 GB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004776/0.3535, allocations: 7.308 MB / 0.5477 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.3535, allocations: 288 / 0.5477 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008804/0.3544, allocations: 0.5182 MB / 0.5482 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.3546, allocations: 129.6 kB / 0.5483 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.627e-05/0.3547, allocations: 6.594 kB / 0.5483 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.3549, allocations: 12.27 kB / 0.5483 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.652e-05/0.355, allocations: 24.47 kB / 0.5484 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.355, allocations: 17.36 kB / 0.5484 GB, free: 11.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004856/0.3555, allocations: 390.6 kB / 0.5487 GB, free: 11.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.064e-06/0.3555, allocations: 0 / 0.5487 GB, free: 11.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005381/0.3561, allocations: 142.5 kB / 0.5489 GB, free: 11.02 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.001327/0.3574, allocations: 1.087 MB / 0.5499 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001483/0.3589, allocations: 0.5259 MB / 0.5505 GB, free: 9.984 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3589, allocations: 0 / 0.5505 GB, free: 9.984 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.3599, allocations: 340.5 kB / 0.5508 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000597/0.3605, allocations: 93.36 kB / 0.5509 GB, free: 9.824 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007515/0.3681, allocations: 5.257 MB / 0.556 GB, free: 4.535 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005616/0.3687, allocations: 0.8933 MB / 0.5569 GB, free: 3.617 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003563/0.3691, allocations: 132.1 kB / 0.557 GB, free: 3.484 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/0.3693, allocations: 139.4 kB / 0.5571 GB, free: 3.348 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3693, allocations: 0 / 0.5571 GB, free: 3.348 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03999/0.4093, allocations: 13.53 MB / 0.5703 GB, free: 6.098 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.72, allocations: 20.89 kB / 0.5704 GB, free: 6.078 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar_KC/kc_evenGapLaminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches