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.001198/0.001198, allocations: 110.9 kB / 17.33 MB, free: 6.012 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.001175/0.001175, allocations: 193.3 kB / 18.25 MB, free: 5.102 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.316/1.316, allocations: 222.9 MB / 241.9 MB, free: 13.73 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.1934/0.1934, allocations: 44.17 MB / 336.2 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 61.19 kB / 408 MB, free: 27.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09305/0.09428, allocations: 60.83 MB / 468.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002549/0.09687, allocations: 1.499 MB / 470.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.09863, allocations: 1.413 MB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.09868, allocations: 0 / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.09888, allocations: 31.81 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.09909, allocations: 35.84 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005134/0.09961, allocations: 203.6 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.304e-05/0.09971, allocations: 51.67 kB / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.09976, allocations: 4 kB / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.76e-05/0.09982, allocations: 23.92 kB / 472.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.09989, allocations: 35.84 kB / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.0999, allocations: 0 / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005046/0.1004, allocations: 327.6 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.1004, allocations: 15.88 kB / 472.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.1005, allocations: 31.8 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003986/0.1009, allocations: 271.4 kB / 472.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1009, allocations: 0 / 472.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1009, allocations: 0 / 472.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1009, allocations: 0 / 472.8 MB, free: 10.65 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.0004767/0.1014, allocations: 419.2 kB / 473.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.1014, allocations: 8.031 kB / 473.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.669e-05/0.1015, allocations: 38.75 kB / 473.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.1015, allocations: 8.828 kB / 473.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.1016, allocations: 180.2 kB / 473.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1017, allocations: 4.375 kB / 473.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1017, allocations: 4.375 kB / 473.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.1018, allocations: 65.62 kB / 473.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1018, allocations: 7.891 kB / 473.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.1018, allocations: 0 / 473.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1019, allocations: 4 kB / 473.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.345e-05/0.1019, allocations: 55.97 kB / 473.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.1021, allocations: 181.7 kB / 473.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.568e-05/0.1022, allocations: 58.5 kB / 473.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.1023, allocations: 40.84 kB / 473.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.423e-05/0.1024, allocations: 19.92 kB / 473.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.1024, allocations: 42.5 kB / 473.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.1024, allocations: 4 kB / 473.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.02149/0.1239, allocations: 1.623 MB / 475.5 MB, free: 7.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.1239, allocations: 51.41 kB / 475.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.1241, allocations: 137 kB / 475.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.1241, allocations: 25.7 kB / 475.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.1241, allocations: 92.12 kB / 475.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.956e-05/0.1242, allocations: 35.41 kB / 475.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.1243, allocations: 53.58 kB / 475.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.1244, allocations: 318.8 kB / 476.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006419/0.1251, allocations: 207.8 kB / 476.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006238/0.1257, allocations: 203.9 kB / 476.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.127, allocations: 383.5 kB / 477 MB, free: 6.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.127, allocations: 3.938 kB / 477 MB, free: 6.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001395/0.1284, allocations: 449.3 kB / 477.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1284, allocations: 4 kB / 477.4 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1284, allocations: 4.156 kB / 477.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1285, allocations: 0 / 477.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005585/0.129, allocations: 71.86 kB / 477.5 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.129, allocations: 15.92 kB / 477.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004407/0.1295, allocations: 35.97 kB / 477.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.1295, allocations: 7.984 kB / 477.5 MB, free: 5.598 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.0001169/0.1297, allocations: 122.3 kB / 477.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.1297, allocations: 7.906 kB / 477.7 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.1312, allocations: 362.1 kB / 478 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1312, allocations: 0 / 478 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1312, allocations: 0 / 478 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.1312, allocations: 7.984 kB / 478 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002917/0.1341, allocations: 0.7739 MB / 478.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1341, allocations: 0 / 478.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005104/0.1347, allocations: 68.03 kB / 478.9 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/0.1347, allocations: 4 kB / 478.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.1347, allocations: 7.984 kB / 478.9 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1347, allocations: 3.938 kB / 478.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.1347, allocations: 7.938 kB / 478.9 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.136, allocations: 413.8 kB / 479.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.491e-05/0.1361, allocations: 112.9 kB / 479.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.1362, allocations: 8.078 kB / 479.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004687/0.1367, allocations: 47.84 kB / 479.5 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.1367, allocations: 7.984 kB / 479.5 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.1367, allocations: 11.94 kB / 479.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.655e-05/0.1368, allocations: 99.25 kB / 479.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1368, allocations: 0 / 479.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005922/0.1374, allocations: 171.9 kB / 479.7 MB, free: 3.266 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.002148/0.1396, allocations: 1.097 MB / 480.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.1409, allocations: 383.7 kB / 481.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1409, allocations: 0 / 481.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005916/0.1415, allocations: 144 kB / 481.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.1418, allocations: 13.88 kB / 481.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006803/0.1487, allocations: 2.771 MB / 484.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.1489, allocations: 0.7002 MB / 484.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002502/0.1492, allocations: 44.86 kB / 484.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.1493, allocations: 39.5 kB / 484.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1493, allocations: 3.938 kB / 484.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/0.1695, allocations: 9.802 MB / 494.7 MB, free: 4.273 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/0.1697, allocations: 233.8 kB / 495 MB, free: 4.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/2.124, allocations: 4.062 kB / 495 MB, free: 4.016 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