Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.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.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",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.001224/0.001224, allocations: 105.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.001307/0.001306, allocations: 188.6 kB / 17.19 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.507/1.507, 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.2192/0.2192, 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.001458/0.001458, allocations: 72.31 kB / 382.9 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1044, allocations: 57.79 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.002801/0.1073, allocations: 2.184 MB / 442.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003445/0.1107, allocations: 3.311 MB / 446.1 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.1109, allocations: 0 / 446.1 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.1112, allocations: 95.47 kB / 446.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.1116, allocations: 143.2 kB / 446.4 MB, free: 1.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.113, allocations: 0.868 MB / 447.2 MB, free: 168 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005377/0.1136, allocations: 0.5709 MB / 447.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1137, allocations: 81.72 kB / 447.9 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.114, allocations: 230.6 kB / 448.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.1143, allocations: 282.4 kB / 448.4 MB, free: 15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.376e-05/0.1144, allocations: 20 kB / 448.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002726/0.1171, allocations: 1.949 MB / 450.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.1173, allocations: 147.2 kB / 450.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002799/0.1176, allocations: 277.9 kB / 450.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002275/0.1198, allocations: 1.671 MB / 452.4 MB, free: 10.94 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1199, allocations: 0 / 452.4 MB, free: 10.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.174e-06/0.1199, allocations: 0 / 452.4 MB, free: 10.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.1199, allocations: 7.938 kB / 452.4 MB, free: 10.93 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001731/0.1216, allocations: 1.026 MB / 453.5 MB, free: 9.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.1217, allocations: 8.031 kB / 453.5 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001563/0.1219, allocations: 144.1 kB / 453.6 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.122, allocations: 76 kB / 453.7 MB, free: 9.621 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.1225, allocations: 358.5 kB / 454 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.401e-05/0.1225, allocations: 53.94 kB / 454.1 MB, free: 9.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.1227, allocations: 79.98 kB / 454.2 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.1245, allocations: 1.225 MB / 455.4 MB, free: 7.871 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.1245, allocations: 0 / 455.4 MB, free: 7.871 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.813e-05/0.1246, allocations: 31.92 kB / 455.4 MB, free: 7.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/0.1247, allocations: 81.95 kB / 455.5 MB, free: 7.758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0025/0.1272, allocations: 1.722 MB / 457.2 MB, free: 6.035 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00412/0.1314, allocations: 2.947 MB / 460.2 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008391/0.1322, allocations: 430.3 kB / 460.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/0.1325, allocations: 145.3 kB / 460.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.289e-05/0.1325, allocations: 12.25 kB / 460.8 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.1326, allocations: 42.84 kB / 460.8 MB, free: 2.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 2.485e-06/0.1326, allocations: 0 / 460.8 MB, free: 2.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009286/0.1335, allocations: 486.3 kB / 461.3 MB, free: 1.828 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.1336, allocations: 59.39 kB / 461.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.1337, allocations: 202.4 kB / 461.5 MB, free: 1.551 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.1338, allocations: 29.7 kB / 461.6 MB, free: 1.516 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.134, allocations: 390.2 kB / 461.9 MB, free: 1.125 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.367e-05/0.1341, allocations: 122.3 kB / 462.1 MB, free: 1.004 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.1342, allocations: 118.1 kB / 462.2 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1344, allocations: 342.8 kB / 462.5 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.1346, allocations: 141 kB / 462.6 MB, free: 408 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004086/0.1351, allocations: 354.3 kB / 463 MB, free: 15.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007285/0.1358, allocations: 0.5249 MB / 463.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1358, allocations: 4 kB / 463.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008636/0.1367, allocations: 0.5436 MB / 464.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.1367, allocations: 8 kB / 464.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.1367, allocations: 8 kB / 464.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.1368, allocations: 11.98 kB / 464.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006983/0.1375, allocations: 204.4 kB / 464.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/0.139, allocations: 3.004 MB / 467.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.1393, allocations: 51.53 kB / 467.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-05/0.1394, allocations: 31.98 kB / 467.4 MB, free: 11.37 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (geometry[5],roughness,geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003562/0.1397, allocations: 285.5 kB / 467.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.1398, allocations: 23.72 kB / 467.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.141, allocations: 0.5461 MB / 468.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.141, allocations: 4 kB / 468.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.141, allocations: 0 / 468.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.141, allocations: 7.984 kB / 468.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.1427, allocations: 1.165 MB / 469.4 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.1427, allocations: 4 kB / 469.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005981/0.1433, allocations: 179.8 kB / 469.6 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.1433, allocations: 0 / 469.6 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.1433, allocations: 16 kB / 469.6 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.1447, allocations: 2.962 MB / 472.6 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.1447, allocations: 4.031 kB / 472.6 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006851/0.1454, allocations: 0.4902 MB / 473.1 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.585e-05/0.1455, allocations: 112.6 kB / 473.2 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.1455, allocations: 15.94 kB / 473.2 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.1457, allocations: 15.98 kB / 473.2 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.595e-05/0.1458, allocations: 39.89 kB / 473.2 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.1459, allocations: 23.98 kB / 473.3 MB, free: 5.215 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.252e-05/0.146, allocations: 127.2 kB / 473.4 MB, free: 5.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.146, allocations: 4 kB / 473.4 MB, free: 5.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000958/0.1469, allocations: 346.8 kB / 473.7 MB, free: 4.746 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001572/0.1485, allocations: 1.278 MB / 475 MB, free: 3.418 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.1496, allocations: 0.5308 MB / 475.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.1497, allocations: 1.438 kB / 475.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005785/0.1502, allocations: 268.1 kB / 475.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.1506, allocations: 31.11 kB / 475.8 MB, free: 2.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00464/0.1553, allocations: 3.957 MB / 479.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/0.1558, allocations: 0.9829 MB / 480.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005057/0.1563, allocations: 170.6 kB / 480.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.1565, allocations: 211.4 kB / 481.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1565, allocations: 3.938 kB / 481.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0328/0.1894, allocations: 12.38 MB / 493.5 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.61, allocations: 8.891 kB / 493.5 MB, free: 0.6016 MB / 366.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Channel/dp_internalFlowOverall_DPMFLOW/dp_internalFlowOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches