Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_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.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_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.001023/0.001023, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 198 kB / 18.73 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.298/1.298, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2011/0.2011, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 75.88 kB / 480.9 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3327, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.003259/0.336, allocations: 2.185 MB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002867/0.3389, allocations: 1.857 MB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.339, allocations: 2.75 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.3393, allocations: 73.41 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004127/0.3398, allocations: 144.3 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008152/0.3406, allocations: 358.8 kB / 0.535 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005194/0.3411, allocations: 492.8 kB / 0.5355 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3412, allocations: 62.98 kB / 0.5356 GB, free: 9.562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.3415, allocations: 197.9 kB / 0.5358 GB, free: 9.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.3418, allocations: 216.7 kB / 0.536 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.3419, allocations: 11.53 kB / 0.536 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009077/0.3428, allocations: 0.6057 MB / 0.5366 GB, free: 8.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.3429, allocations: 117.9 kB / 0.5367 GB, free: 8.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.3431, allocations: 199.5 kB / 0.5369 GB, free: 8.746 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000996/0.3441, allocations: 0.7923 MB / 0.5377 GB, free: 8.223 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3441, allocations: 0 / 0.5377 GB, free: 8.223 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3442, allocations: 0 / 0.5377 GB, free: 8.223 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.3442, allocations: 1.156 kB / 0.5377 GB, free: 8.223 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001239/0.3454, allocations: 0.8286 MB / 0.5385 GB, free: 7.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3455, allocations: 13.41 kB / 0.5385 GB, free: 7.516 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.3456, allocations: 108.2 kB / 0.5386 GB, free: 7.426 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.089e-05/0.3457, allocations: 52.77 kB / 0.5386 GB, free: 7.398 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.346, allocations: 313.9 kB / 0.5389 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.3461, allocations: 39.09 kB / 0.539 GB, free: 7.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.948e-05/0.3461, allocations: 57.83 kB / 0.539 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.3472, allocations: 0.7474 MB / 0.5398 GB, free: 6.668 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.3472, allocations: 1.219 kB / 0.5398 GB, free: 6.668 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.549e-05/0.3473, allocations: 24.95 kB / 0.5398 GB, free: 6.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.18e-05/0.3473, allocations: 61.92 kB / 0.5398 GB, free: 6.629 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.3485, allocations: 0.8012 MB / 0.5406 GB, free: 6.258 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002127/0.3507, allocations: 1.526 MB / 0.5421 GB, free: 5.242 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007381/0.3514, allocations: 456.8 kB / 0.5425 GB, free: 5.055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.3517, allocations: 160.7 kB / 0.5427 GB, free: 4.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.314e-05/0.3518, allocations: 8.875 kB / 0.5427 GB, free: 4.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.3518, allocations: 36.05 kB / 0.5427 GB, free: 4.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.463e-06/0.3518, allocations: 0 / 0.5427 GB, free: 4.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001061/0.3529, allocations: 0.5507 MB / 0.5433 GB, free: 4.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.3529, allocations: 55.34 kB / 0.5433 GB, free: 4.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005814/0.3535, allocations: 0.5836 MB / 0.5439 GB, free: 3.926 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.3536, allocations: 33.7 kB / 0.5439 GB, free: 3.887 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.3537, allocations: 284.1 kB / 0.5442 GB, free: 3.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.52e-05/0.3538, allocations: 107.1 kB / 0.5443 GB, free: 3.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.354, allocations: 126.2 kB / 0.5444 GB, free: 3.367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3541, allocations: 362.8 kB / 0.5448 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003232/0.3544, allocations: 192.9 kB / 0.545 GB, free: 2.816 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004649/0.3549, allocations: 437 kB / 0.5454 GB, free: 2.277 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008342/0.3558, allocations: 0.6561 MB / 0.546 GB, free: 1.508 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.3558, allocations: 4 kB / 0.546 GB, free: 1.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001028/0.3568, allocations: 0.6762 MB / 0.5467 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3568, allocations: 8 kB / 0.5467 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.3569, allocations: 11.94 kB / 0.5467 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.3569, allocations: 12.81 kB / 0.5467 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009718/0.3579, allocations: 255.7 kB / 0.547 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003598/0.3615, allocations: 7.314 MB / 0.5541 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004774/0.362, allocations: 91.28 kB / 0.5542 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/0.362, allocations: 36.27 kB / 0.5542 GB, free: 8.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (64): * Single equations (assignments): 52 * 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.0003137/0.3623, allocations: 269.4 kB / 0.5545 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.545e-05/0.3624, allocations: 47.67 kB / 0.5545 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009887/0.3634, allocations: 0.5527 MB / 0.5551 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3634, allocations: 4 kB / 0.5551 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3634, allocations: 3.984 kB / 0.5551 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3635, allocations: 0 / 0.5551 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005111/0.364, allocations: 453 kB / 0.5555 GB, free: 7.434 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.364, allocations: 0 / 0.5555 GB, free: 7.434 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008406/0.3648, allocations: 207.8 kB / 0.5557 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3648, allocations: 0 / 0.5557 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.3649, allocations: 15.98 kB / 0.5557 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003296/0.3682, allocations: 7.298 MB / 0.5628 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3682, allocations: 0 / 0.5628 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008081/0.369, allocations: 0.5159 MB / 0.5633 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.3692, allocations: 132.7 kB / 0.5635 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.193e-05/0.3693, allocations: 7.938 kB / 0.5635 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.3695, allocations: 8 kB / 0.5635 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-05/0.3696, allocations: 31.95 kB / 0.5635 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.411e-05/0.3697, allocations: 11.94 kB / 0.5635 GB, free: 14.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004735/0.3702, allocations: 410.8 kB / 0.5639 GB, free: 14.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3702, allocations: 0 / 0.5639 GB, free: 14.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007769/0.371, allocations: 191.6 kB / 0.5641 GB, free: 14.31 MB / 430.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.001411/0.3724, allocations: 1.16 MB / 0.5652 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.3739, allocations: 0.6189 MB / 0.5658 GB, free: 12.51 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.374, allocations: 0 / 0.5658 GB, free: 12.51 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009664/0.3749, allocations: 351.7 kB / 0.5662 GB, free: 12.17 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006594/0.3756, allocations: 125.2 kB / 0.5663 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006549/0.3822, allocations: 5.667 MB / 0.5718 GB, free: 6.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.3826, allocations: 0.9015 MB / 0.5727 GB, free: 5.141 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000381/0.383, allocations: 172.4 kB / 0.5729 GB, free: 4.973 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.3832, allocations: 151.4 kB / 0.573 GB, free: 4.824 MB / 430.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3832, allocations: 0 / 0.573 GB, free: 4.824 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04152/0.4247, allocations: 16.4 MB / 0.589 GB, free: 4.691 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.15, allocations: 5.578 kB / 0.589 GB, free: 4.688 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_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_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_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/kc_overall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches