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_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 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_overall_KC,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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.001574/0.001574, allocations: 106.2 kB / 16.27 MB, free: 5.973 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.002235/0.002235, allocations: 192.1 kB / 17.2 MB, free: 5.605 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.488/1.488, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2222/0.2222, 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.001602/0.001602, allocations: 66.39 kB / 382.9 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1148, allocations: 57.8 MB / 440.7 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.003732/0.1185, allocations: 1.983 MB / 442.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002637/0.1212, allocations: 1.858 MB / 444.5 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.1215, allocations: 3.938 kB / 444.5 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004129/0.1219, allocations: 67.59 kB / 444.6 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004679/0.1224, allocations: 123.4 kB / 444.7 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.1235, allocations: 350.6 kB / 445 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005282/0.124, allocations: 386.1 kB / 445.4 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1241, allocations: 40.72 kB / 445.4 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003032/0.1245, allocations: 155.2 kB / 445.6 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.1247, allocations: 183.1 kB / 445.8 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.1247, allocations: 12 kB / 445.8 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009459/0.1257, allocations: 0.5381 MB / 446.3 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.1258, allocations: 91.58 kB / 446.4 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.126, allocations: 158.9 kB / 446.6 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006545/0.1266, allocations: 0.6346 MB / 447.2 MB, free: 184 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1266, allocations: 0 / 447.2 MB, free: 184 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1266, allocations: 0 / 447.2 MB, free: 184 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.1267, allocations: 0 / 447.2 MB, free: 184 kB / 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.001114/0.1278, allocations: 0.6825 MB / 447.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.1278, allocations: 12.03 kB / 447.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.745e-05/0.1279, allocations: 86.64 kB / 448 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.101e-05/0.128, allocations: 40.47 kB / 448 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.1284, allocations: 273.8 kB / 448.3 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.1284, allocations: 29.38 kB / 448.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.469e-05/0.1285, allocations: 36.36 kB / 448.4 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008798/0.1294, allocations: 0.5608 MB / 448.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.1294, allocations: 7.938 kB / 448.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.1294, allocations: 16 kB / 448.9 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.544e-05/0.1295, allocations: 40.95 kB / 449 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.1307, allocations: 0.5698 MB / 449.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002333/0.1331, allocations: 1.175 MB / 450.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008072/0.1339, allocations: 378.2 kB / 451.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/0.1342, allocations: 136.8 kB / 451.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.969e-05/0.1343, allocations: 7.984 kB / 451.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.332e-05/0.1344, allocations: 38.56 kB / 451.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 4.489e-06/0.1344, allocations: 0 / 451.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.001148/0.1355, allocations: 466 kB / 451.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.916e-05/0.1356, allocations: 55.41 kB / 451.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005236/0.1362, allocations: 449.6 kB / 452.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.1362, allocations: 25.7 kB / 452.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.1363, allocations: 192.3 kB / 452.4 MB, free: 10.74 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.83e-05/0.1364, allocations: 78.92 kB / 452.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.584e-05/0.1365, allocations: 53.69 kB / 452.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1367, allocations: 358.7 kB / 452.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.137, allocations: 115.9 kB / 453 MB, free: 10.13 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.1372, allocations: 120 kB / 453.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006112/0.1378, allocations: 264.5 kB / 453.4 MB, free: 9.754 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1378, allocations: 0 / 453.4 MB, free: 9.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007641/0.1386, allocations: 348.8 kB / 453.7 MB, free: 9.406 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.1387, allocations: 7.938 kB / 453.7 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1387, allocations: 0 / 453.7 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.1387, allocations: 4 kB / 453.8 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008349/0.1395, allocations: 147.9 kB / 453.9 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003266/0.1428, allocations: 5.528 MB / 459.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.1431, allocations: 35.56 kB / 459.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.1431, allocations: 15.98 kB / 459.5 MB, free: 3.461 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.0002568/0.1434, allocations: 193.6 kB / 459.7 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.197e-05/0.1435, allocations: 35.53 kB / 459.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000895/0.1444, allocations: 465.2 kB / 460.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.1444, allocations: 0 / 460.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.1444, allocations: 0 / 460.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.1444, allocations: 0 / 460.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004928/0.1449, allocations: 381.2 kB / 460.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1449, allocations: 0 / 460.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006682/0.1456, allocations: 155.9 kB / 460.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.1456, allocations: 4 kB / 460.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.1456, allocations: 8 kB / 460.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002961/0.1486, allocations: 5.516 MB / 466.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.1486, allocations: 8.031 kB / 466.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007192/0.1494, allocations: 450.8 kB / 466.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.1495, allocations: 116.7 kB / 466.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.924e-05/0.1496, allocations: 8 kB / 466.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.1498, allocations: 4 kB / 466.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-05/0.1499, allocations: 23.91 kB / 466.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.15, allocations: 19.98 kB / 466.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003947/0.1504, allocations: 335.1 kB / 467.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1504, allocations: 0 / 467.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005283/0.1509, allocations: 147.8 kB / 467.3 MB, free: 11.33 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.001327/0.1522, allocations: 1.086 MB / 468.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.1535, allocations: 435.5 kB / 468.8 MB, free: 9.789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.1535, allocations: 0 / 468.8 MB, free: 9.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008363/0.1543, allocations: 284.3 kB / 469.1 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005006/0.1549, allocations: 81.45 kB / 469.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005676/0.1605, allocations: 4.469 MB / 473.6 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.161, allocations: 0.8504 MB / 474.5 MB, free: 4.008 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002373/0.1612, allocations: 87.2 kB / 474.6 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.1614, allocations: 110.9 kB / 474.7 MB, free: 3.82 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1614, allocations: 0 / 474.7 MB, free: 3.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03419/0.1956, allocations: 12.69 MB / 487.4 MB, free: 7.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.51, allocations: 8.125 kB / 487.4 MB, free: 7.172 MB / 366.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_overall_KC/kc_overall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches