Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",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.001586/0.001586, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.00158/0.00158, allocations: 183 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.424/1.424, 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.2178/0.2178, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 71.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3386, allocations: 60.82 MB / 0.5185 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003304/0.3419, allocations: 2.257 MB / 0.5207 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002898/0.3448, allocations: 2.048 MB / 0.5227 GB, free: 340 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.345, allocations: 2.25 kB / 0.5227 GB, free: 340 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.3453, allocations: 82.81 kB / 0.5227 GB, free: 296 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003424/0.3457, allocations: 108.4 kB / 0.5228 GB, free: 232 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.347, allocations: 430.1 kB / 0.5233 GB, free: 44 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007974/0.3478, allocations: 0.5209 MB / 0.5238 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.3479, allocations: 48.36 kB / 0.5238 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004253/0.3484, allocations: 178.8 kB / 0.524 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004054/0.3488, allocations: 216.7 kB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.764e-05/0.3488, allocations: 13.28 kB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.3502, allocations: 0.6641 MB / 0.5249 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.3503, allocations: 111.6 kB / 0.525 GB, free: 15.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003/0.3506, allocations: 205.5 kB / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.3519, allocations: 0.8319 MB / 0.526 GB, free: 14.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3519, allocations: 0 / 0.526 GB, free: 14.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3519, allocations: 7.938 kB / 0.526 GB, free: 14.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.3519, allocations: 1.375 kB / 0.526 GB, free: 14.82 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001507/0.3534, allocations: 0.8484 MB / 0.5268 GB, free: 14.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.3534, allocations: 9.5 kB / 0.5268 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001376/0.3536, allocations: 106.2 kB / 0.5269 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.3537, allocations: 58.8 kB / 0.527 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004779/0.3542, allocations: 318.8 kB / 0.5273 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.69e-05/0.3542, allocations: 40.22 kB / 0.5273 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.1e-05/0.3543, allocations: 62.98 kB / 0.5274 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.3557, allocations: 0.7634 MB / 0.5281 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.3557, allocations: 0 / 0.5281 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.504e-05/0.3557, allocations: 25.31 kB / 0.5281 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.721e-05/0.3558, allocations: 28.42 kB / 0.5282 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.3569, allocations: 0.5499 MB / 0.5287 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002669/0.3596, allocations: 1.695 MB / 0.5304 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005821/0.3602, allocations: 288.2 kB / 0.5306 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003577/0.3605, allocations: 146 kB / 0.5308 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.994e-05/0.3606, allocations: 13.7 kB / 0.5308 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.3606, allocations: 41.09 kB / 0.5308 GB, free: 11.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.753e-06/0.3606, allocations: 0 / 0.5308 GB, free: 11.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001326/0.3619, allocations: 0.502 MB / 0.5313 GB, free: 11.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.588e-05/0.362, allocations: 105.8 kB / 0.5314 GB, free: 11.08 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007681/0.3628, allocations: 0.6416 MB / 0.532 GB, free: 10.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.3628, allocations: 30.86 kB / 0.5321 GB, free: 10.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.363, allocations: 291.7 kB / 0.5324 GB, free: 10.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.506e-05/0.3631, allocations: 77.8 kB / 0.5324 GB, free: 10.35 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.3633, allocations: 133.4 kB / 0.5326 GB, free: 10.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.3635, allocations: 361.5 kB / 0.5329 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004253/0.3639, allocations: 187.9 kB / 0.5331 GB, free: 9.852 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006596/0.3646, allocations: 469.2 kB / 0.5335 GB, free: 9.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.3657, allocations: 0.6705 MB / 0.5342 GB, free: 8.852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.3657, allocations: 2.438 kB / 0.5342 GB, free: 8.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001358/0.3671, allocations: 0.6952 MB / 0.5349 GB, free: 8.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.3671, allocations: 12.62 kB / 0.5349 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.438e-05/0.3672, allocations: 50.45 kB / 0.5349 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.3672, allocations: 12.06 kB / 0.5349 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.3675, allocations: 71.77 kB / 0.535 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-05/0.3675, allocations: 21.27 kB / 0.535 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004676/0.368, allocations: 98.16 kB / 0.5351 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.704e-05/0.3681, allocations: 32.97 kB / 0.5351 GB, free: 8.406 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,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 (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003143/0.3684, allocations: 267.6 kB / 0.5354 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.3685, allocations: 53.33 kB / 0.5355 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009898/0.3695, allocations: 461 kB / 0.5359 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.3695, allocations: 4.219 kB / 0.5359 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.3695, allocations: 5.109 kB / 0.5359 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3695, allocations: 0.9688 kB / 0.5359 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006664/0.3702, allocations: 412.1 kB / 0.5363 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.897e-05/0.3702, allocations: 40.95 kB / 0.5363 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.3704, allocations: 28.81 kB / 0.5364 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.3704, allocations: 6.156 kB / 0.5364 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.3704, allocations: 15.92 kB / 0.5364 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3704, allocations: 1.406 kB / 0.5364 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3704, allocations: 5.406 kB / 0.5364 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009627/0.3714, allocations: 0.6133 MB / 0.537 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.3715, allocations: 144.8 kB / 0.5371 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.147e-05/0.3716, allocations: 5.969 kB / 0.5371 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.3719, allocations: 25.91 kB / 0.5372 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.084e-05/0.372, allocations: 21.05 kB / 0.5372 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.372, allocations: 14.59 kB / 0.5372 GB, free: 6.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005041/0.3725, allocations: 447.3 kB / 0.5376 GB, free: 6.734 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3725, allocations: 0 / 0.5376 GB, free: 6.734 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008317/0.3733, allocations: 182.9 kB / 0.5378 GB, free: 6.699 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001668/0.375, allocations: 1.291 MB / 0.5391 GB, free: 5.672 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.3762, allocations: 0.7418 MB / 0.5398 GB, free: 5.121 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3762, allocations: 0 / 0.5398 GB, free: 5.121 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005853/0.3768, allocations: 479.5 kB / 0.5402 GB, free: 4.684 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007318/0.3775, allocations: 132.1 kB / 0.5404 GB, free: 4.605 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008443/0.386, allocations: 5.937 MB / 0.5462 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005682/0.3865, allocations: 0.901 MB / 0.547 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000354/0.3869, allocations: 128.5 kB / 0.5472 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.3871, allocations: 150.6 kB / 0.5473 GB, free: 13.36 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3871, allocations: 0 / 0.5473 GB, free: 13.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04416/0.4312, allocations: 15.78 MB / 0.5627 GB, free: 13.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.512/8.944, allocations: 21.98 kB / 0.5627 GB, free: 13.82 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches