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.001299/0.001299, allocations: 104.7 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.001353/0.001353, 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.294/1.294, allocations: 222.9 MB / 242.2 MB, free: 15.18 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.1893/0.1893, allocations: 44.19 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 57.88 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1126, allocations: 60.83 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002395/0.115, allocations: 1.454 MB / 470.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.1168, allocations: 1.417 MB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.1168, allocations: 0 / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.117, allocations: 35.78 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.1172, allocations: 47.69 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.1176, allocations: 223.4 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.67e-05/0.1177, allocations: 55.73 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.636e-05/0.1178, allocations: 4 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.832e-05/0.1178, allocations: 31.91 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.882e-05/0.1179, allocations: 27.8 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.1179, allocations: 4 kB / 472.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004972/0.1184, allocations: 323.6 kB / 473 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.1184, allocations: 7.922 kB / 473 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.1185, allocations: 31.86 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.1189, allocations: 283.3 kB / 473.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1189, allocations: 0 / 473.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1189, allocations: 0 / 473.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1189, allocations: 0 / 473.3 MB, free: 10.34 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.0004795/0.1194, allocations: 415.2 kB / 473.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1194, allocations: 12.03 kB / 473.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.1195, allocations: 34.75 kB / 473.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.684e-05/0.1195, allocations: 8.844 kB / 473.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.1196, allocations: 176.3 kB / 473.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1197, allocations: 384 / 473.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.1197, allocations: 4.375 kB / 473.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.1198, allocations: 69.5 kB / 474 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1198, allocations: 7.891 kB / 474 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.1198, allocations: 4 kB / 474 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1198, allocations: 4 kB / 474 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.22e-05/0.1199, allocations: 51.97 kB / 474.1 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.1201, allocations: 181.6 kB / 474.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.244e-05/0.1202, allocations: 62.56 kB / 474.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.799e-05/0.1203, allocations: 40.84 kB / 474.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.777e-05/0.1203, allocations: 27.86 kB / 474.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.1203, allocations: 30.56 kB / 474.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.1203, allocations: 3.938 kB / 474.4 MB, free: 9.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.02119/0.1415, allocations: 1.623 MB / 476 MB, free: 7.402 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.1416, allocations: 51.41 kB / 476.1 MB, free: 7.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.1417, allocations: 136.7 kB / 476.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.1418, allocations: 29.7 kB / 476.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.1418, allocations: 92.12 kB / 476.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.1419, allocations: 35.41 kB / 476.4 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.142, allocations: 49.58 kB / 476.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1421, allocations: 318.8 kB / 476.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006429/0.1428, allocations: 207.8 kB / 476.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006415/0.1434, allocations: 199.9 kB / 477.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.1447, allocations: 380.6 kB / 477.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1448, allocations: 7.984 kB / 477.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001388/0.1462, allocations: 450.6 kB / 477.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1462, allocations: 4 kB / 477.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.1462, allocations: 0 / 477.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.1462, allocations: 4 kB / 477.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005458/0.1468, allocations: 67.92 kB / 478 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.1468, allocations: 0 / 478 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004441/0.1473, allocations: 43.91 kB / 478 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.1473, allocations: 7.984 kB / 478.1 MB, free: 5.305 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.0001145/0.1474, allocations: 121.9 kB / 478.2 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.1475, allocations: 7.906 kB / 478.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/0.1489, allocations: 362.1 kB / 478.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.1489, allocations: 4 kB / 478.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.1489, allocations: 0 / 478.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.149, allocations: 3.984 kB / 478.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002948/0.1519, allocations: 0.7778 MB / 479.3 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1519, allocations: 3.938 kB / 479.3 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000504/0.1524, allocations: 64.03 kB / 479.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.1524, allocations: 4 kB / 479.4 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.1525, allocations: 11.98 kB / 479.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.1525, allocations: 7.922 kB / 479.4 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1525, allocations: 0 / 479.4 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.1538, allocations: 425.7 kB / 479.8 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.154, allocations: 108.9 kB / 479.9 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.154, allocations: 7.984 kB / 479.9 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004642/0.1545, allocations: 43.91 kB / 480 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.1545, allocations: 7.984 kB / 480 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.1545, allocations: 8 kB / 480 MB, free: 3.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.777e-05/0.1546, allocations: 103.2 kB / 480.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1546, allocations: 0 / 480.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006073/0.1552, allocations: 167.9 kB / 480.3 MB, free: 2.969 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.002221/0.1575, allocations: 1.097 MB / 481.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.1588, allocations: 383.7 kB / 481.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1588, allocations: 0 / 481.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006229/0.1595, allocations: 152 kB / 481.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.1599, allocations: 19.98 kB / 481.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007136/0.167, allocations: 2.749 MB / 484.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.1673, allocations: 0.6924 MB / 485.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002349/0.1676, allocations: 36.75 kB / 485.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.1678, allocations: 39.41 kB / 485.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1678, allocations: 0 / 485.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02799/0.1958, allocations: 9.884 MB / 495.3 MB, free: 3.875 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.742/8.938, allocations: 20.56 kB / 495.3 MB, free: 3.863 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 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.mat","/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