Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001565/0.001565, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001855/0.001855, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2225/0.2225, allocations: 46.11 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 75.88 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1245, allocations: 62.44 MB / 481.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002515/0.1271, allocations: 1.473 MB / 482.9 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.1289, allocations: 1.444 MB / 484.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.1289, allocations: 0 / 484.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.1291, allocations: 27.83 kB / 484.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.1293, allocations: 51.69 kB / 484.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.1298, allocations: 227.1 kB / 484.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.1299, allocations: 55.66 kB / 484.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.966e-05/0.1299, allocations: 4 kB / 484.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.575e-05/0.13, allocations: 27.86 kB / 484.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.301e-05/0.1301, allocations: 31.84 kB / 484.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.1301, allocations: 4 kB / 484.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005476/0.1306, allocations: 335.6 kB / 485.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.1307, allocations: 7.938 kB / 485.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.1307, allocations: 35.78 kB / 485.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.1311, allocations: 267.4 kB / 485.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1311, allocations: 0 / 485.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1311, allocations: 3.938 kB / 485.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1311, allocations: 0 / 485.4 MB, free: 0.5625 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.0004749/0.1316, allocations: 435.1 kB / 485.9 MB, free: 92 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1316, allocations: 8.031 kB / 485.9 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.1317, allocations: 8.844 kB / 485.9 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.1318, allocations: 164.4 kB / 486 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.1318, allocations: 384 / 486 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.1319, allocations: 4.375 kB / 486 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.132, allocations: 65.8 kB / 486.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.132, allocations: 0 / 486.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.132, allocations: 4 kB / 486.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.132, allocations: 4 kB / 486.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.32e-05/0.1321, allocations: 63.89 kB / 486.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.1323, allocations: 189.5 kB / 486.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.39e-05/0.1324, allocations: 58.56 kB / 486.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.981e-05/0.1325, allocations: 40.84 kB / 486.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.06e-05/0.1325, allocations: 24.2 kB / 486.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1326, allocations: 34.5 kB / 486.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.1326, allocations: 0 / 486.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.01852/0.1511, allocations: 1.622 MB / 488.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.1512, allocations: 63.28 kB / 488.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.1513, allocations: 137 kB / 488.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.1513, allocations: 25.7 kB / 488.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.1514, allocations: 88.14 kB / 488.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.1514, allocations: 39.39 kB / 488.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.503e-05/0.1515, allocations: 41.69 kB / 488.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1516, allocations: 322.8 kB / 488.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005639/0.1522, allocations: 199.9 kB / 489 MB, free: 12.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005566/0.1528, allocations: 211.4 kB / 489.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.1539, allocations: 384.7 kB / 489.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1539, allocations: 0 / 489.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00126/0.1552, allocations: 453.2 kB / 490.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1552, allocations: 4 kB / 490.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1552, allocations: 4 kB / 490.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1552, allocations: 4 kB / 490.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004679/0.1557, allocations: 59.94 kB / 490.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1557, allocations: 0 / 490.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.1561, allocations: 39.95 kB / 490.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.1561, allocations: 11.98 kB / 490.2 MB, free: 11.57 MB / 366.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.0001074/0.1562, allocations: 117.9 kB / 490.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.1563, allocations: 15.81 kB / 490.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.1575, allocations: 369.9 kB / 490.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1576, allocations: 4 kB / 490.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1576, allocations: 0 / 490.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1576, allocations: 0 / 490.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.1601, allocations: 0.7778 MB / 491.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1602, allocations: 0 / 491.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004273/0.1606, allocations: 64.03 kB / 491.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.1606, allocations: 4 kB / 491.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.1606, allocations: 11.98 kB / 491.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1607, allocations: 3.938 kB / 491.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.1607, allocations: 11.92 kB / 491.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.1618, allocations: 417.8 kB / 492 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.783e-05/0.162, allocations: 105 kB / 492.1 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.162, allocations: 4 kB / 492.1 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004027/0.1624, allocations: 47.95 kB / 492.1 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.1624, allocations: 15.86 kB / 492.1 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.1625, allocations: 8 kB / 492.1 MB, free: 9.492 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.413e-05/0.1626, allocations: 99.27 kB / 492.2 MB, free: 9.395 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1626, allocations: 0 / 492.2 MB, free: 9.395 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005886/0.1632, allocations: 167.9 kB / 492.4 MB, free: 9.23 MB / 366.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.0006033/0.1638, allocations: 247 kB / 492.6 MB, free: 8.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.165, allocations: 375.7 kB / 493 MB, free: 8.613 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.165, allocations: 0 / 493 MB, free: 8.613 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005281/0.1655, allocations: 152.1 kB / 493.2 MB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.1659, allocations: 22.08 kB / 493.2 MB, free: 8.449 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.1682, allocations: 0.5068 MB / 493.7 MB, free: 7.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.1685, allocations: 0.704 MB / 494.4 MB, free: 7.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001744/0.1687, allocations: 40.62 kB / 494.4 MB, free: 7.137 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.1688, allocations: 27.41 kB / 494.5 MB, free: 7.109 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1688, allocations: 0 / 494.5 MB, free: 7.109 MB / 366.1 MB Notification: Performance of Templates: time 0.01207/0.1809, allocations: 8.531 MB / 0.4912 GB, free: 14.57 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches