Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001439/0.001439, allocations: 122.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001841/0.001841, allocations: 201.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2162/0.2162, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 71.89 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3196, allocations: 62.43 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.002994/0.3227, allocations: 1.795 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.324, allocations: 0.8417 MB / 0.5331 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.062e-05/0.3241, allocations: 1.125 kB / 0.5331 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.3244, allocations: 48.73 kB / 0.5331 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.3247, allocations: 67.25 kB / 0.5332 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.3249, allocations: 80.33 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.3251, allocations: 151.6 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.807e-05/0.3252, allocations: 17.8 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002756/0.3254, allocations: 70.16 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.3256, allocations: 71.31 kB / 0.5336 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.3256, allocations: 4.125 kB / 0.5336 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002593/0.3259, allocations: 171 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.162e-05/0.3259, allocations: 33.64 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.585e-05/0.326, allocations: 57.55 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.3263, allocations: 214.3 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3263, allocations: 0 / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3264, allocations: 0 / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3264, allocations: 0 / 0.534 GB, free: 10.78 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007671/0.3271, allocations: 449.5 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3272, allocations: 9.625 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.3272, allocations: 42.86 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.3273, allocations: 19.72 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.3275, allocations: 208.6 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.3275, allocations: 4.5 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.3275, allocations: 17.38 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.3279, allocations: 176.9 kB / 0.5349 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3279, allocations: 0 / 0.5349 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.3279, allocations: 1.375 kB / 0.5349 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/0.3279, allocations: 17.8 kB / 0.5349 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003465/0.3283, allocations: 162.9 kB / 0.5351 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007519/0.3291, allocations: 495.5 kB / 0.5356 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/0.3295, allocations: 153.8 kB / 0.5357 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.3296, allocations: 60.16 kB / 0.5358 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.3297, allocations: 1.375 kB / 0.5358 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.3297, allocations: 31.78 kB / 0.5358 GB, free: 9.301 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.3297, allocations: 0 / 0.5358 GB, free: 9.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005462/0.3302, allocations: 198.2 kB / 0.536 GB, free: 9.199 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.3303, allocations: 56.59 kB / 0.5361 GB, free: 9.133 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.3305, allocations: 206.6 kB / 0.5363 GB, free: 8.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.3306, allocations: 39.09 kB / 0.5363 GB, free: 8.926 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.793e-05/0.3306, allocations: 110.6 kB / 0.5364 GB, free: 8.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.3307, allocations: 31.83 kB / 0.5364 GB, free: 8.793 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.3307, allocations: 27.2 kB / 0.5364 GB, free: 8.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3309, allocations: 331.4 kB / 0.5368 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.3311, allocations: 44.67 kB / 0.5368 GB, free: 8.426 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.3312, allocations: 74.86 kB / 0.5369 GB, free: 8.375 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.3315, allocations: 132.8 kB / 0.537 GB, free: 8.301 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3316, allocations: 0 / 0.537 GB, free: 8.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003649/0.3319, allocations: 161.9 kB / 0.5372 GB, free: 8.215 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.332, allocations: 11.56 kB / 0.5372 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.332, allocations: 1.188 kB / 0.5372 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.332, allocations: 5.094 kB / 0.5372 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.3323, allocations: 49 kB / 0.5372 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007347/0.333, allocations: 1.228 MB / 0.5384 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.3332, allocations: 22.33 kB / 0.5384 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.3332, allocations: 3.156 kB / 0.5384 GB, free: 6.953 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002027/0.3334, allocations: 135.9 kB / 0.5386 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.3334, allocations: 14.3 kB / 0.5386 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004324/0.3339, allocations: 185.1 kB / 0.5388 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3339, allocations: 1.844 kB / 0.5388 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3339, allocations: 0 / 0.5388 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3339, allocations: 4.641 kB / 0.5388 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.3342, allocations: 228.5 kB / 0.539 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3342, allocations: 0.8125 kB / 0.539 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.3344, allocations: 48.06 kB / 0.539 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3344, allocations: 1.188 kB / 0.539 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.3345, allocations: 9.125 kB / 0.539 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009021/0.3354, allocations: 1.216 MB / 0.5402 GB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3354, allocations: 0 / 0.5402 GB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004171/0.3358, allocations: 254.7 kB / 0.5405 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.794e-05/0.3359, allocations: 90.08 kB / 0.5406 GB, free: 4.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.3359, allocations: 7.938 kB / 0.5406 GB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.3361, allocations: 9.047 kB / 0.5406 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.3361, allocations: 6.953 kB / 0.5406 GB, free: 4.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.3361, allocations: 6.375 kB / 0.5406 GB, free: 4.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.3363, allocations: 152.6 kB / 0.5407 GB, free: 4.801 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3363, allocations: 5.312 kB / 0.5407 GB, free: 4.797 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003239/0.3366, allocations: 43.31 kB / 0.5408 GB, free: 4.789 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000803/0.3374, allocations: 0.8186 MB / 0.5416 GB, free: 4.047 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005193/0.3379, allocations: 143.6 kB / 0.5417 GB, free: 3.996 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.338, allocations: 3.938 kB / 0.5417 GB, free: 3.992 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002978/0.3383, allocations: 91.91 kB / 0.5418 GB, free: 3.957 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.3386, allocations: 31.86 kB / 0.5418 GB, free: 3.938 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003071/0.3417, allocations: 2.145 MB / 0.5439 GB, free: 2.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.3421, allocations: 0.7275 MB / 0.5446 GB, free: 1.559 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.3422, allocations: 40.66 kB / 0.5447 GB, free: 1.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.493e-05/0.3423, allocations: 38.02 kB / 0.5447 GB, free: 1.508 MB / 398.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3423, allocations: 0 / 0.5447 GB, free: 1.508 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.3663, allocations: 4.689 MB / 0.5493 GB, free: 14.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.59, allocations: 5.453 kB / 0.5493 GB, free: 14.21 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches