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.001815/0.001815, allocations: 104.8 kB / 15.98 MB, free: 6.758 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.001642/0.001642, allocations: 192 kB / 16.9 MB, free: 6.559 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.832/1.832, allocations: 205.1 MB / 222.8 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4089/0.4089, allocations: 43.5 MB / 313.6 MB, free: 8.457 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.001534/0.001534, allocations: 67.89 kB / 382.3 MB, free: 8.508 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1587, allocations: 57.79 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003526/0.1623, allocations: 1.513 MB / 441.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002435/0.1648, allocations: 1.453 MB / 443.1 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.27e-05/0.1648, allocations: 0 / 443.1 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.1651, allocations: 28.12 kB / 443.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.1654, allocations: 47.75 kB / 443.2 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004964/0.1659, allocations: 191.4 kB / 443.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.1661, allocations: 43.8 kB / 443.4 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7e-05/0.1661, allocations: 15.97 kB / 443.4 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.463e-05/0.1662, allocations: 27.81 kB / 443.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.621e-05/0.1663, allocations: 27.86 kB / 443.5 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.1663, allocations: 0 / 443.5 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006171/0.167, allocations: 335.6 kB / 443.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.368e-05/0.167, allocations: 11.92 kB / 443.8 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.181e-05/0.1671, allocations: 27.81 kB / 443.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000467/0.1675, allocations: 275.4 kB / 444.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.739e-06/0.1675, allocations: 0 / 444.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1676, allocations: 7.938 kB / 444.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.088e-06/0.1676, allocations: 0 / 444.1 MB, free: 10.61 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.0007729/0.1684, allocations: 415.2 kB / 444.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.048e-05/0.1684, allocations: 11.89 kB / 444.5 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.548e-05/0.1685, allocations: 42.73 kB / 444.6 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.1685, allocations: 4.844 kB / 444.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.1688, allocations: 180.2 kB / 444.7 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.1688, allocations: 4.375 kB / 444.7 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.1688, allocations: 8.375 kB / 444.7 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.169, allocations: 73.61 kB / 444.8 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.169, allocations: 0 / 444.8 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1691, allocations: 0 / 444.8 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.1691, allocations: 4 kB / 444.8 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.1692, allocations: 51.97 kB / 444.9 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002505/0.1694, allocations: 185.6 kB / 445.1 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.1696, allocations: 62.48 kB / 445.1 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.935e-05/0.1697, allocations: 44.84 kB / 445.2 MB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.492e-05/0.1697, allocations: 19.94 kB / 445.2 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.1698, allocations: 38.55 kB / 445.2 MB, free: 9.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.863e-06/0.1698, allocations: 0 / 445.2 MB, free: 9.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.01973/0.1895, allocations: 1.619 MB / 446.8 MB, free: 7.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.1896, allocations: 51.41 kB / 446.9 MB, free: 7.609 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.1898, allocations: 141.8 kB / 447 MB, free: 7.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.1898, allocations: 25.7 kB / 447 MB, free: 7.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.792e-05/0.1899, allocations: 96.03 kB / 447.1 MB, free: 7.336 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.512e-05/0.19, allocations: 35.45 kB / 447.2 MB, free: 7.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.1901, allocations: 49.69 kB / 447.2 MB, free: 7.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.1903, allocations: 318.8 kB / 447.5 MB, free: 6.926 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006195/0.1909, allocations: 203.8 kB / 447.7 MB, free: 6.727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006265/0.1915, allocations: 207.8 kB / 447.9 MB, free: 6.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.1928, allocations: 376.7 kB / 448.3 MB, free: 6.152 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1928, allocations: 0 / 448.3 MB, free: 6.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001341/0.1941, allocations: 453.5 kB / 448.7 MB, free: 5.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.1942, allocations: 7.984 kB / 448.8 MB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.1942, allocations: 0 / 448.8 MB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.1942, allocations: 4 kB / 448.8 MB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005277/0.1947, allocations: 67.88 kB / 448.8 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.1948, allocations: 0 / 448.8 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000403/0.1952, allocations: 43.95 kB / 448.9 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.1952, allocations: 4 kB / 448.9 MB, free: 5.578 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.0001208/0.1953, allocations: 121.8 kB / 449 MB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.1954, allocations: 11.89 kB / 449 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.1968, allocations: 369.9 kB / 449.4 MB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1968, allocations: 0 / 449.4 MB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.1968, allocations: 4 kB / 449.4 MB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1968, allocations: 0 / 449.4 MB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/0.1996, allocations: 0.7855 MB / 450.2 MB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1996, allocations: 0 / 450.2 MB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004732/0.2001, allocations: 63.94 kB / 450.2 MB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.2001, allocations: 12.08 kB / 450.2 MB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.2001, allocations: 4 kB / 450.2 MB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2001, allocations: 3.938 kB / 450.2 MB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2002, allocations: 0 / 450.2 MB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.2014, allocations: 421.7 kB / 450.6 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.029e-05/0.2015, allocations: 109 kB / 450.8 MB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.2015, allocations: 8 kB / 450.8 MB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004391/0.202, allocations: 39.91 kB / 450.8 MB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/0.202, allocations: 7.984 kB / 450.8 MB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.202, allocations: 19.98 kB / 450.8 MB, free: 3.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.189e-05/0.2021, allocations: 95.27 kB / 450.9 MB, free: 3.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2021, allocations: 0 / 450.9 MB, free: 3.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006165/0.2027, allocations: 167.9 kB / 451.1 MB, free: 3.238 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.002111/0.2048, allocations: 1.101 MB / 452.2 MB, free: 2.098 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001348/0.2062, allocations: 388.2 kB / 452.6 MB, free: 1.719 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2062, allocations: 3.938 kB / 452.6 MB, free: 1.715 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005822/0.2068, allocations: 144 kB / 452.7 MB, free: 1.574 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.2073, allocations: 15.98 kB / 452.7 MB, free: 1.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2392/0.4464, allocations: 2.765 MB / 455.5 MB, free: 47.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.4467, allocations: 0.6974 MB / 456.2 MB, free: 47.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002741/0.447, allocations: 38.55 kB / 456.2 MB, free: 47.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.4472, allocations: 36.94 kB / 456.3 MB, free: 47.27 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4472, allocations: 0 / 456.3 MB, free: 47.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.5/1.947, allocations: 9.805 MB / 466.1 MB, free: 46.68 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002615/1.947, allocations: 233.6 kB / 466.3 MB, free: 46.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.484/4.431, allocations: 0 / 466.3 MB, free: 46.42 MB / 382.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches