Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",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.00148/0.001481, allocations: 114.6 kB / 16.41 MB, free: 6.492 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.001504/0.001504, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.354/1.354, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2079/0.2079, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 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.00192/0.00192, allocations: 67.89 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09581/0.09774, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002531/0.1003, allocations: 1.457 MB / 0.4888 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.1023, allocations: 1.461 MB / 0.4902 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.716e-05/0.1024, allocations: 0 / 0.4902 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.1025, allocations: 31.78 kB / 0.4903 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.1027, allocations: 43.69 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.1032, allocations: 235.1 kB / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.1033, allocations: 47.78 kB / 0.4906 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.093e-05/0.1034, allocations: 11.98 kB / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.237e-05/0.1034, allocations: 31.8 kB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.209e-05/0.1035, allocations: 27.86 kB / 0.4907 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.247e-06/0.1035, allocations: 0 / 0.4907 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005654/0.1041, allocations: 335.6 kB / 0.491 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.1041, allocations: 11.92 kB / 0.491 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.79e-05/0.1041, allocations: 23.88 kB / 0.491 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004241/0.1046, allocations: 279.2 kB / 0.4913 GB, free: 8.312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1046, allocations: 0 / 0.4913 GB, free: 8.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1046, allocations: 0 / 0.4913 GB, free: 8.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1046, allocations: 3.938 kB / 0.4913 GB, free: 8.309 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005279/0.1051, allocations: 430 kB / 0.4917 GB, free: 7.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1052, allocations: 15.89 kB / 0.4917 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.237e-05/0.1052, allocations: 34.73 kB / 0.4917 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.639e-05/0.1053, allocations: 8.891 kB / 0.4917 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.1054, allocations: 176 kB / 0.4919 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.1054, allocations: 4.375 kB / 0.4919 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.1055, allocations: 8.375 kB / 0.4919 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.1056, allocations: 69.59 kB / 0.492 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1056, allocations: 3.953 kB / 0.492 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.1056, allocations: 0 / 0.492 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1056, allocations: 4 kB / 0.492 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.849e-05/0.1057, allocations: 55.97 kB / 0.4921 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002101/0.1059, allocations: 181.6 kB / 0.4922 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.628e-05/0.1061, allocations: 66.48 kB / 0.4923 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.363e-05/0.1061, allocations: 44.84 kB / 0.4923 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.197e-05/0.1062, allocations: 19.94 kB / 0.4924 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.1062, allocations: 38.55 kB / 0.4924 GB, free: 7.008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.1062, allocations: 0 / 0.4924 GB, free: 7.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.02035/0.1266, allocations: 1.626 MB / 0.494 GB, free: 5.352 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.1267, allocations: 51.41 kB / 0.494 GB, free: 5.289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.1268, allocations: 138 kB / 0.4942 GB, free: 5.145 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.1268, allocations: 25.7 kB / 0.4942 GB, free: 5.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.1269, allocations: 96.12 kB / 0.4943 GB, free: 5.016 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.191e-05/0.1269, allocations: 39.64 kB / 0.4943 GB, free: 4.977 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.1271, allocations: 45.69 kB / 0.4944 GB, free: 4.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1272, allocations: 322.8 kB / 0.4947 GB, free: 4.602 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006899/0.1279, allocations: 199.8 kB / 0.4949 GB, free: 4.406 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000666/0.1286, allocations: 207.8 kB / 0.4951 GB, free: 4.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.1299, allocations: 380.7 kB / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1299, allocations: 0 / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001466/0.1314, allocations: 453.5 kB / 0.4958 GB, free: 3.379 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1314, allocations: 8 kB / 0.4959 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1314, allocations: 0 / 0.4959 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1315, allocations: 0 / 0.4959 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005537/0.132, allocations: 71.88 kB / 0.4959 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.132, allocations: 0 / 0.4959 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004252/0.1325, allocations: 39.95 kB / 0.496 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.1325, allocations: 4 kB / 0.496 GB, free: 3.258 MB / 382.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: 3 (data.zetaLaminarKnown,data.zeta2_at_a,data.zeta1_at_a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.1326, allocations: 125.7 kB / 0.4961 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.1327, allocations: 11.94 kB / 0.4961 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.1341, allocations: 370 kB / 0.4965 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.1341, allocations: 11.88 kB / 0.4965 GB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1341, allocations: 4 kB / 0.4965 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1341, allocations: 0 / 0.4965 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002905/0.1371, allocations: 0.77 MB / 0.4972 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1371, allocations: 0 / 0.4972 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004889/0.1376, allocations: 68.03 kB / 0.4973 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-06/0.1376, allocations: 7.984 kB / 0.4973 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.1376, allocations: 8 kB / 0.4973 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.1376, allocations: 3.938 kB / 0.4973 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1376, allocations: 4 kB / 0.4973 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.139, allocations: 421.8 kB / 0.4977 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.1391, allocations: 109 kB / 0.4978 GB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.1392, allocations: 12 kB / 0.4978 GB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004501/0.1396, allocations: 35.91 kB / 0.4979 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.364e-05/0.1396, allocations: 11.98 kB / 0.4979 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.1397, allocations: 15.98 kB / 0.4979 GB, free: 1.164 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.1398, allocations: 95.27 kB / 0.498 GB, free: 1.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1398, allocations: 0 / 0.498 GB, free: 1.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005506/0.1404, allocations: 167.6 kB / 0.4981 GB, free: 0.9062 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002182/0.1426, allocations: 1.097 MB / 0.4992 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.1439, allocations: 387.7 kB / 0.4996 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1439, allocations: 0 / 0.4996 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006249/0.1446, allocations: 144.1 kB / 0.4997 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.1449, allocations: 20.11 kB / 0.4997 GB, free: 15.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007025/0.152, allocations: 2.752 MB / 0.5024 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.1523, allocations: 0.6963 MB / 0.5031 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001903/0.1525, allocations: 36.73 kB / 0.5031 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.1527, allocations: 39.34 kB / 0.5032 GB, free: 11.58 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1527, allocations: 0 / 0.5032 GB, free: 11.58 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03367/0.1864, allocations: 9.943 MB / 0.5129 GB, free: 1.617 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.298/8.485, allocations: 19.42 kB / 0.5129 GB, free: 1.602 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches