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.001725/0.001725, allocations: 104.7 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.001943/0.001943, 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.488/1.488, 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.2134/0.2134, allocations: 44.19 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001452, allocations: 58.92 kB / 408.6 MB, free: 27.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1151, allocations: 60.82 MB / 469.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.003117/0.1183, allocations: 2.006 MB / 471.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002325/0.1206, allocations: 1.814 MB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.363e-05/0.1207, allocations: 0 / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.121, allocations: 67.58 kB / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003395/0.1214, allocations: 123.4 kB / 473.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007125/0.1221, allocations: 338.6 kB / 473.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003999/0.1225, allocations: 398.1 kB / 474.1 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.319e-05/0.1226, allocations: 40.72 kB / 474.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.1228, allocations: 147.2 kB / 474.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.123, allocations: 175.2 kB / 474.5 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.123, allocations: 12 kB / 474.5 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007714/0.1238, allocations: 0.5537 MB / 475 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.1239, allocations: 99.53 kB / 475.1 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.1241, allocations: 151 kB / 475.3 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007172/0.1248, allocations: 0.6271 MB / 475.9 MB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1248, allocations: 0 / 475.9 MB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1248, allocations: 0 / 475.9 MB, free: 7.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.1248, allocations: 0 / 475.9 MB, free: 7.68 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.0009733/0.1258, allocations: 0.6786 MB / 476.6 MB, free: 6.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1258, allocations: 12.03 kB / 476.6 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.367e-05/0.1259, allocations: 86.69 kB / 476.7 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.085e-05/0.126, allocations: 40.47 kB / 476.7 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.1263, allocations: 281.2 kB / 477 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.1263, allocations: 29.38 kB / 477 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.995e-05/0.1264, allocations: 40.36 kB / 477.1 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007392/0.1271, allocations: 0.5608 MB / 477.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1272, allocations: 0 / 477.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.1272, allocations: 8 kB / 477.6 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.104e-05/0.1273, allocations: 40.98 kB / 477.7 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008934/0.1282, allocations: 0.5737 MB / 478.2 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.1297, allocations: 1.183 MB / 479.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006138/0.1304, allocations: 382.1 kB / 479.8 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/0.1306, allocations: 136.9 kB / 479.9 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.648e-05/0.1307, allocations: 7.984 kB / 479.9 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.1307, allocations: 30.56 kB / 480 MB, free: 3.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.383e-06/0.1307, allocations: 0 / 480 MB, free: 3.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009271/0.1317, allocations: 474.5 kB / 480.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.1317, allocations: 55.41 kB / 480.5 MB, free: 2.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004228/0.1321, allocations: 449.6 kB / 480.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.1322, allocations: 29.7 kB / 480.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.1323, allocations: 188.4 kB / 481.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.7e-05/0.1324, allocations: 78.83 kB / 481.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.805e-05/0.1324, allocations: 53.7 kB / 481.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1326, allocations: 354.7 kB / 481.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.1328, allocations: 111.9 kB / 481.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.1331, allocations: 126.1 kB / 481.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005042/0.1336, allocations: 259.4 kB / 482.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1336, allocations: 3.938 kB / 482.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006298/0.1342, allocations: 352.9 kB / 482.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1343, allocations: 7.938 kB / 482.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1343, allocations: 0 / 482.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1343, allocations: 4 kB / 482.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007561/0.135, allocations: 147.9 kB / 482.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002799/0.1379, allocations: 5.516 MB / 488.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.1381, allocations: 47.45 kB / 488.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.1381, allocations: 12 kB / 488.2 MB, free: 10.95 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.000203/0.1383, allocations: 193.7 kB / 488.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.07e-05/0.1384, allocations: 31.62 kB / 488.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008437/0.1393, allocations: 456.5 kB / 488.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1393, allocations: 4 kB / 488.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.1393, allocations: 3.984 kB / 488.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1393, allocations: 0 / 488.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004337/0.1398, allocations: 381.1 kB / 489.2 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1398, allocations: 3.938 kB / 489.2 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006806/0.1405, allocations: 155.9 kB / 489.4 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.1405, allocations: 7.984 kB / 489.4 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.1405, allocations: 8 kB / 489.4 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002686/0.1432, allocations: 5.509 MB / 494.9 MB, free: 3.953 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1432, allocations: 8.031 kB / 494.9 MB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006559/0.1439, allocations: 454.1 kB / 495.3 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.805e-05/0.144, allocations: 116.6 kB / 495.5 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/0.144, allocations: 4 kB / 495.5 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.1442, allocations: 11.98 kB / 495.5 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.344e-05/0.1443, allocations: 23.91 kB / 495.5 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.1443, allocations: 12 kB / 495.5 MB, free: 3.305 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003388/0.1447, allocations: 339.1 kB / 495.8 MB, free: 2.977 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1447, allocations: 0 / 495.8 MB, free: 2.977 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000469/0.1452, allocations: 135.9 kB / 496 MB, free: 2.844 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.001233/0.1464, allocations: 1.09 MB / 497.1 MB, free: 1.727 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.1476, allocations: 440.2 kB / 497.5 MB, free: 1.297 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1476, allocations: 0 / 497.5 MB, free: 1.297 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008009/0.1484, allocations: 277.2 kB / 497.8 MB, free: 1.027 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.1489, allocations: 85.39 kB / 497.8 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005314/0.1543, allocations: 4.468 MB / 0.4905 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.1547, allocations: 0.8581 MB / 0.4914 GB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002328/0.155, allocations: 83.22 kB / 0.4915 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/0.1551, allocations: 107.4 kB / 0.4916 GB, free: 11.32 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1551, allocations: 4 kB / 0.4916 GB, free: 11.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2127/0.3679, allocations: 12.68 MB / 0.504 GB, free: 51.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.73, allocations: 9.297 kB / 0.504 GB, free: 51.2 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_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.csv","/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