Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001091/0.001091, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001205/0.001205, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, 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.2154/0.2154, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 75.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3384, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003685/0.3421, allocations: 2.261 MB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003656/0.3458, allocations: 2.159 MB / 0.5349 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/0.346, allocations: 2 kB / 0.5349 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003375/0.3464, allocations: 76.84 kB / 0.5349 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003477/0.3467, allocations: 117.5 kB / 0.5351 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.3481, allocations: 456.4 kB / 0.5355 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007658/0.3489, allocations: 0.5182 MB / 0.536 GB, free: 9.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.3491, allocations: 64.83 kB / 0.5361 GB, free: 9.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005368/0.3496, allocations: 184.7 kB / 0.5362 GB, free: 9.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004451/0.3501, allocations: 214.5 kB / 0.5364 GB, free: 8.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.66e-05/0.3502, allocations: 14.78 kB / 0.5365 GB, free: 8.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.3515, allocations: 0.6897 MB / 0.5371 GB, free: 8.539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.3517, allocations: 102.5 kB / 0.5372 GB, free: 8.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003616/0.3521, allocations: 208.1 kB / 0.5374 GB, free: 8.332 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.3535, allocations: 0.8607 MB / 0.5383 GB, free: 7.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3536, allocations: 0 / 0.5383 GB, free: 7.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3536, allocations: 0 / 0.5383 GB, free: 7.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.3536, allocations: 0 / 0.5383 GB, free: 7.762 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.001701/0.3553, allocations: 0.8565 MB / 0.5391 GB, free: 7.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.3554, allocations: 9.625 kB / 0.5391 GB, free: 7.051 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.3555, allocations: 109.5 kB / 0.5392 GB, free: 6.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004893/0.356, allocations: 91.27 kB / 0.5393 GB, free: 6.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005941/0.3566, allocations: 320.3 kB / 0.5396 GB, free: 6.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.578e-05/0.3567, allocations: 40.84 kB / 0.5396 GB, free: 6.613 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.84e-05/0.3568, allocations: 54.41 kB / 0.5397 GB, free: 6.594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.358, allocations: 0.7717 MB / 0.5404 GB, free: 6.145 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.358, allocations: 0 / 0.5404 GB, free: 6.145 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.027e-05/0.3581, allocations: 29.33 kB / 0.5405 GB, free: 6.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.051e-05/0.3581, allocations: 25.34 kB / 0.5405 GB, free: 6.121 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.3592, allocations: 0.5536 MB / 0.541 GB, free: 5.863 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002598/0.3618, allocations: 1.688 MB / 0.5427 GB, free: 4.641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005962/0.3624, allocations: 306.2 kB / 0.543 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/0.3627, allocations: 148.9 kB / 0.5431 GB, free: 4.395 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.448e-05/0.3628, allocations: 17.58 kB / 0.5431 GB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.3628, allocations: 36.78 kB / 0.5432 GB, free: 4.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.784e-06/0.3628, allocations: 0 / 0.5432 GB, free: 4.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001354/0.3642, allocations: 0.5088 MB / 0.5437 GB, free: 4.113 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/0.3643, allocations: 114.9 kB / 0.5438 GB, free: 3.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007439/0.365, allocations: 0.6354 MB / 0.5444 GB, free: 3.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.3651, allocations: 29.7 kB / 0.5444 GB, free: 3.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.3653, allocations: 296 kB / 0.5447 GB, free: 3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/0.3654, allocations: 83.31 kB / 0.5448 GB, free: 2.918 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.3655, allocations: 122.2 kB / 0.5449 GB, free: 2.789 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3657, allocations: 362.8 kB / 0.5453 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004107/0.3661, allocations: 192.9 kB / 0.5454 GB, free: 2.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005673/0.3667, allocations: 465.2 kB / 0.5459 GB, free: 1.656 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.3677, allocations: 0.6734 MB / 0.5465 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.3677, allocations: 4 kB / 0.5465 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001317/0.369, allocations: 0.6881 MB / 0.5472 GB, free: 160 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.3691, allocations: 15.94 kB / 0.5472 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.35e-05/0.3692, allocations: 47.98 kB / 0.5473 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.3692, allocations: 12 kB / 0.5473 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.3695, allocations: 76.38 kB / 0.5474 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.495e-05/0.3695, allocations: 19.98 kB / 0.5474 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/0.3701, allocations: 103.2 kB / 0.5475 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.617e-05/0.3701, allocations: 32 kB / 0.5475 GB, free: 15.86 MB / 414.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.0002951/0.3704, allocations: 261.5 kB / 0.5478 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.3706, allocations: 55.61 kB / 0.5478 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009535/0.3715, allocations: 464.6 kB / 0.5483 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.3716, allocations: 4 kB / 0.5483 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.3716, allocations: 4 kB / 0.5483 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.3716, allocations: 3.984 kB / 0.5483 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007306/0.3723, allocations: 409.3 kB / 0.5487 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.906e-05/0.3724, allocations: 43.92 kB / 0.5487 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.3726, allocations: 31.91 kB / 0.5487 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-05/0.3726, allocations: 3.938 kB / 0.5487 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.3726, allocations: 15.94 kB / 0.5487 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.3726, allocations: 4 kB / 0.5488 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3727, allocations: 0 / 0.5488 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009268/0.3736, allocations: 0.6151 MB / 0.5494 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.3738, allocations: 140.6 kB / 0.5495 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.944e-05/0.3739, allocations: 8 kB / 0.5495 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/0.3742, allocations: 15.98 kB / 0.5495 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.589e-05/0.3743, allocations: 35.91 kB / 0.5495 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.3744, allocations: 12 kB / 0.5496 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005034/0.3749, allocations: 450.7 kB / 0.55 GB, free: 13.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3749, allocations: 0 / 0.55 GB, free: 13.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008416/0.3757, allocations: 191.6 kB / 0.5502 GB, free: 13.03 MB / 414.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.001691/0.3774, allocations: 1.296 MB / 0.5514 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.3786, allocations: 0.7443 MB / 0.5522 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.3786, allocations: 4 kB / 0.5522 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006778/0.3793, allocations: 489.4 kB / 0.5526 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007545/0.38, allocations: 130.1 kB / 0.5528 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008021/0.3881, allocations: 5.955 MB / 0.5586 GB, free: 3.898 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004829/0.3886, allocations: 0.8972 MB / 0.5594 GB, free: 2.973 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003364/0.3889, allocations: 128.5 kB / 0.5596 GB, free: 2.848 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.3891, allocations: 151.3 kB / 0.5597 GB, free: 2.699 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3891, allocations: 0 / 0.5597 GB, free: 2.699 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03897/0.4281, allocations: 15.94 MB / 0.5753 GB, free: 2.996 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.41/8.838, allocations: 19.14 kB / 0.5753 GB, free: 2.984 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches