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_turbulent_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_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_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.001201/0.001202, allocations: 107.4 kB / 17.21 MB, free: 6.293 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.001317/0.001317, allocations: 194 kB / 18.12 MB, free: 5.383 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 / 241.8 MB, free: 13.78 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.2007/0.2007, allocations: 44.18 MB / 336.1 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.98 kB / 407.8 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09457/0.09593, allocations: 60.83 MB / 468.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003064/0.09903, allocations: 2.066 MB / 470.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1004, allocations: 0.8958 MB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.1005, allocations: 8 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.1007, allocations: 51.72 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003212/0.1011, allocations: 111.5 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.1013, allocations: 83.78 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004286/0.1018, allocations: 0.5097 MB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.635e-05/0.1018, allocations: 44.72 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.102, allocations: 131.2 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.1023, allocations: 199.1 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.1023, allocations: 11.98 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002712/0.1026, allocations: 147.8 kB / 472.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.824e-05/0.1027, allocations: 95.52 kB / 473 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.1029, allocations: 154.9 kB / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004063/0.1033, allocations: 426.5 kB / 473.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1033, allocations: 4 kB / 473.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.1033, allocations: 0 / 473.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1033, allocations: 0 / 473.6 MB, free: 9.754 MB / 350.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.0008845/0.1042, allocations: 0.6475 MB / 474.2 MB, free: 9.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1042, allocations: 12.03 kB / 474.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.04e-05/0.1043, allocations: 86.69 kB / 474.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.126e-05/0.1044, allocations: 40.47 kB / 474.3 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.1047, allocations: 279.6 kB / 474.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.1047, allocations: 33.36 kB / 474.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.1048, allocations: 32.38 kB / 474.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007382/0.1055, allocations: 0.5609 MB / 475.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1055, allocations: 0 / 475.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.1056, allocations: 11.98 kB / 475.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.964e-05/0.1056, allocations: 48.91 kB / 475.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008224/0.1064, allocations: 0.5698 MB / 475.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.108, allocations: 1.171 MB / 477 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000587/0.1086, allocations: 382.1 kB / 477.4 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.1088, allocations: 136.9 kB / 477.6 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.1088, allocations: 11.98 kB / 477.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.1089, allocations: 34.55 kB / 477.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/0.1089, allocations: 4 kB / 477.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008802/0.1098, allocations: 458.1 kB / 478 MB, free: 5.082 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.1098, allocations: 63.44 kB / 478.1 MB, free: 5.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.1102, allocations: 453.6 kB / 478.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.1103, allocations: 29.7 kB / 478.6 MB, free: 4.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.1104, allocations: 188.3 kB / 478.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.375e-05/0.1104, allocations: 70.92 kB / 478.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-05/0.1105, allocations: 53.69 kB / 478.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1106, allocations: 354.7 kB / 479.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.1109, allocations: 115.9 kB / 479.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.1111, allocations: 122.1 kB / 479.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000467/0.1116, allocations: 263.6 kB / 479.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1116, allocations: 0 / 479.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005808/0.1122, allocations: 337 kB / 480.1 MB, free: 3.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1122, allocations: 11.88 kB / 480.1 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1122, allocations: 0 / 480.1 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1122, allocations: 11.98 kB / 480.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007042/0.1129, allocations: 151.9 kB / 480.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002553/0.1155, allocations: 5.516 MB / 485.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.1157, allocations: 55.48 kB / 485.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.1158, allocations: 8 kB / 485.8 MB, free: 13.07 MB / 366.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.0001928/0.116, allocations: 189.7 kB / 486 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.369e-05/0.116, allocations: 39.56 kB / 486 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008123/0.1169, allocations: 460.4 kB / 486.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1169, allocations: 0 / 486.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.1169, allocations: 0 / 486.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1169, allocations: 3.984 kB / 486.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004391/0.1173, allocations: 381.2 kB / 486.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.1173, allocations: 3.938 kB / 486.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006457/0.118, allocations: 151.9 kB / 487 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.118, allocations: 0 / 487 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.118, allocations: 11.98 kB / 487 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002596/0.1206, allocations: 5.516 MB / 492.5 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.1207, allocations: 3.938 kB / 492.5 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006597/0.1213, allocations: 450.4 kB / 493 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.182e-05/0.1214, allocations: 120.6 kB / 493.1 MB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.548e-05/0.1215, allocations: 4 kB / 493.1 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.1217, allocations: 7.984 kB / 493.1 MB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.092e-05/0.1218, allocations: 27.84 kB / 493.1 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.1218, allocations: 12 kB / 493.1 MB, free: 5.414 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003217/0.1221, allocations: 335.1 kB / 493.5 MB, free: 5.086 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1221, allocations: 0 / 493.5 MB, free: 5.086 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003852/0.1225, allocations: 111.9 kB / 493.6 MB, free: 4.977 MB / 366.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.0009878/0.1235, allocations: 1.009 MB / 494.6 MB, free: 3.941 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.1246, allocations: 392.2 kB / 495 MB, free: 3.559 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1246, allocations: 0 / 495 MB, free: 3.559 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007525/0.1254, allocations: 289.5 kB / 495.3 MB, free: 3.277 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.1258, allocations: 94.78 kB / 495.3 MB, free: 3.188 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005002/0.1309, allocations: 4.519 MB / 499.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.1312, allocations: 0.8581 MB / 0.489 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002295/0.1314, allocations: 87.22 kB / 0.4891 GB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.1316, allocations: 107.4 kB / 0.4892 GB, free: 13.52 MB / 382.1 MB Notification: Performance of SimCode: time 2.465e-06/0.1316, allocations: 0 / 0.4892 GB, free: 13.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.248/3.38, allocations: 10.84 MB / 0.4998 GB, free: 2.961 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003147/3.38, allocations: 278.3 kB / 0.5 GB, free: 2.582 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.445/5.826, allocations: 10.05 kB / 0.5 GB, free: 2.578 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches