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.001102/0.001102, allocations: 106.1 kB / 16.27 MB, free: 6.414 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.001075/0.001075, allocations: 191.7 kB / 17.2 MB, free: 5.949 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.138/1.138, allocations: 205.1 MB / 223.1 MB, free: 12.35 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.1659/0.1659, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001336/0.001336, allocations: 76.28 kB / 382.8 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06854/0.06989, allocations: 57.78 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001738/0.07165, allocations: 1.444 MB / 442.1 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.07281, allocations: 1.459 MB / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/0.07286, allocations: 4 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.07299, allocations: 31.72 kB / 443.6 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.07314, allocations: 43.7 kB / 443.6 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.07346, allocations: 223.1 kB / 443.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.413e-05/0.07354, allocations: 59.66 kB / 443.9 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.371e-05/0.07358, allocations: 7.984 kB / 443.9 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.445e-05/0.07361, allocations: 27.86 kB / 443.9 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.391e-05/0.07366, allocations: 27.86 kB / 443.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.07368, allocations: 0 / 443.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003606/0.07404, allocations: 335.5 kB / 444.3 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.847e-06/0.07406, allocations: 4 kB / 444.3 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.55e-05/0.07409, allocations: 35.8 kB / 444.3 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.07437, allocations: 279.4 kB / 444.6 MB, free: 2.828 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.07438, allocations: 0 / 444.6 MB, free: 2.828 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.07439, allocations: 0 / 444.6 MB, free: 2.828 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.0744, allocations: 0 / 444.6 MB, free: 2.828 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.0003273/0.07473, allocations: 415.1 kB / 445 MB, free: 2.375 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.691e-05/0.07476, allocations: 11.89 kB / 445 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.852e-05/0.07479, allocations: 38.75 kB / 445 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.038e-05/0.07481, allocations: 4.844 kB / 445 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.601e-05/0.07488, allocations: 176.2 kB / 445.2 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.322e-06/0.07489, allocations: 8.375 kB / 445.2 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.07491, allocations: 384 / 445.2 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.606e-05/0.075, allocations: 69.61 kB / 445.3 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.07502, allocations: 4 kB / 445.3 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.07503, allocations: 0 / 445.3 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-06/0.07503, allocations: 0 / 445.3 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.093e-05/0.0751, allocations: 59.95 kB / 445.4 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001067/0.07521, allocations: 185.5 kB / 445.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.621e-05/0.07527, allocations: 70.48 kB / 445.6 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.834e-05/0.07532, allocations: 36.84 kB / 445.6 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/0.07536, allocations: 23.92 kB / 445.7 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.01e-05/0.07538, allocations: 34.56 kB / 445.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 8.12e-07/0.07538, allocations: 0 / 445.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.01847/0.09385, allocations: 1.63 MB / 447.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.09389, allocations: 55.34 kB / 447.4 MB, free: 15.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.07e-05/0.09397, allocations: 137.6 kB / 447.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.094, allocations: 25.7 kB / 447.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.242e-05/0.09404, allocations: 92.05 kB / 447.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.085e-05/0.09409, allocations: 47.3 kB / 447.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.344e-05/0.09418, allocations: 45.69 kB / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 7.639e-05/0.09426, allocations: 322.8 kB / 448 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005854/0.09485, allocations: 207.8 kB / 448.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005676/0.09543, allocations: 207.5 kB / 448.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.09658, allocations: 380.7 kB / 448.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.09659, allocations: 0 / 448.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001259/0.09786, allocations: 458 kB / 449.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.09788, allocations: 6.5 kB / 449.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.09789, allocations: 0 / 449.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.697e-06/0.0979, allocations: 0 / 449.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/0.09839, allocations: 71.86 kB / 449.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.0984, allocations: 4 kB / 449.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/0.09879, allocations: 39.97 kB / 449.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.09882, allocations: 7.984 kB / 449.4 MB, free: 13.77 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 8.926e-05/0.09892, allocations: 121.7 kB / 449.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.09895, allocations: 7.906 kB / 449.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.1002, allocations: 370 kB / 449.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1002, allocations: 4 kB / 449.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1002, allocations: 0 / 449.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1003, allocations: 4 kB / 449.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/0.1028, allocations: 0.7777 MB / 450.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1028, allocations: 0 / 450.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004471/0.1032, allocations: 64.03 kB / 450.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1033, allocations: 4 kB / 450.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.1033, allocations: 11.98 kB / 450.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1033, allocations: 3.938 kB / 450.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1033, allocations: 3.938 kB / 450.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.1045, allocations: 417.9 kB / 451.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.966e-05/0.1046, allocations: 112.9 kB / 451.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.1046, allocations: 0 / 451.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000421/0.105, allocations: 47.89 kB / 451.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.105, allocations: 15.92 kB / 451.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.1051, allocations: 4 kB / 451.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.903e-05/0.1051, allocations: 99.27 kB / 451.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1051, allocations: 0 / 451.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004297/0.1056, allocations: 171.9 kB / 451.6 MB, free: 11.43 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.001803/0.1074, allocations: 1.097 MB / 452.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.1086, allocations: 379.7 kB / 453.1 MB, free: 9.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1086, allocations: 0 / 453.1 MB, free: 9.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00055/0.1091, allocations: 147.8 kB / 453.2 MB, free: 9.785 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.1094, allocations: 16.19 kB / 453.2 MB, free: 9.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006003/0.1154, allocations: 2.743 MB / 456 MB, free: 6.926 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.1156, allocations: 0.7002 MB / 456.7 MB, free: 6.199 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002029/0.1159, allocations: 40.86 kB / 456.7 MB, free: 6.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.116, allocations: 35.41 kB / 456.7 MB, free: 6.125 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.116, allocations: 4 kB / 456.7 MB, free: 6.121 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.341/1.457, allocations: 9.882 MB / 466.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.311/10.77, allocations: 11.89 kB / 466.6 MB, free: 12.22 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 & /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","/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