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_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_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_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.001803/0.001803, allocations: 116.9 kB / 17.78 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.001922/0.001922, 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.416/1.416, 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.2345/0.2345, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 68.14 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3534, 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_laminar_KC): time 0.002905/0.3563, allocations: 2.006 MB / 0.5204 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.3576, allocations: 0.8958 MB / 0.5213 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.188e-05/0.3577, allocations: 1.406 kB / 0.5213 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.358, allocations: 64.5 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003416/0.3583, allocations: 120.1 kB / 0.5215 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.3586, allocations: 84.67 kB / 0.5216 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000404/0.359, allocations: 397.1 kB / 0.5219 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.85e-05/0.3591, allocations: 44.53 kB / 0.522 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.3593, allocations: 150.2 kB / 0.5221 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.3595, allocations: 178.2 kB / 0.5223 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.3596, allocations: 11.56 kB / 0.5223 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003042/0.3599, allocations: 140.4 kB / 0.5224 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.36, allocations: 100.3 kB / 0.5225 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.3602, allocations: 158.3 kB / 0.5227 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005305/0.3607, allocations: 426.6 kB / 0.5231 GB, free: 492 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3607, allocations: 0 / 0.5231 GB, free: 492 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3607, allocations: 0 / 0.5231 GB, free: 492 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.3607, allocations: 1.125 kB / 0.5231 GB, free: 492 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0009719/0.3617, allocations: 0.6674 MB / 0.5237 GB, free: 15.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.3618, allocations: 10.95 kB / 0.5237 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.3619, allocations: 89.61 kB / 0.5238 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.721e-05/0.362, allocations: 44.06 kB / 0.5239 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/0.3623, allocations: 277.3 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.3624, allocations: 31.95 kB / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.093e-05/0.3624, allocations: 31.72 kB / 0.5242 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009045/0.3633, allocations: 0.5547 MB / 0.5247 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.3634, allocations: 0 / 0.5247 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.128e-05/0.3634, allocations: 27.42 kB / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.046e-05/0.3635, allocations: 38.67 kB / 0.5248 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.3646, allocations: 0.5724 MB / 0.5254 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.3665, allocations: 1.173 MB / 0.5265 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007076/0.3672, allocations: 385.9 kB / 0.5269 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.3675, allocations: 134.1 kB / 0.527 GB, free: 14.33 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-05/0.3675, allocations: 11.53 kB / 0.527 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.3676, allocations: 35.94 kB / 0.5271 GB, free: 14.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.834e-06/0.3676, allocations: 1.312 kB / 0.5271 GB, free: 14.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001046/0.3686, allocations: 465 kB / 0.5275 GB, free: 14.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.3687, allocations: 54.56 kB / 0.5275 GB, free: 14.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005331/0.3692, allocations: 457.9 kB / 0.528 GB, free: 13.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.3693, allocations: 26.92 kB / 0.528 GB, free: 13.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.3694, allocations: 191.9 kB / 0.5282 GB, free: 13.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.299e-05/0.3695, allocations: 80.83 kB / 0.5283 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.992e-05/0.3696, allocations: 52.27 kB / 0.5283 GB, free: 13.44 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.3698, allocations: 358 kB / 0.5287 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/0.3701, allocations: 114.7 kB / 0.5288 GB, free: 13.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.3703, allocations: 119.9 kB / 0.5289 GB, free: 13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005234/0.3709, allocations: 259.1 kB / 0.5291 GB, free: 12.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3709, allocations: 0 / 0.5291 GB, free: 12.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006536/0.3716, allocations: 352.3 kB / 0.5295 GB, free: 12.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.3716, allocations: 9.281 kB / 0.5295 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3716, allocations: 0 / 0.5295 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3716, allocations: 1.281 kB / 0.5295 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000737/0.3724, allocations: 153.9 kB / 0.5296 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003545/0.3759, allocations: 5.517 MB / 0.535 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.3762, allocations: 47.67 kB / 0.5351 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-05/0.3763, allocations: 15.47 kB / 0.5351 GB, free: 7.168 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.000263/0.3765, allocations: 194.1 kB / 0.5353 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.25e-05/0.3766, allocations: 35.23 kB / 0.5353 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008995/0.3775, allocations: 465.8 kB / 0.5357 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.3775, allocations: 2.281 kB / 0.5357 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.3775, allocations: 0 / 0.5357 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3776, allocations: 1.125 kB / 0.5357 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005017/0.3781, allocations: 374.3 kB / 0.5361 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.3781, allocations: 5.156 kB / 0.5361 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006579/0.3787, allocations: 154.2 kB / 0.5362 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3788, allocations: 1.062 kB / 0.5362 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.3788, allocations: 8.594 kB / 0.5363 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003505/0.3823, allocations: 5.528 MB / 0.5417 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3823, allocations: 3.938 kB / 0.5417 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007392/0.3831, allocations: 447.4 kB / 0.5421 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.3832, allocations: 120.1 kB / 0.5422 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.536e-05/0.3833, allocations: 8.906 kB / 0.5422 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.3835, allocations: 8.703 kB / 0.5422 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.3836, allocations: 25.88 kB / 0.5422 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.3836, allocations: 10.72 kB / 0.5423 GB, free: 492 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000391/0.384, allocations: 339 kB / 0.5426 GB, free: 292 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.973e-06/0.384, allocations: 1.25 kB / 0.5426 GB, free: 292 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004271/0.3845, allocations: 111.7 kB / 0.5427 GB, free: 264 kB / 398.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.00121/0.3857, allocations: 1.006 MB / 0.5437 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.3868, allocations: 403.3 kB / 0.544 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.3869, allocations: 0 / 0.544 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008384/0.3877, allocations: 283.5 kB / 0.5443 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.3882, allocations: 89.41 kB / 0.5444 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006595/0.3948, allocations: 4.36 MB / 0.5487 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005585/0.3954, allocations: 0.8503 MB / 0.5495 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000279/0.3957, allocations: 87.22 kB / 0.5496 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.3959, allocations: 115.4 kB / 0.5497 GB, free: 11.25 MB / 414.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3959, allocations: 0 / 0.5497 GB, free: 11.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03817/0.4341, allocations: 11.55 MB / 0.561 GB, free: 15.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.77, allocations: 8.969 kB / 0.561 GB, free: 15.98 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_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_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches