Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_0_0_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.001309/0.001309, allocations: 104.5 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.001312/0.001312, 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.292/1.292, allocations: 222.9 MB / 242.3 MB, free: 15.17 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.1941/0.1941, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 59.28 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09912/0.1011, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.00233/0.1034, allocations: 1.454 MB / 470.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.1052, allocations: 1.417 MB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.356e-05/0.1052, allocations: 0 / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.1054, allocations: 35.83 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.1055, allocations: 47.69 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004244/0.106, allocations: 227.3 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.425e-05/0.1061, allocations: 55.73 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.1061, allocations: 4 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.259e-05/0.1062, allocations: 23.92 kB / 472.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.786e-05/0.1062, allocations: 23.86 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.1062, allocations: 4 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000506/0.1068, allocations: 331.5 kB / 473 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.1068, allocations: 15.92 kB / 473 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.1068, allocations: 19.88 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004289/0.1073, allocations: 287.3 kB / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1073, allocations: 0 / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1073, allocations: 0 / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.1073, allocations: 3.938 kB / 473.3 MB, free: 10.32 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004736/0.1078, allocations: 415.2 kB / 473.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.1078, allocations: 8.031 kB / 473.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.148e-05/0.1078, allocations: 34.75 kB / 473.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.1079, allocations: 12.84 kB / 473.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.108, allocations: 176.3 kB / 473.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.108, allocations: 384 / 473.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.108, allocations: 4.375 kB / 473.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.1082, allocations: 73.61 kB / 474 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1082, allocations: 7.844 kB / 474 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.1082, allocations: 0 / 474 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1082, allocations: 0 / 474 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.1083, allocations: 51.97 kB / 474.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.1085, allocations: 185.7 kB / 474.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.011e-05/0.1086, allocations: 54.56 kB / 474.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.392e-05/0.1087, allocations: 44.83 kB / 474.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.896e-05/0.1087, allocations: 19.94 kB / 474.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.1087, allocations: 30.56 kB / 474.4 MB, free: 9.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 2.324e-06/0.1088, allocations: 3.938 kB / 474.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.02101/0.1298, allocations: 1.634 MB / 476 MB, free: 7.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.1298, allocations: 55.41 kB / 476.1 MB, free: 7.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.1299, allocations: 134.9 kB / 476.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.13, allocations: 29.7 kB / 476.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.13, allocations: 88.12 kB / 476.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.997e-05/0.1301, allocations: 39.39 kB / 476.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.846e-05/0.1302, allocations: 49.59 kB / 476.4 MB, free: 6.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1303, allocations: 314.8 kB / 476.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006483/0.131, allocations: 211.8 kB / 476.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006208/0.1316, allocations: 195.9 kB / 477.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.1329, allocations: 388.7 kB / 477.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1329, allocations: 0 / 477.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001383/0.1343, allocations: 450.8 kB / 477.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1344, allocations: 8 kB / 477.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1344, allocations: 0 / 477.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1344, allocations: 3.984 kB / 477.9 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005516/0.1349, allocations: 63.94 kB / 478 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.135, allocations: 0 / 478 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/0.1354, allocations: 43.91 kB / 478 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.1354, allocations: 11.98 kB / 478.1 MB, free: 5.281 MB / 350.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.0001099/0.1355, allocations: 121.7 kB / 478.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.1356, allocations: 3.906 kB / 478.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.1371, allocations: 370.1 kB / 478.5 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1371, allocations: 0 / 478.5 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1371, allocations: 0 / 478.5 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.1371, allocations: 3.984 kB / 478.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002931/0.1401, allocations: 0.7739 MB / 479.3 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.1401, allocations: 4 kB / 479.3 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005212/0.1406, allocations: 67.97 kB / 479.4 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1406, allocations: 0 / 479.4 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.1407, allocations: 11.98 kB / 479.4 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.1407, allocations: 7.938 kB / 479.4 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1407, allocations: 0 / 479.4 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.142, allocations: 425.7 kB / 479.8 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.832e-05/0.1422, allocations: 108.9 kB / 479.9 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.1422, allocations: 3.984 kB / 479.9 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004835/0.1427, allocations: 43.91 kB / 480 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.115e-05/0.1427, allocations: 11.98 kB / 480 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.1427, allocations: 7.984 kB / 480 MB, free: 3.215 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.284e-05/0.1428, allocations: 103.9 kB / 480.1 MB, free: 3.117 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1428, allocations: 0 / 480.1 MB, free: 3.117 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005856/0.1434, allocations: 167.9 kB / 480.3 MB, free: 2.953 MB / 350.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.002205/0.1456, allocations: 1.097 MB / 481.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.147, allocations: 375.7 kB / 481.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1471, allocations: 0 / 481.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006205/0.1477, allocations: 160 kB / 481.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.1481, allocations: 23.27 kB / 481.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006902/0.155, allocations: 2.745 MB / 484.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.1552, allocations: 0.6963 MB / 485.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002288/0.1555, allocations: 36.73 kB / 485.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.1556, allocations: 43.39 kB / 485.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1556, allocations: 0 / 485.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/0.1828, allocations: 9.878 MB / 495.3 MB, free: 3.855 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.409/7.592, allocations: 14.25 kB / 495.3 MB, free: 3.844 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches