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_evenGapTurbulent.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_evenGapTurbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",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.001225/0.00123, 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.001201/0.001201, allocations: 184.1 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.34/1.34, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2104/0.2104, allocations: 44.18 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3555, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.002657/0.3582, allocations: 1.892 MB / 0.5203 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.3596, allocations: 1.092 MB / 0.5214 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.267e-05/0.3597, allocations: 1.156 kB / 0.5214 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.36, allocations: 49.8 kB / 0.5214 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.3602, allocations: 67.89 kB / 0.5215 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.3606, allocations: 164.6 kB / 0.5216 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.3609, allocations: 228 kB / 0.5219 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.965e-05/0.361, allocations: 18.8 kB / 0.5219 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.3611, allocations: 89.2 kB / 0.522 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.3613, allocations: 103.5 kB / 0.5221 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.3614, allocations: 7.625 kB / 0.5221 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004088/0.3618, allocations: 245.5 kB / 0.5223 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.427e-05/0.3619, allocations: 49.64 kB / 0.5223 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.464e-05/0.362, allocations: 91.33 kB / 0.5224 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004911/0.3625, allocations: 323.6 kB / 0.5227 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3625, allocations: 1.062 kB / 0.5227 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3625, allocations: 0 / 0.5227 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.3625, allocations: 0 / 0.5227 GB, free: 0.6172 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.00101/0.3635, allocations: 0.5672 MB / 0.5233 GB, free: 140 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3636, allocations: 9.516 kB / 0.5233 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.166e-05/0.3636, allocations: 54.66 kB / 0.5234 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/0.3637, allocations: 24.11 kB / 0.5234 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.364, allocations: 230.5 kB / 0.5236 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.364, allocations: 10.81 kB / 0.5236 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.364, allocations: 20.97 kB / 0.5236 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005851/0.3646, allocations: 279.5 kB / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3646, allocations: 0.7031 kB / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.3647, allocations: 9.438 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.239e-05/0.3647, allocations: 14.19 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005971/0.3653, allocations: 219.7 kB / 0.5241 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.3664, allocations: 0.7653 MB / 0.5249 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005782/0.367, allocations: 229.7 kB / 0.5251 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.3673, allocations: 97.94 kB / 0.5252 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/0.3674, allocations: 6.125 kB / 0.5252 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.3674, allocations: 41.81 kB / 0.5252 GB, free: 14.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.3674, allocations: 0 / 0.5252 GB, free: 14.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001037/0.3684, allocations: 323.3 kB / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.3686, allocations: 105 kB / 0.5256 GB, free: 14.69 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004425/0.369, allocations: 277.3 kB / 0.5259 GB, free: 14.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.3691, allocations: 31.08 kB / 0.5259 GB, free: 14.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.3693, allocations: 137.3 kB / 0.5261 GB, free: 14.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.72e-05/0.3693, allocations: 52.84 kB / 0.5261 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.916e-05/0.3694, allocations: 41.52 kB / 0.5262 GB, free: 14.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.3696, allocations: 340.5 kB / 0.5265 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.3699, allocations: 80.38 kB / 0.5266 GB, free: 13.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.3703, allocations: 126.7 kB / 0.5267 GB, free: 13.92 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000601/0.3709, allocations: 223.6 kB / 0.5269 GB, free: 13.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3709, allocations: 0 / 0.5269 GB, free: 13.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006719/0.3716, allocations: 268 kB / 0.5271 GB, free: 13.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3716, allocations: 9.906 kB / 0.5272 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.822e-05/0.3716, allocations: 11.59 kB / 0.5272 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.3716, allocations: 2.312 kB / 0.5272 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.3718, allocations: 34.66 kB / 0.5272 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3719, allocations: 2.312 kB / 0.5272 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.3721, allocations: 37.91 kB / 0.5272 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.3721, allocations: 6.531 kB / 0.5272 GB, free: 13.61 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001572/0.3723, allocations: 157.1 kB / 0.5274 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.607e-05/0.3723, allocations: 30.48 kB / 0.5274 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004674/0.3728, allocations: 217.2 kB / 0.5276 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.3728, allocations: 2.719 kB / 0.5276 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3728, allocations: 0 / 0.5276 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3729, allocations: 5.141 kB / 0.5276 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000407/0.3733, allocations: 263.2 kB / 0.5279 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.935e-05/0.3733, allocations: 12.25 kB / 0.5279 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.3735, allocations: 35.12 kB / 0.5279 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.3735, allocations: 5.344 kB / 0.5279 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.3735, allocations: 7.094 kB / 0.5279 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.3735, allocations: 1.594 kB / 0.5279 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3735, allocations: 1.594 kB / 0.528 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006941/0.3742, allocations: 485.4 kB / 0.5284 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.55e-05/0.3743, allocations: 104.9 kB / 0.5285 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.3744, allocations: 8.641 kB / 0.5285 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.3746, allocations: 17.77 kB / 0.5285 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.3747, allocations: 14.64 kB / 0.5286 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.3748, allocations: 9.031 kB / 0.5286 GB, free: 12.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001951/0.375, allocations: 208.2 kB / 0.5288 GB, free: 12.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.375, allocations: 0 / 0.5288 GB, free: 12.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004874/0.3755, allocations: 70.31 kB / 0.5288 GB, free: 12.37 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001231/0.3767, allocations: 1.07 MB / 0.5299 GB, free: 11.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006807/0.3774, allocations: 282.4 kB / 0.5301 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.3774, allocations: 0 / 0.5301 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000348/0.3778, allocations: 188.2 kB / 0.5303 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000536/0.3783, allocations: 40.45 kB / 0.5304 GB, free: 11.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004315/0.3826, allocations: 2.979 MB / 0.5333 GB, free: 8.902 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.3831, allocations: 0.759 MB / 0.534 GB, free: 8.168 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001596/0.3832, allocations: 45.2 kB / 0.5341 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.3834, allocations: 56.55 kB / 0.5341 GB, free: 8.105 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3834, allocations: 1.125 kB / 0.5341 GB, free: 8.105 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.4071, allocations: 6.533 MB / 0.5405 GB, free: 4.898 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.845/8.252, allocations: 13.67 kB / 0.5405 GB, free: 4.895 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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_evenGapTurbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent/kc_evenGapTurbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches