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.001554/0.001554, allocations: 105.5 kB / 17.63 MB, free: 5.344 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.001605/0.001605, allocations: 192 kB / 18.56 MB, free: 4.434 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.334/1.334, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.197/0.197, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 64.77 kB / 408.6 MB, free: 27.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1063, allocations: 60.82 MB / 469.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003409/0.1097, allocations: 2.009 MB / 471.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.1112, allocations: 0.8918 MB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.1113, allocations: 0 / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.1116, allocations: 63.66 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003733/0.112, allocations: 131.4 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.1123, allocations: 87.64 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003986/0.1127, allocations: 382.2 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.318e-05/0.1128, allocations: 44.72 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002447/0.113, allocations: 151.2 kB / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.1133, allocations: 183.1 kB / 473.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.1133, allocations: 8 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003042/0.1136, allocations: 163.7 kB / 473.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.1138, allocations: 95.53 kB / 473.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.1139, allocations: 154.9 kB / 473.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004867/0.1144, allocations: 430.6 kB / 474.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.1144, allocations: 0 / 474.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1144, allocations: 0 / 474.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.1145, allocations: 0 / 474.1 MB, free: 9.445 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.0009837/0.1154, allocations: 0.6553 MB / 474.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1155, allocations: 12.03 kB / 474.8 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/0.1156, allocations: 86.69 kB / 474.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.649e-05/0.1157, allocations: 40.47 kB / 474.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.116, allocations: 279.6 kB / 475.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.1161, allocations: 29.38 kB / 475.2 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.428e-05/0.1161, allocations: 36.36 kB / 475.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007737/0.1169, allocations: 0.5491 MB / 475.8 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1169, allocations: 8 kB / 475.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.117, allocations: 12 kB / 475.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.662e-05/0.117, allocations: 40.97 kB / 475.9 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009055/0.1179, allocations: 0.5698 MB / 476.4 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.1196, allocations: 1.179 MB / 477.6 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006279/0.1203, allocations: 375.7 kB / 478 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.1205, allocations: 132.9 kB / 478.1 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.1206, allocations: 8 kB / 478.1 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.1206, allocations: 42.58 kB / 478.2 MB, free: 5.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.352e-06/0.1206, allocations: 0 / 478.2 MB, free: 5.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009323/0.1215, allocations: 462.1 kB / 478.6 MB, free: 4.781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.1216, allocations: 51.41 kB / 478.7 MB, free: 4.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004297/0.122, allocations: 461.5 kB / 479.1 MB, free: 4.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.1221, allocations: 33.7 kB / 479.2 MB, free: 4.219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.1222, allocations: 188.3 kB / 479.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.547e-05/0.1223, allocations: 74.91 kB / 479.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.85e-05/0.1223, allocations: 53.69 kB / 479.5 MB, free: 3.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1225, allocations: 358.7 kB / 479.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.1227, allocations: 111.9 kB / 479.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.1229, allocations: 126.1 kB / 480 MB, free: 3.309 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004941/0.1235, allocations: 271.8 kB / 480.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1235, allocations: 0 / 480.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006349/0.1241, allocations: 337 kB / 480.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.1241, allocations: 7.938 kB / 480.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.1242, allocations: 3.984 kB / 480.7 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.1242, allocations: 0 / 480.7 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007418/0.1249, allocations: 159.9 kB / 480.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003323/0.1283, allocations: 5.512 MB / 486.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.1285, allocations: 51.67 kB / 486.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.1285, allocations: 12 kB / 486.4 MB, free: 12.75 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.000198/0.1287, allocations: 193.6 kB / 486.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.1288, allocations: 31.62 kB / 486.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008343/0.1296, allocations: 456.4 kB / 487 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.1297, allocations: 4 kB / 487.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1297, allocations: 4 kB / 487.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.1297, allocations: 3.984 kB / 487.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004852/0.1302, allocations: 377.2 kB / 487.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1302, allocations: 3.984 kB / 487.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006911/0.1309, allocations: 151.9 kB / 487.6 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.361e-06/0.1309, allocations: 4 kB / 487.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.1309, allocations: 11.98 kB / 487.6 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00333/0.1343, allocations: 5.516 MB / 493.1 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.1343, allocations: 3.938 kB / 493.1 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007196/0.135, allocations: 450 kB / 493.6 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.1352, allocations: 116.6 kB / 493.7 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.266e-05/0.1352, allocations: 11.94 kB / 493.7 MB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.1354, allocations: 11.98 kB / 493.7 MB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.1355, allocations: 19.91 kB / 493.7 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.1355, allocations: 12 kB / 493.7 MB, free: 5.102 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003505/0.1359, allocations: 335.1 kB / 494.1 MB, free: 4.777 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1359, allocations: 0 / 494.1 MB, free: 4.777 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004112/0.1363, allocations: 103.9 kB / 494.2 MB, free: 4.676 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.001164/0.1375, allocations: 1.016 MB / 495.2 MB, free: 3.637 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001288/0.1388, allocations: 440.4 kB / 495.6 MB, free: 3.207 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1388, allocations: 0 / 495.6 MB, free: 3.207 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008071/0.1396, allocations: 280.8 kB / 495.9 MB, free: 2.934 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004729/0.1401, allocations: 93.44 kB / 496 MB, free: 2.844 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00542/0.1455, allocations: 4.448 MB / 0.4887 GB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.146, allocations: 0.8504 MB / 0.4895 GB, free: 13.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002207/0.1462, allocations: 83.22 kB / 0.4896 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.1463, allocations: 115.4 kB / 0.4897 GB, free: 13.24 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1463, allocations: 0 / 0.4897 GB, free: 13.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06048/0.2068, allocations: 11.33 MB / 0.5008 GB, free: 2.184 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.42, allocations: 21.2 kB / 0.5008 GB, free: 2.168 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