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.001159/0.001159, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001146/0.001146, allocations: 183.9 kB / 18.71 MB, free: 4.34 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.413/1.413, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2222/0.2222, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3392, allocations: 60.81 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.004067/0.3432, allocations: 2.009 MB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.345, allocations: 0.9071 MB / 0.5213 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.3452, allocations: 1.219 kB / 0.5213 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003826/0.3455, allocations: 62.69 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004853/0.346, allocations: 126.6 kB / 0.5215 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.3464, allocations: 86.56 kB / 0.5216 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005477/0.3469, allocations: 387.7 kB / 0.5219 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.281e-05/0.347, allocations: 34.25 kB / 0.522 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002456/0.3472, allocations: 151.1 kB / 0.5221 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000273/0.3475, allocations: 178.1 kB / 0.5223 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.555e-05/0.3476, allocations: 10.69 kB / 0.5223 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003286/0.3479, allocations: 149.5 kB / 0.5224 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.348, allocations: 100.4 kB / 0.5225 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.3482, allocations: 153.7 kB / 0.5227 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006238/0.3488, allocations: 435.5 kB / 0.5231 GB, free: 492 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3488, allocations: 3.938 kB / 0.5231 GB, free: 488 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3488, allocations: 0 / 0.5231 GB, free: 488 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.3488, allocations: 0 / 0.5231 GB, free: 488 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.001088/0.3499, allocations: 0.6615 MB / 0.5237 GB, free: 15.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.35, allocations: 9.406 kB / 0.5237 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.3501, allocations: 82.91 kB / 0.5238 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.3502, allocations: 44.12 kB / 0.5239 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004542/0.3507, allocations: 284.3 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.3507, allocations: 27.98 kB / 0.5242 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.569e-05/0.3508, allocations: 35.72 kB / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.3518, allocations: 0.5546 MB / 0.5247 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.3518, allocations: 0 / 0.5247 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-05/0.3519, allocations: 20.84 kB / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.365e-05/0.352, allocations: 37.89 kB / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.3531, allocations: 0.5677 MB / 0.5254 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.3551, allocations: 1.18 MB / 0.5265 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007022/0.3558, allocations: 366.2 kB / 0.5269 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.3561, allocations: 135.2 kB / 0.527 GB, free: 14.33 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.375e-05/0.3562, allocations: 10.55 kB / 0.527 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.3562, allocations: 36.91 kB / 0.527 GB, free: 14.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.384e-06/0.3562, allocations: 0 / 0.527 GB, free: 14.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001056/0.3573, allocations: 466.1 kB / 0.5275 GB, free: 14.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.3573, allocations: 57.58 kB / 0.5275 GB, free: 14.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006174/0.3579, allocations: 450.8 kB / 0.528 GB, free: 13.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/0.358, allocations: 34.8 kB / 0.528 GB, free: 13.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.3581, allocations: 192.4 kB / 0.5282 GB, free: 13.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.3582, allocations: 75.8 kB / 0.5282 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.3584, allocations: 52.58 kB / 0.5283 GB, free: 13.44 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.3586, allocations: 354.2 kB / 0.5286 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.3589, allocations: 118.1 kB / 0.5287 GB, free: 13.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.3591, allocations: 112.5 kB / 0.5289 GB, free: 13.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005494/0.3597, allocations: 274.2 kB / 0.5291 GB, free: 12.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3597, allocations: 0 / 0.5291 GB, free: 12.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007105/0.3604, allocations: 348.5 kB / 0.5294 GB, free: 12.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.3604, allocations: 8.375 kB / 0.5295 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3604, allocations: 0 / 0.5295 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.3605, allocations: 5.609 kB / 0.5295 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000756/0.3612, allocations: 159.4 kB / 0.5296 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00389/0.3651, allocations: 5.515 MB / 0.535 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.3654, allocations: 53.08 kB / 0.5351 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.3654, allocations: 18.83 kB / 0.5351 GB, free: 7.148 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.0002874/0.3657, allocations: 189.3 kB / 0.5352 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.056e-05/0.3658, allocations: 36.95 kB / 0.5353 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009278/0.3667, allocations: 453.2 kB / 0.5357 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3667, allocations: 2.312 kB / 0.5357 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3667, allocations: 0 / 0.5357 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3667, allocations: 1.125 kB / 0.5357 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.3672, allocations: 386 kB / 0.5361 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.3672, allocations: 5.203 kB / 0.5361 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006629/0.3679, allocations: 154.5 kB / 0.5362 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3679, allocations: 1.062 kB / 0.5362 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.3679, allocations: 8.531 kB / 0.5363 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003512/0.3714, allocations: 5.516 MB / 0.5416 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.3714, allocations: 7.922 kB / 0.5416 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000771/0.3722, allocations: 447.8 kB / 0.5421 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.3724, allocations: 119.6 kB / 0.5422 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.76e-05/0.3724, allocations: 9.078 kB / 0.5422 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.3726, allocations: 9.125 kB / 0.5422 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.572e-05/0.3727, allocations: 24.72 kB / 0.5422 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.3727, allocations: 15.2 kB / 0.5422 GB, free: 480 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004062/0.3731, allocations: 339.5 kB / 0.5426 GB, free: 280 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3731, allocations: 0 / 0.5426 GB, free: 280 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004373/0.3736, allocations: 100.4 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.001227/0.3748, allocations: 1.014 MB / 0.5437 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.376, allocations: 399.6 kB / 0.544 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/0.376, allocations: 0 / 0.544 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008089/0.3768, allocations: 271 kB / 0.5443 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005065/0.3773, allocations: 87.66 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.005888/0.3832, allocations: 4.367 MB / 0.5486 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/0.3837, allocations: 0.8581 MB / 0.5495 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002733/0.384, allocations: 87.2 kB / 0.5496 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.3842, allocations: 107.4 kB / 0.5497 GB, free: 11.28 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3842, allocations: 0 / 0.5497 GB, free: 11.28 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03898/0.4231, allocations: 11.6 MB / 0.561 GB, free: 15.97 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.28, allocations: 1.031 kB / 0.561 GB, free: 15.97 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