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: 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_3.2.3_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_3.2.3_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.001723/0.001723, allocations: 109.2 kB / 17.03 MB, free: 5.707 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.002295/0.002295, allocations: 194.9 kB / 17.96 MB, free: 5.082 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.815/1.815, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2308/0.2308, allocations: 43.52 MB / 314.7 MB, free: 476 kB / 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.00163/0.001631, allocations: 75.47 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1606, allocations: 57.78 MB / 442 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002932/0.1636, allocations: 1.455 MB / 443.4 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.1654, allocations: 1.451 MB / 444.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.682e-05/0.1655, allocations: 0 / 444.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.1657, allocations: 35.72 kB / 444.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002563/0.1659, allocations: 51.69 kB / 445 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/0.1664, allocations: 219.2 kB / 445.2 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.1665, allocations: 59.7 kB / 445.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.828e-05/0.1666, allocations: 4 kB / 445.2 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.344e-05/0.1666, allocations: 27.86 kB / 445.3 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.005e-05/0.1667, allocations: 23.86 kB / 445.3 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.1667, allocations: 4 kB / 445.3 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004898/0.1672, allocations: 335.5 kB / 445.6 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.1672, allocations: 11.98 kB / 445.6 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.1673, allocations: 23.81 kB / 445.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003917/0.1677, allocations: 279.4 kB / 445.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1677, allocations: 0 / 445.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1677, allocations: 0 / 445.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.1677, allocations: 4 kB / 445.9 MB, free: 2.145 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.0005529/0.1683, allocations: 419.1 kB / 446.3 MB, free: 1.688 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.1683, allocations: 11.89 kB / 446.3 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.1684, allocations: 8.844 kB / 446.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.1685, allocations: 176.2 kB / 446.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1685, allocations: 384 / 446.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.1685, allocations: 4.375 kB / 446.5 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.1687, allocations: 73.78 kB / 446.6 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1687, allocations: 3.938 kB / 446.6 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.1687, allocations: 0 / 446.6 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1687, allocations: 8 kB / 446.6 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.905e-05/0.1688, allocations: 51.97 kB / 446.7 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.169, allocations: 185.6 kB / 446.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.235e-05/0.1691, allocations: 54.56 kB / 446.9 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.081e-05/0.1691, allocations: 44.83 kB / 446.9 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.625e-05/0.1692, allocations: 16 kB / 447 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.1692, allocations: 38.5 kB / 447 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.954e-06/0.1692, allocations: 0 / 447 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.01903/0.1883, allocations: 1.634 MB / 448.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.1884, allocations: 55.34 kB / 448.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.1886, allocations: 134 kB / 448.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.1886, allocations: 25.7 kB / 448.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/0.1887, allocations: 104 kB / 448.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.1889, allocations: 35.45 kB / 449 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.189, allocations: 41.69 kB / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1892, allocations: 318.8 kB / 449.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006003/0.1898, allocations: 203.9 kB / 449.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005989/0.1904, allocations: 214.6 kB / 449.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.1916, allocations: 384.7 kB / 450.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1916, allocations: 4 kB / 450.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001373/0.193, allocations: 454 kB / 450.6 MB, free: 13.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.1931, allocations: 12 kB / 450.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.1931, allocations: 3.984 kB / 450.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.36e-05/0.1931, allocations: 3.984 kB / 450.6 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005122/0.1937, allocations: 59.94 kB / 450.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.1937, allocations: 4 kB / 450.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/0.1941, allocations: 43.95 kB / 450.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.1941, allocations: 4 kB / 450.7 MB, free: 13.13 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 0.0001717/0.1943, allocations: 125.7 kB / 450.8 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.1943, allocations: 7.906 kB / 450.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.1957, allocations: 358.1 kB / 451.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.1958, allocations: 4 kB / 451.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.1958, allocations: 3.984 kB / 451.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1958, allocations: 0 / 451.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002716/0.1985, allocations: 0.7777 MB / 452 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1985, allocations: 0 / 452 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004318/0.199, allocations: 67.97 kB / 452 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.199, allocations: 4 kB / 452 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/0.199, allocations: 15.97 kB / 452 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.199, allocations: 0 / 452 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/0.199, allocations: 7.938 kB / 452 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.2003, allocations: 425.8 kB / 452.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.2005, allocations: 108.9 kB / 452.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.2005, allocations: 4 kB / 452.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.2009, allocations: 39.97 kB / 452.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.201, allocations: 11.92 kB / 452.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.201, allocations: 11.98 kB / 452.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.971e-05/0.2011, allocations: 99.27 kB / 452.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2011, allocations: 0 / 452.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006925/0.2018, allocations: 163.9 kB / 452.9 MB, free: 10.8 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.0006806/0.2025, allocations: 247 kB / 453.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.2038, allocations: 379.7 kB / 453.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/0.2038, allocations: 0 / 453.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005747/0.2044, allocations: 148 kB / 453.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005108/0.2049, allocations: 21.19 kB / 453.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.2075, allocations: 0.5143 MB / 454.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.2079, allocations: 0.6924 MB / 454.9 MB, free: 8.746 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001867/0.2081, allocations: 32.84 kB / 454.9 MB, free: 8.711 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.2083, allocations: 27.41 kB / 454.9 MB, free: 8.684 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2083, allocations: 3.938 kB / 454.9 MB, free: 8.68 MB / 334.1 MB Notification: Performance of Templates: time 0.01523/0.2235, allocations: 8.535 MB / 463.5 MB, free: 144 kB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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