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: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001578, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.001815/0.001815, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.513/1.513, allocations: 222.9 MB / 243 MB, free: 15.15 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.2045/0.2045, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.91 kB / 409.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1137, allocations: 60.82 MB / 470.7 MB, free: 1.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002384/0.1162, allocations: 1.449 MB / 472.1 MB, free: 368 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.1179, allocations: 1.413 MB / 473.6 MB, free: 14.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.432e-05/0.1179, allocations: 0 / 473.6 MB, free: 14.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.1181, allocations: 39.77 kB / 473.6 MB, free: 14.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.1183, allocations: 51.69 kB / 473.6 MB, free: 14.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.1188, allocations: 223 kB / 473.9 MB, free: 14.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.1189, allocations: 59.72 kB / 473.9 MB, free: 14.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.1189, allocations: 11.92 kB / 473.9 MB, free: 14.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.197e-05/0.119, allocations: 23.92 kB / 474 MB, free: 14.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.968e-05/0.1191, allocations: 31.86 kB / 474 MB, free: 14.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.1191, allocations: 0 / 474 MB, free: 14.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004797/0.1196, allocations: 327.6 kB / 474.3 MB, free: 14.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.1196, allocations: 7.938 kB / 474.3 MB, free: 14.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.616e-05/0.1196, allocations: 23.86 kB / 474.3 MB, free: 14.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000388/0.12, allocations: 291.3 kB / 474.6 MB, free: 13.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1201, allocations: 0 / 474.6 MB, free: 13.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1201, allocations: 0 / 474.6 MB, free: 13.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.1201, allocations: 0 / 474.6 MB, free: 13.87 MB / 398.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.0004835/0.1206, allocations: 421.7 kB / 475 MB, free: 13.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.1206, allocations: 8.031 kB / 475 MB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.1206, allocations: 8.844 kB / 475.1 MB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.1208, allocations: 171.9 kB / 475.2 MB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1208, allocations: 8.312 kB / 475.2 MB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.1208, allocations: 8.375 kB / 475.2 MB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.1209, allocations: 69.8 kB / 475.3 MB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.121, allocations: 0 / 475.3 MB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.121, allocations: 0 / 475.3 MB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.121, allocations: 0 / 475.3 MB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.294e-05/0.1211, allocations: 59.97 kB / 475.4 MB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.1212, allocations: 193.5 kB / 475.6 MB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.956e-05/0.1213, allocations: 58.48 kB / 475.6 MB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.1214, allocations: 44.84 kB / 475.7 MB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.405e-05/0.1215, allocations: 23.98 kB / 475.7 MB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.1215, allocations: 34.5 kB / 475.7 MB, free: 12.63 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.1215, allocations: 4 kB / 475.7 MB, free: 12.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.019/0.1405, allocations: 1.619 MB / 477.3 MB, free: 10.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.1406, allocations: 59.41 kB / 477.4 MB, free: 10.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.1408, allocations: 134.1 kB / 477.5 MB, free: 10.76 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.1408, allocations: 25.7 kB / 477.5 MB, free: 10.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.081e-05/0.1409, allocations: 88.05 kB / 477.6 MB, free: 10.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/0.1409, allocations: 39.39 kB / 477.7 MB, free: 10.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.1411, allocations: 49.69 kB / 477.7 MB, free: 10.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1412, allocations: 318.8 kB / 478 MB, free: 10.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005965/0.1418, allocations: 199.9 kB / 478.2 MB, free: 10.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005777/0.1424, allocations: 209.1 kB / 478.4 MB, free: 9.828 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.1435, allocations: 382.9 kB / 478.8 MB, free: 9.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1435, allocations: 3.938 kB / 478.8 MB, free: 9.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001247/0.1448, allocations: 449.3 kB / 479.2 MB, free: 9.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1448, allocations: 8 kB / 479.3 MB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1448, allocations: 4 kB / 479.3 MB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1449, allocations: 0 / 479.3 MB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/0.1454, allocations: 63.94 kB / 479.3 MB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.1454, allocations: 3.938 kB / 479.3 MB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/0.1458, allocations: 43.95 kB / 479.4 MB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.1458, allocations: 7.984 kB / 479.4 MB, free: 8.875 MB / 398.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.0001149/0.1459, allocations: 125.7 kB / 479.5 MB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.146, allocations: 11.91 kB / 479.5 MB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.1473, allocations: 362.2 kB / 479.9 MB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1473, allocations: 0 / 479.9 MB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.1473, allocations: 4 kB / 479.9 MB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1473, allocations: 0 / 479.9 MB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.1499, allocations: 0.7855 MB / 480.7 MB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.1499, allocations: 4 kB / 480.7 MB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004504/0.1504, allocations: 64.03 kB / 480.7 MB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1504, allocations: 0 / 480.7 MB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.1504, allocations: 7.984 kB / 480.7 MB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.1504, allocations: 4 kB / 480.7 MB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1504, allocations: 3.938 kB / 480.7 MB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.1516, allocations: 425.7 kB / 481.1 MB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.1517, allocations: 105 kB / 481.3 MB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/0.1518, allocations: 4.094 kB / 481.3 MB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003939/0.1522, allocations: 43.89 kB / 481.3 MB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.1522, allocations: 11.94 kB / 481.3 MB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.1523, allocations: 11.98 kB / 481.3 MB, free: 6.801 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.014e-05/0.1523, allocations: 95.27 kB / 481.4 MB, free: 6.707 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1523, allocations: 0 / 481.4 MB, free: 6.707 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005634/0.1529, allocations: 171.9 kB / 481.6 MB, free: 6.539 MB / 398.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.0006069/0.1535, allocations: 255 kB / 481.8 MB, free: 6.281 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.1548, allocations: 379.7 kB / 482.2 MB, free: 5.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1548, allocations: 0 / 482.2 MB, free: 5.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005303/0.1553, allocations: 148 kB / 482.3 MB, free: 5.766 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.1557, allocations: 15.98 kB / 482.4 MB, free: 5.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.1581, allocations: 0.5022 MB / 482.9 MB, free: 5.211 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.1584, allocations: 0.6924 MB / 483.6 MB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001982/0.1587, allocations: 44.62 kB / 483.6 MB, free: 4.441 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.1588, allocations: 27.41 kB / 483.6 MB, free: 4.418 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1588, allocations: 192 / 483.6 MB, free: 4.418 MB / 398.1 MB Notification: Performance of Templates: time 0.01287/0.1717, allocations: 8.537 MB / 492.2 MB, free: 11.88 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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