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.001177/0.001177, allocations: 101.2 kB / 16.94 MB, free: 6.184 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.001112/0.001112, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.409/1.409, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.2009/0.2009, allocations: 43.52 MB / 314.6 MB, free: 0.5312 MB / 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.0015/0.0015, allocations: 75.95 kB / 383.4 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1229, allocations: 57.79 MB / 441.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.00239/0.1254, allocations: 1.454 MB / 442.6 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.1269, allocations: 1.453 MB / 444.1 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.756e-05/0.127, allocations: 0 / 444.1 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.1272, allocations: 40.05 kB / 444.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.1274, allocations: 47.7 kB / 444.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.1279, allocations: 219.1 kB / 444.4 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.128, allocations: 55.66 kB / 444.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.021e-05/0.1281, allocations: 4 kB / 444.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.48e-05/0.1281, allocations: 23.92 kB / 444.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.839e-05/0.1282, allocations: 27.84 kB / 444.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.1282, allocations: 11.94 kB / 444.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005981/0.1288, allocations: 331.6 kB / 444.8 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.1289, allocations: 8 kB / 444.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.882e-05/0.1289, allocations: 31.78 kB / 444.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000466/0.1294, allocations: 267.4 kB / 445.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1294, allocations: 0 / 445.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1294, allocations: 0 / 445.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1295, allocations: 0 / 445.1 MB, free: 2.926 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.000542/0.13, allocations: 427.2 kB / 445.6 MB, free: 2.461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1301, allocations: 15.83 kB / 445.6 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.1301, allocations: 12.78 kB / 445.6 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.1302, allocations: 176.2 kB / 445.8 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1302, allocations: 384 / 445.8 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.1303, allocations: 4.375 kB / 445.8 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.1304, allocations: 65.8 kB / 445.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.1305, allocations: 0 / 445.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1305, allocations: 4 kB / 445.8 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1305, allocations: 4 kB / 445.8 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.1306, allocations: 51.97 kB / 445.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.1308, allocations: 193.5 kB / 446.1 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.671e-05/0.1309, allocations: 58.56 kB / 446.1 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.444e-05/0.131, allocations: 40.84 kB / 446.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.491e-05/0.131, allocations: 24.2 kB / 446.2 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.1311, allocations: 34.5 kB / 446.2 MB, free: 1.676 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.1311, allocations: 0 / 446.2 MB, free: 1.676 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.02061/0.1517, allocations: 1.626 MB / 447.9 MB, free: 20 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.1518, allocations: 63.39 kB / 447.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.1519, allocations: 134 kB / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.1519, allocations: 33.64 kB / 448.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.152, allocations: 88.05 kB / 448.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.416e-05/0.1521, allocations: 39.45 kB / 448.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.972e-05/0.1522, allocations: 41.69 kB / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1523, allocations: 326.8 kB / 448.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006468/0.1529, allocations: 199.9 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006361/0.1536, allocations: 207.8 kB / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.1549, allocations: 376.7 kB / 449.3 MB, free: 14.49 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1549, allocations: 4 kB / 449.3 MB, free: 14.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001424/0.1563, allocations: 454 kB / 449.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1563, allocations: 9.188 kB / 449.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.1563, allocations: 0 / 449.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.1564, allocations: 11.98 kB / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/0.1569, allocations: 63.88 kB / 449.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1569, allocations: 0 / 449.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004348/0.1574, allocations: 39.95 kB / 449.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.1574, allocations: 11.98 kB / 449.9 MB, free: 13.91 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.0001163/0.1575, allocations: 117.8 kB / 450 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.1576, allocations: 11.91 kB / 450 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.1591, allocations: 362 kB / 450.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1591, allocations: 4 kB / 450.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1591, allocations: 0 / 450.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1591, allocations: 0 / 450.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/0.162, allocations: 0.7777 MB / 451.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.1621, allocations: 3.984 kB / 451.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005009/0.1626, allocations: 64.03 kB / 451.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.1626, allocations: 4 kB / 451.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.1626, allocations: 8 kB / 451.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.1626, allocations: 7.922 kB / 451.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1626, allocations: 3.938 kB / 451.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.164, allocations: 417.8 kB / 451.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.1641, allocations: 109 kB / 451.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.1642, allocations: 7.938 kB / 451.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/0.1646, allocations: 43.95 kB / 451.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.1647, allocations: 15.97 kB / 451.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.1647, allocations: 15.92 kB / 451.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.542e-05/0.1648, allocations: 102.6 kB / 452 MB, free: 11.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1648, allocations: 0 / 452 MB, free: 11.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006129/0.1654, allocations: 171.9 kB / 452.1 MB, free: 11.56 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.0006392/0.166, allocations: 243 kB / 452.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.1674, allocations: 387.7 kB / 452.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.1674, allocations: 0 / 452.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006183/0.168, allocations: 148 kB / 452.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.1685, allocations: 17.19 kB / 452.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.1711, allocations: 0.5282 MB / 453.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.1714, allocations: 0.6924 MB / 454.1 MB, free: 9.488 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.1716, allocations: 27.41 kB / 454.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1716, allocations: 0 / 454.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of Templates: time 0.008023/0.1796, allocations: 4.612 MB / 458.8 MB, free: 4.848 MB / 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 -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