Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.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.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",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.001637/0.001637, allocations: 113.4 kB / 17.78 MB, free: 5.281 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.0022/0.0022, allocations: 179.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.336/1.336, 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.204/0.204, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3284, allocations: 60.82 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.00298/0.3314, allocations: 1.995 MB / 0.5204 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002356/0.3338, allocations: 1.819 MB / 0.5222 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.3339, allocations: 1.438 kB / 0.5222 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.3342, allocations: 60.38 kB / 0.5222 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003804/0.3346, allocations: 132.1 kB / 0.5224 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007756/0.3354, allocations: 346 kB / 0.5227 GB, free: 412 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004415/0.3358, allocations: 384.5 kB / 0.5231 GB, free: 248 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.866e-05/0.3359, allocations: 44.45 kB / 0.5231 GB, free: 228 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.3362, allocations: 150.7 kB / 0.5233 GB, free: 160 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.3364, allocations: 182.2 kB / 0.5234 GB, free: 80 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.3365, allocations: 10.94 kB / 0.5234 GB, free: 80 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009925/0.3375, allocations: 0.5429 MB / 0.524 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.3376, allocations: 100.4 kB / 0.5241 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.3378, allocations: 162.2 kB / 0.5242 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009129/0.3387, allocations: 0.6403 MB / 0.5248 GB, free: 15.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3387, allocations: 4 kB / 0.5248 GB, free: 15.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3387, allocations: 1.469 kB / 0.5248 GB, free: 15.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.3388, allocations: 0 / 0.5248 GB, free: 15.49 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001254/0.34, allocations: 0.6913 MB / 0.5255 GB, free: 14.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.3401, allocations: 8.766 kB / 0.5255 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.3402, allocations: 83.36 kB / 0.5256 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.112e-05/0.3403, allocations: 43.91 kB / 0.5257 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.3407, allocations: 280.1 kB / 0.5259 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.3407, allocations: 28.5 kB / 0.5259 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.043e-05/0.3408, allocations: 40.34 kB / 0.526 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009461/0.3418, allocations: 0.5593 MB / 0.5265 GB, free: 14.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3418, allocations: 0 / 0.5265 GB, free: 14.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.3418, allocations: 13.81 kB / 0.5265 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.57e-05/0.3419, allocations: 40.72 kB / 0.5266 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009755/0.3429, allocations: 0.5708 MB / 0.5271 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001822/0.3447, allocations: 1.182 MB / 0.5283 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006462/0.3454, allocations: 374.6 kB / 0.5287 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002742/0.3457, allocations: 141.6 kB / 0.5288 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/0.3457, allocations: 7.922 kB / 0.5288 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.3458, allocations: 39.7 kB / 0.5288 GB, free: 12.96 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.412e-06/0.3458, allocations: 0 / 0.5288 GB, free: 12.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001025/0.3468, allocations: 466.7 kB / 0.5293 GB, free: 12.76 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.3469, allocations: 53.44 kB / 0.5293 GB, free: 12.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005252/0.3474, allocations: 450.8 kB / 0.5298 GB, free: 12.44 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.3474, allocations: 30.83 kB / 0.5298 GB, free: 12.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.3476, allocations: 192.5 kB / 0.53 GB, free: 12.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.329e-05/0.3476, allocations: 84.31 kB / 0.53 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.411e-05/0.3477, allocations: 56.06 kB / 0.5301 GB, free: 12.12 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3479, allocations: 350.5 kB / 0.5304 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.3481, allocations: 118.4 kB / 0.5306 GB, free: 11.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.3484, allocations: 116.5 kB / 0.5307 GB, free: 11.69 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004899/0.3489, allocations: 269.4 kB / 0.5309 GB, free: 11.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3489, allocations: 0 / 0.5309 GB, free: 11.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005969/0.3495, allocations: 343.5 kB / 0.5312 GB, free: 11.42 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3495, allocations: 9.906 kB / 0.5313 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3495, allocations: 3.984 kB / 0.5313 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3495, allocations: 1.031 kB / 0.5313 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007554/0.3503, allocations: 155.2 kB / 0.5314 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002888/0.3532, allocations: 5.516 MB / 0.5368 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/0.3535, allocations: 48.36 kB / 0.5368 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.3536, allocations: 15.59 kB / 0.5369 GB, free: 5.848 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002579/0.3539, allocations: 197.5 kB / 0.537 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.306e-05/0.3539, allocations: 36.11 kB / 0.5371 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008905/0.3548, allocations: 454.1 kB / 0.5375 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3549, allocations: 5.438 kB / 0.5375 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3549, allocations: 1.25 kB / 0.5375 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.3549, allocations: 3.984 kB / 0.5375 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/0.3554, allocations: 382.5 kB / 0.5379 GB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3554, allocations: 0 / 0.5379 GB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000689/0.3561, allocations: 151.4 kB / 0.538 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.3561, allocations: 1.312 kB / 0.538 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.3561, allocations: 12.08 kB / 0.538 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002948/0.3591, allocations: 5.516 MB / 0.5434 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.3591, allocations: 5.031 kB / 0.5434 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007305/0.3598, allocations: 446.8 kB / 0.5439 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.36, allocations: 119.9 kB / 0.544 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.856e-05/0.3601, allocations: 5.219 kB / 0.544 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.3603, allocations: 13.27 kB / 0.544 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.123e-05/0.3604, allocations: 25.56 kB / 0.544 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.3604, allocations: 6.344 kB / 0.544 GB, free: 15.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003999/0.3608, allocations: 340.3 kB / 0.5443 GB, free: 14.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.3608, allocations: 0 / 0.5443 GB, free: 14.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005899/0.3614, allocations: 149.8 kB / 0.5445 GB, free: 14.93 MB / 414.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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {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.00137/0.3628, allocations: 1.09 MB / 0.5456 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.364, allocations: 400 kB / 0.5459 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.364, allocations: 4 kB / 0.5459 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008156/0.3649, allocations: 272.1 kB / 0.5462 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005209/0.3654, allocations: 92.75 kB / 0.5463 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005944/0.3713, allocations: 4.389 MB / 0.5506 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/0.3719, allocations: 0.8542 MB / 0.5514 GB, free: 9.449 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002492/0.3722, allocations: 83.22 kB / 0.5515 GB, free: 9.367 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.3723, allocations: 111.4 kB / 0.5516 GB, free: 9.258 MB / 414.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3724, allocations: 0 / 0.5516 GB, free: 9.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03585/0.4082, allocations: 12.9 MB / 0.5642 GB, free: 12.64 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.97, allocations: 12.91 kB / 0.5642 GB, free: 12.63 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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/HelicalPipe/kc_overall_KC/kc_overall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches