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_overall_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_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_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.00145/0.001449, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001406/0.001406, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.372/1.372, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2469/0.2469, allocations: 44.19 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 61.28 kB / 408.6 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1121, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.00334/0.1155, allocations: 2.008 MB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.1178, allocations: 1.81 MB / 473.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.071e-05/0.1179, allocations: 4 kB / 473.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.1182, allocations: 63.59 kB / 473.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003343/0.1185, allocations: 119.4 kB / 473.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007376/0.1193, allocations: 342.6 kB / 473.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003616/0.1197, allocations: 394.2 kB / 474.1 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.972e-05/0.1197, allocations: 36.73 kB / 474.1 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.1199, allocations: 151.2 kB / 474.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.1201, allocations: 183.1 kB / 474.5 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.1202, allocations: 12 kB / 474.5 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007668/0.1209, allocations: 0.5381 MB / 475 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.929e-05/0.121, allocations: 103.5 kB / 475.1 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.1212, allocations: 158.9 kB / 475.3 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007313/0.1219, allocations: 0.6232 MB / 475.9 MB, free: 7.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1219, allocations: 4 kB / 475.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.122, allocations: 0 / 475.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.122, allocations: 0 / 475.9 MB, free: 7.695 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.001016/0.123, allocations: 0.6825 MB / 476.6 MB, free: 6.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.123, allocations: 8.031 kB / 476.6 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.4e-05/0.1231, allocations: 82.7 kB / 476.7 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.813e-05/0.1232, allocations: 44.47 kB / 476.7 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.1235, allocations: 283.6 kB / 477 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.1235, allocations: 25.38 kB / 477 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.052e-05/0.1236, allocations: 40.36 kB / 477 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007605/0.1244, allocations: 0.5608 MB / 477.6 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1244, allocations: 3.938 kB / 477.6 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/0.1244, allocations: 16 kB / 477.6 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-05/0.1245, allocations: 40.97 kB / 477.7 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009039/0.1254, allocations: 0.5659 MB / 478.2 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.1269, allocations: 1.179 MB / 479.4 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006103/0.1276, allocations: 374.2 kB / 479.8 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.1278, allocations: 144.8 kB / 479.9 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.1279, allocations: 3.984 kB / 479.9 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.1279, allocations: 38.56 kB / 480 MB, free: 3.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.343e-06/0.1279, allocations: 0 / 480 MB, free: 3.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009276/0.1288, allocations: 470.5 kB / 480.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.1289, allocations: 55.41 kB / 480.5 MB, free: 2.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000425/0.1293, allocations: 449.6 kB / 480.9 MB, free: 2.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.1294, allocations: 25.7 kB / 480.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.1295, allocations: 188.4 kB / 481.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.504e-05/0.1296, allocations: 82.83 kB / 481.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.494e-05/0.1296, allocations: 53.69 kB / 481.3 MB, free: 2.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1298, allocations: 354.7 kB / 481.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.13, allocations: 119.9 kB / 481.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.1303, allocations: 117.8 kB / 481.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004921/0.1308, allocations: 267.7 kB / 482.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1308, allocations: 0 / 482.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000604/0.1314, allocations: 344.9 kB / 482.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1314, allocations: 11.94 kB / 482.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1314, allocations: 0 / 482.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1314, allocations: 0 / 482.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007298/0.1322, allocations: 151.9 kB / 482.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002731/0.1349, allocations: 5.52 MB / 488.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.1351, allocations: 43.42 kB / 488.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.1352, allocations: 15.98 kB / 488.2 MB, free: 10.97 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.0001762/0.1354, allocations: 185.7 kB / 488.4 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/0.1354, allocations: 31.62 kB / 488.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008347/0.1363, allocations: 464.4 kB / 488.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1363, allocations: 0 / 488.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.1363, allocations: 8 kB / 488.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1363, allocations: 0 / 488.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000396/0.1367, allocations: 381.2 kB / 489.2 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1367, allocations: 0 / 489.2 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000658/0.1374, allocations: 155.9 kB / 489.4 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1374, allocations: 0 / 489.4 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.1374, allocations: 12 kB / 489.4 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002633/0.1401, allocations: 5.512 MB / 494.9 MB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1401, allocations: 3.938 kB / 494.9 MB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006478/0.1407, allocations: 458 kB / 495.3 MB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.372e-05/0.1408, allocations: 124.5 kB / 495.5 MB, free: 3.363 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.65e-05/0.1409, allocations: 4 kB / 495.5 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.1411, allocations: 4 kB / 495.5 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/0.1412, allocations: 27.91 kB / 495.5 MB, free: 3.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.1412, allocations: 15.98 kB / 495.5 MB, free: 3.312 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003127/0.1415, allocations: 339.1 kB / 495.8 MB, free: 2.984 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1415, allocations: 0 / 495.8 MB, free: 2.984 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004503/0.142, allocations: 131.9 kB / 496 MB, free: 2.855 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.001107/0.1431, allocations: 1.09 MB / 497.1 MB, free: 1.742 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.1443, allocations: 444.5 kB / 497.5 MB, free: 1.309 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1443, allocations: 0 / 497.5 MB, free: 1.309 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008009/0.1451, allocations: 271.7 kB / 497.8 MB, free: 1.043 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.1456, allocations: 98.67 kB / 497.9 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005015/0.1506, allocations: 4.453 MB / 0.4905 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.151, allocations: 0.8542 MB / 0.4914 GB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002251/0.1512, allocations: 87.2 kB / 0.4915 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.1514, allocations: 111.4 kB / 0.4916 GB, free: 11.34 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1514, allocations: 0 / 0.4916 GB, free: 11.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3268/0.4782, allocations: 12.67 MB / 0.5039 GB, free: 51.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.58, allocations: 16.02 kB / 0.504 GB, free: 51.03 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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_overall_KC/kc_overall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches