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_laminar.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_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",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.00126/0.00126, 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.001219/0.001219, allocations: 183.8 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.383/1.383, 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.2803/0.2803, allocations: 44.19 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 71.88 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3283, allocations: 60.81 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.002973/0.3313, allocations: 2.111 MB / 0.5205 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.3329, allocations: 1.228 MB / 0.5217 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.222e-05/0.333, allocations: 1.031 kB / 0.5217 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.3333, allocations: 63.42 kB / 0.5218 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.3335, allocations: 97.77 kB / 0.5219 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004974/0.334, allocations: 187.8 kB / 0.522 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005051/0.3345, allocations: 436.7 kB / 0.5225 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.091e-05/0.3346, allocations: 49.67 kB / 0.5225 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.3348, allocations: 155.2 kB / 0.5227 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.3351, allocations: 189.3 kB / 0.5228 GB, free: 464 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.479e-05/0.3351, allocations: 13.25 kB / 0.5228 GB, free: 464 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004705/0.3356, allocations: 263 kB / 0.5231 GB, free: 368 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.3357, allocations: 90.89 kB / 0.5232 GB, free: 328 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.3359, allocations: 163.1 kB / 0.5233 GB, free: 232 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006798/0.3366, allocations: 0.5119 MB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3366, allocations: 5.75 kB / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3366, allocations: 0 / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.3366, allocations: 0 / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001414/0.3381, allocations: 0.7114 MB / 0.5245 GB, free: 15.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.3381, allocations: 12.66 kB / 0.5246 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001197/0.3382, allocations: 81.16 kB / 0.5246 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.185e-05/0.3383, allocations: 53.36 kB / 0.5247 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.3387, allocations: 291.3 kB / 0.525 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.294e-05/0.3388, allocations: 28.95 kB / 0.525 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.403e-05/0.3388, allocations: 37.19 kB / 0.525 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.3399, allocations: 0.5722 MB / 0.5256 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.3399, allocations: 7.938 kB / 0.5256 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/0.34, allocations: 16.12 kB / 0.5256 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.783e-05/0.34, allocations: 20.7 kB / 0.5256 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008331/0.3408, allocations: 427.5 kB / 0.526 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.3428, allocations: 1.379 MB / 0.5274 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006246/0.3434, allocations: 274.5 kB / 0.5276 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000358/0.3438, allocations: 133 kB / 0.5278 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.419e-05/0.3438, allocations: 11.81 kB / 0.5278 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.748e-05/0.3439, allocations: 45.44 kB / 0.5278 GB, free: 13.49 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.3439, allocations: 0 / 0.5278 GB, free: 13.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001239/0.3452, allocations: 454.2 kB / 0.5283 GB, free: 13.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/0.3452, allocations: 109.2 kB / 0.5284 GB, free: 13.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006387/0.3459, allocations: 0.4974 MB / 0.5288 GB, free: 12.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.3459, allocations: 30.61 kB / 0.5289 GB, free: 12.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.3461, allocations: 205.8 kB / 0.5291 GB, free: 12.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.929e-05/0.3462, allocations: 62.33 kB / 0.5291 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.3463, allocations: 50.7 kB / 0.5292 GB, free: 12.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.3465, allocations: 350.3 kB / 0.5295 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.3468, allocations: 130.4 kB / 0.5296 GB, free: 12.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003711/0.3472, allocations: 173.3 kB / 0.5298 GB, free: 12.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007007/0.3479, allocations: 299.8 kB / 0.5301 GB, free: 11.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.3479, allocations: 5.156 kB / 0.5301 GB, free: 11.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008514/0.3488, allocations: 391.9 kB / 0.5305 GB, free: 11.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.3488, allocations: 10.44 kB / 0.5305 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.646e-05/0.3489, allocations: 29.58 kB / 0.5305 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3489, allocations: 1.594 kB / 0.5305 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.3491, allocations: 33.72 kB / 0.5305 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.3492, allocations: 10.42 kB / 0.5305 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/0.3494, allocations: 55.52 kB / 0.5306 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.3495, allocations: 13.97 kB / 0.5306 GB, free: 11.66 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002063/0.3497, allocations: 184.8 kB / 0.5308 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.3498, allocations: 44.28 kB / 0.5308 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007758/0.3506, allocations: 382.1 kB / 0.5312 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.3506, allocations: 2.594 kB / 0.5312 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.3506, allocations: 1.688 kB / 0.5312 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3506, allocations: 1.312 kB / 0.5312 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005964/0.3512, allocations: 367.1 kB / 0.5316 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.896e-05/0.3513, allocations: 35.06 kB / 0.5316 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.3514, allocations: 27.88 kB / 0.5316 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3514, allocations: 0 / 0.5316 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.3515, allocations: 13.39 kB / 0.5316 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3515, allocations: 6.188 kB / 0.5316 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3515, allocations: 0 / 0.5316 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009672/0.3525, allocations: 0.5773 MB / 0.5322 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.3526, allocations: 122.3 kB / 0.5323 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.812e-05/0.3527, allocations: 1.094 kB / 0.5323 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.353, allocations: 18.33 kB / 0.5323 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.855e-05/0.3531, allocations: 22.41 kB / 0.5324 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.3531, allocations: 12.12 kB / 0.5324 GB, free: 10.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004843/0.3536, allocations: 376.3 kB / 0.5327 GB, free: 10.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3536, allocations: 0 / 0.5327 GB, free: 10.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000545/0.3542, allocations: 123 kB / 0.5328 GB, free: 10.16 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001434/0.3556, allocations: 1.167 MB / 0.534 GB, free: 9.195 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009309/0.3565, allocations: 0.5272 MB / 0.5345 GB, free: 8.793 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3566, allocations: 0.6562 kB / 0.5345 GB, free: 8.793 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005079/0.3571, allocations: 383.2 kB / 0.5349 GB, free: 8.457 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006771/0.3578, allocations: 101.3 kB / 0.535 GB, free: 8.398 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006732/0.3645, allocations: 4.735 MB / 0.5396 GB, free: 5.441 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.365, allocations: 0.8408 MB / 0.5404 GB, free: 4.676 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002135/0.3653, allocations: 63.22 kB / 0.5405 GB, free: 4.648 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.3654, allocations: 108.4 kB / 0.5406 GB, free: 4.562 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3654, allocations: 0 / 0.5406 GB, free: 4.562 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0374/0.4028, allocations: 11.49 MB / 0.5518 GB, free: 9.531 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.427/8.83, allocations: 6.438 kB / 0.5518 GB, free: 9.531 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches