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.001771/0.001771, allocations: 101.4 kB / 16.27 MB, free: 5.852 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.00203/0.00203, allocations: 186.1 kB / 17.19 MB, free: 5.508 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.378/1.378, 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.191/0.191, allocations: 43.53 MB / 313.9 MB, free: 0.5273 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.001421/0.001421, allocations: 72.28 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08175/0.08318, allocations: 57.79 MB / 440.6 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002185/0.0854, allocations: 1.448 MB / 442.1 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.08688, allocations: 1.447 MB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.09e-05/0.08694, allocations: 0 / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.08711, allocations: 39.7 kB / 443.6 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001872/0.08731, allocations: 47.7 kB / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003695/0.08769, allocations: 219.1 kB / 443.8 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.062e-05/0.08778, allocations: 63.66 kB / 443.9 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.08782, allocations: 4 kB / 443.9 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.871e-05/0.08786, allocations: 23.86 kB / 443.9 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.028e-05/0.08792, allocations: 23.86 kB / 443.9 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.08793, allocations: 7.984 kB / 443.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004235/0.08836, allocations: 335.6 kB / 444.3 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.08839, allocations: 8 kB / 444.3 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.08842, allocations: 27.8 kB / 444.3 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.08875, allocations: 279.4 kB / 444.6 MB, free: 2.855 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.08876, allocations: 0 / 444.6 MB, free: 2.855 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.08877, allocations: 0 / 444.6 MB, free: 2.855 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.08878, allocations: 0 / 444.6 MB, free: 2.855 MB / 318.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.0003876/0.08917, allocations: 415.1 kB / 445 MB, free: 2.402 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.08921, allocations: 19.89 kB / 445 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.548e-05/0.08924, allocations: 30.75 kB / 445 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.644e-05/0.08927, allocations: 12.78 kB / 445 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.403e-05/0.08935, allocations: 172.3 kB / 445.2 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.08937, allocations: 4.375 kB / 445.2 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.08939, allocations: 8.359 kB / 445.2 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.08951, allocations: 61.62 kB / 445.3 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.08953, allocations: 4 kB / 445.3 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.08954, allocations: 0 / 445.3 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.08955, allocations: 0 / 445.3 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.803e-05/0.08964, allocations: 63.94 kB / 445.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.08978, allocations: 189.5 kB / 445.5 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.033e-05/0.08986, allocations: 58.56 kB / 445.6 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.757e-05/0.08992, allocations: 40.84 kB / 445.6 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.11e-05/0.08997, allocations: 23.92 kB / 445.7 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.08999, allocations: 30.56 kB / 445.7 MB, free: 1.574 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.09, allocations: 0 / 445.7 MB, free: 1.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.02029/0.1103, allocations: 1.638 MB / 447.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.1104, allocations: 59.41 kB / 447.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.99e-05/0.1105, allocations: 133.6 kB / 447.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.1105, allocations: 37.64 kB / 447.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.684e-05/0.1105, allocations: 84.05 kB / 447.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/0.1106, allocations: 39.45 kB / 447.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.675e-05/0.1107, allocations: 45.69 kB / 447.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1108, allocations: 322.8 kB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006531/0.1115, allocations: 203.8 kB / 448.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006247/0.1121, allocations: 203.9 kB / 448.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.1134, allocations: 376.7 kB / 448.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1134, allocations: 0 / 448.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001377/0.1148, allocations: 461.9 kB / 449.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1148, allocations: 8 kB / 449.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1148, allocations: 0 / 449.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1149, allocations: 4 kB / 449.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00054/0.1154, allocations: 67.86 kB / 449.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.1154, allocations: 0 / 449.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004253/0.1158, allocations: 35.97 kB / 449.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.1159, allocations: 11.98 kB / 449.4 MB, free: 13.8 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: 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.0001129/0.116, allocations: 125.9 kB / 449.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.116, allocations: 7.906 kB / 449.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.1175, allocations: 370 kB / 449.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1175, allocations: 4 kB / 449.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1175, allocations: 0 / 449.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1175, allocations: 0 / 449.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002834/0.1203, allocations: 0.7816 MB / 450.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1203, allocations: 0 / 450.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005005/0.1209, allocations: 68.03 kB / 450.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1209, allocations: 0 / 450.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.1209, allocations: 7.984 kB / 450.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.1209, allocations: 11.86 kB / 450.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.1209, allocations: 4 kB / 450.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.1222, allocations: 426 kB / 451.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.381e-05/0.1223, allocations: 109 kB / 451.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.1224, allocations: 4 kB / 451.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004536/0.1228, allocations: 43.98 kB / 451.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.1229, allocations: 19.86 kB / 451.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.1229, allocations: 8 kB / 451.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.199e-05/0.123, allocations: 95.27 kB / 451.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.123, allocations: 0 / 451.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005599/0.1235, allocations: 171.9 kB / 451.6 MB, free: 11.45 MB / 334.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.002057/0.1256, allocations: 1.105 MB / 452.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.1269, allocations: 375.7 kB / 453.1 MB, free: 9.941 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1269, allocations: 0 / 453.1 MB, free: 9.941 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006038/0.1275, allocations: 148 kB / 453.2 MB, free: 9.797 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.1279, allocations: 13.2 kB / 453.2 MB, free: 9.785 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006655/0.1346, allocations: 2.735 MB / 456 MB, free: 6.949 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.1348, allocations: 0.7001 MB / 456.7 MB, free: 6.223 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000221/0.135, allocations: 48.86 kB / 456.7 MB, free: 6.176 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.1352, allocations: 39.41 kB / 456.7 MB, free: 6.137 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1352, allocations: 0 / 456.7 MB, free: 6.137 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02594/0.1611, allocations: 9.878 MB / 466.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.422/7.583, allocations: 11.95 kB / 466.6 MB, free: 12.25 MB / 350.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