Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_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.001167/0.001167, allocations: 103.8 kB / 16.27 MB, free: 5.977 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.001182/0.001182, allocations: 188.6 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2019/0.2019, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 65.36 kB / 382.9 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09929/0.1011, allocations: 57.79 MB / 440.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003412/0.1046, allocations: 2.01 MB / 442.7 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.106, allocations: 0.9277 MB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.1062, allocations: 0 / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.1065, allocations: 63.66 kB / 443.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003617/0.1069, allocations: 119.4 kB / 443.8 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.1072, allocations: 91.58 kB / 443.8 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003239/0.1075, allocations: 386.2 kB / 444.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.732e-05/0.1076, allocations: 56.53 kB / 444.3 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.1078, allocations: 143.2 kB / 444.4 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.108, allocations: 179.1 kB / 444.6 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.758e-05/0.1081, allocations: 12 kB / 444.6 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002839/0.1083, allocations: 151.7 kB / 444.8 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.1085, allocations: 95.53 kB / 444.8 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.1086, allocations: 158.9 kB / 445 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004599/0.1091, allocations: 418.4 kB / 445.4 MB, free: 1.984 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1091, allocations: 0 / 445.4 MB, free: 1.984 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1091, allocations: 4 kB / 445.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.1091, allocations: 0 / 445.4 MB, free: 1.98 MB / 318.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.0008678/0.11, allocations: 0.6552 MB / 446.1 MB, free: 1.277 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.11, allocations: 8.031 kB / 446.1 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.022e-05/0.1101, allocations: 86.69 kB / 446.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.503e-05/0.1102, allocations: 44.47 kB / 446.2 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.1104, allocations: 281.7 kB / 446.5 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.1105, allocations: 25.36 kB / 446.5 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.1105, allocations: 36.38 kB / 446.5 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006175/0.1111, allocations: 0.5569 MB / 447.1 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1112, allocations: 4 kB / 447.1 MB, free: 200 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.1112, allocations: 23.97 kB / 447.1 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.283e-05/0.1112, allocations: 36.98 kB / 447.2 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009136/0.1122, allocations: 0.5659 MB / 447.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.1138, allocations: 1.183 MB / 448.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006232/0.1144, allocations: 378.2 kB / 449.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.1147, allocations: 136.9 kB / 449.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.1147, allocations: 7.984 kB / 449.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.1148, allocations: 38.56 kB / 449.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.1148, allocations: 0 / 449.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.000936/0.1157, allocations: 458 kB / 449.9 MB, free: 13.31 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.1157, allocations: 55.41 kB / 450 MB, free: 13.24 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004528/0.1162, allocations: 457.6 kB / 450.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.1162, allocations: 25.7 kB / 450.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.1164, allocations: 196.3 kB / 450.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.469e-05/0.1164, allocations: 74.89 kB / 450.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-05/0.1165, allocations: 53.69 kB / 450.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1167, allocations: 354.7 kB / 451.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.1169, allocations: 115.9 kB / 451.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.1172, allocations: 128 kB / 451.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005105/0.1177, allocations: 256.6 kB / 451.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1177, allocations: 4 kB / 451.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006447/0.1184, allocations: 352.8 kB / 451.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.1184, allocations: 11.94 kB / 451.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1184, allocations: 0 / 451.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1184, allocations: 0 / 451.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007475/0.1192, allocations: 155.9 kB / 452.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003102/0.1223, allocations: 5.516 MB / 457.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.1226, allocations: 39.8 kB / 457.7 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.1226, allocations: 16 kB / 457.7 MB, free: 5.281 MB / 334.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.0002334/0.1228, allocations: 193.6 kB / 457.9 MB, free: 5.082 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.685e-05/0.1229, allocations: 35.53 kB / 457.9 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000864/0.1238, allocations: 449.1 kB / 458.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1238, allocations: 0 / 458.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1238, allocations: 8 kB / 458.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1239, allocations: 3.984 kB / 458.3 MB, free: 4.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004389/0.1243, allocations: 377.2 kB / 458.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1243, allocations: 0 / 458.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006505/0.125, allocations: 155.9 kB / 458.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.125, allocations: 0 / 458.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.125, allocations: 11.98 kB / 458.9 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003033/0.1281, allocations: 5.516 MB / 464.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.1281, allocations: 3.938 kB / 464.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007045/0.1288, allocations: 459 kB / 464.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.1289, allocations: 116.7 kB / 465 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/0.129, allocations: 4 kB / 465 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.1292, allocations: 7.984 kB / 465 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.058e-05/0.1293, allocations: 27.91 kB / 465 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.1293, allocations: 12 kB / 465 MB, free: 13.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003925/0.1297, allocations: 335.1 kB / 465.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.703e-06/0.1297, allocations: 0 / 465.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003899/0.1301, allocations: 107.8 kB / 465.4 MB, free: 13.2 MB / 350.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.001071/0.1312, allocations: 1.016 MB / 466.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.1324, allocations: 431.5 kB / 466.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1324, allocations: 0 / 466.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000801/0.1332, allocations: 276.5 kB / 467.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/0.1337, allocations: 90.05 kB / 467.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005384/0.1391, allocations: 4.45 MB / 471.7 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.1395, allocations: 0.862 MB / 472.5 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002414/0.1398, allocations: 79.22 kB / 472.6 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.14, allocations: 115.4 kB / 472.7 MB, free: 5.77 MB / 350.1 MB Notification: Performance of SimCode: time 7.82e-07/0.14, allocations: 0 / 472.7 MB, free: 5.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1214/0.2614, allocations: 11.35 MB / 484.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.44, allocations: 8.25 kB / 484.1 MB, free: 10.46 MB / 366.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches