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.0008329/0.0008329, allocations: 94.8 kB / 17.35 MB, free: 6.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.0009233/0.0009234, allocations: 171.1 kB / 18.25 MB, free: 5.508 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.227/1.227, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1723/0.1723, allocations: 44.25 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002544/0.0002545, allocations: 8 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08602/0.08629, allocations: 61.93 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001253/0.08758, allocations: 1.164 MB / 473.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.0892, allocations: 1.425 MB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.002e-05/0.08923, allocations: 0 / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.08937, allocations: 31.84 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.08951, allocations: 39.77 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.08986, allocations: 166.5 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.244e-05/0.08995, allocations: 59.66 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.322e-05/0.08999, allocations: 11.92 kB / 475.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.968e-05/0.09004, allocations: 15.94 kB / 475.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.695e-05/0.09009, allocations: 23.86 kB / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.09011, allocations: 4 kB / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004664/0.09058, allocations: 339.5 kB / 475.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.0906, allocations: 7.938 kB / 475.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.09065, allocations: 49.58 kB / 475.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.09101, allocations: 283.3 kB / 476 MB, free: 9.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.09102, allocations: 0 / 476 MB, free: 9.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.09103, allocations: 0 / 476 MB, free: 9.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.025e-06/0.09104, allocations: 0 / 476 MB, free: 9.629 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.0003933/0.09143, allocations: 403.3 kB / 476.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.09147, allocations: 8.031 kB / 476.4 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.295e-05/0.09151, allocations: 38.69 kB / 476.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.308e-05/0.09154, allocations: 8.844 kB / 476.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.941e-05/0.09163, allocations: 172.3 kB / 476.6 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.09165, allocations: 12.31 kB / 476.6 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.09167, allocations: 384 / 476.6 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.09179, allocations: 69.62 kB / 476.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.0918, allocations: 0 / 476.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.09181, allocations: 0 / 476.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.09182, allocations: 0 / 476.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.957e-05/0.09191, allocations: 63.89 kB / 476.7 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.09207, allocations: 201.5 kB / 476.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.288e-05/0.09215, allocations: 54.56 kB / 477 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.1e-05/0.09221, allocations: 40.84 kB / 477 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.383e-05/0.09226, allocations: 23.92 kB / 477 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.09228, allocations: 34.56 kB / 477.1 MB, free: 8.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.09229, allocations: 3.938 kB / 477.1 MB, free: 8.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.02128/0.1136, allocations: 1.685 MB / 478.8 MB, free: 6.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.1136, allocations: 55.34 kB / 478.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.198e-05/0.1137, allocations: 140.7 kB / 479 MB, free: 6.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.1138, allocations: 29.7 kB / 479 MB, free: 6.383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/0.1138, allocations: 84.14 kB / 479.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.608e-05/0.1138, allocations: 35.45 kB / 479.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.1139, allocations: 33.7 kB / 479.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.076e-05/0.114, allocations: 318.8 kB / 479.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007596/0.1148, allocations: 215.8 kB / 479.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008329/0.1156, allocations: 207.9 kB / 479.9 MB, free: 5.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.117, allocations: 398.1 kB / 480.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.117, allocations: 0 / 480.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001533/0.1186, allocations: 485.2 kB / 480.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1186, allocations: 4 kB / 480.7 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1186, allocations: 3.938 kB / 480.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1186, allocations: 8 kB / 480.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005967/0.1192, allocations: 71.89 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.1193, allocations: 4 kB / 480.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005004/0.1198, allocations: 43.91 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.1198, allocations: 15.97 kB / 480.9 MB, free: 4.469 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.0001079/0.1199, allocations: 126.3 kB / 481 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.12, allocations: 3.906 kB / 481 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/0.1215, allocations: 397.9 kB / 481.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.1215, allocations: 4 kB / 481.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1215, allocations: 4 kB / 481.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1215, allocations: 0 / 481.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003146/0.1247, allocations: 0.8322 MB / 482.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1247, allocations: 0 / 482.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005583/0.1253, allocations: 79.98 kB / 482.3 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.1253, allocations: 4 kB / 482.3 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.1253, allocations: 11.97 kB / 482.3 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.1253, allocations: 7.875 kB / 482.3 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1253, allocations: 4 kB / 482.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.1268, allocations: 453.9 kB / 482.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.438e-05/0.1269, allocations: 109 kB / 482.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.1269, allocations: 3.984 kB / 482.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005329/0.1274, allocations: 47.91 kB / 482.9 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.17e-05/0.1275, allocations: 11.92 kB / 482.9 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.1275, allocations: 15.97 kB / 483 MB, free: 2.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.142e-05/0.1275, allocations: 99.27 kB / 483.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1276, allocations: 0 / 483.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004907/0.1281, allocations: 164 kB / 483.2 MB, free: 1.996 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.002123/0.1302, allocations: 1.124 MB / 484.3 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.1316, allocations: 399.7 kB / 484.7 MB, free: 456 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1316, allocations: 0 / 484.7 MB, free: 456 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006611/0.1323, allocations: 164 kB / 484.9 MB, free: 292 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.1326, allocations: 16.66 kB / 484.9 MB, free: 280 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007264/0.1399, allocations: 2.891 MB / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.1401, allocations: 0.7004 MB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002213/0.1403, allocations: 48.72 kB / 488.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.1405, allocations: 51.34 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1405, allocations: 0 / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3472/0.4877, allocations: 9.645 MB / 498.2 MB, free: 2.969 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/0.488, allocations: 241.2 kB / 498.5 MB, free: 2.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/2.254, allocations: 1.969 kB / 498.5 MB, free: 2.703 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