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.001134/0.001134, allocations: 90.95 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001104/0.001105, allocations: 205.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2245/0.2245, allocations: 45.91 MB / 344 MB, free: 12.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002704/0.0002704, allocations: 8 kB / 417.9 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.134, allocations: 63.47 MB / 481.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001597/0.1357, allocations: 1.141 MB / 482.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.1376, allocations: 1.279 MB / 483.8 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.479e-05/0.1377, allocations: 0 / 483.8 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.1379, allocations: 35.83 kB / 483.8 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.1381, allocations: 31.92 kB / 483.9 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.1385, allocations: 175.5 kB / 484.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.553e-05/0.1386, allocations: 39.88 kB / 484.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.1386, allocations: 4 kB / 484.1 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.359e-05/0.1387, allocations: 19.92 kB / 484.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.729e-05/0.1388, allocations: 27.86 kB / 484.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.348e-06/0.1388, allocations: 0 / 484.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005327/0.1393, allocations: 315.6 kB / 484.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.1393, allocations: 11.98 kB / 484.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.1394, allocations: 33.64 kB / 484.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.1397, allocations: 188 kB / 484.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1397, allocations: 3.938 kB / 484.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1397, allocations: 0 / 484.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1397, allocations: 0 / 484.7 MB, free: 2.109 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.0005346/0.1402, allocations: 407 kB / 485.1 MB, free: 1.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1403, allocations: 12.03 kB / 485.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.1403, allocations: 3.906 kB / 485.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.1405, allocations: 175 kB / 485.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1405, allocations: 4 kB / 485.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.1406, allocations: 8 kB / 485.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.1407, allocations: 69.55 kB / 485.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-06/0.1407, allocations: 0 / 485.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1408, allocations: 4 kB / 485.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1408, allocations: 0 / 485.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.156e-05/0.1409, allocations: 55.97 kB / 485.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.1411, allocations: 189.5 kB / 485.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.268e-05/0.1412, allocations: 54.56 kB / 485.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.716e-05/0.1412, allocations: 28.2 kB / 485.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.1413, allocations: 38.55 kB / 485.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.934e-06/0.1413, allocations: 0 / 485.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.02014/0.1614, allocations: 1.685 MB / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.1615, allocations: 55.39 kB / 487.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.1617, allocations: 136.7 kB / 487.6 MB, free: 15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.1617, allocations: 29.7 kB / 487.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.008e-05/0.1618, allocations: 88.05 kB / 487.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.583e-05/0.1619, allocations: 43.44 kB / 487.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/0.1619, allocations: 0 / 487.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.1621, allocations: 326.8 kB / 488.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007009/0.1628, allocations: 212 kB / 488.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006798/0.1635, allocations: 212.2 kB / 488.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/0.1642, allocations: 192.6 kB / 488.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1642, allocations: 4 kB / 488.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00155/0.1658, allocations: 483.2 kB / 489.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.1658, allocations: 4 kB / 489.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.1658, allocations: 7.984 kB / 489.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1658, allocations: 0 / 489.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00061/0.1664, allocations: 75.89 kB / 489.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.1665, allocations: 4 kB / 489.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/0.1669, allocations: 35.97 kB / 489.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/0.167, allocations: 19.97 kB / 489.3 MB, free: 13.27 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.zeta1_at_a,data.zeta2_at_a,data.zetaLaminarKnown) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001452/0.1672, allocations: 117.8 kB / 489.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.1672, allocations: 7.891 kB / 489.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/0.1688, allocations: 402 kB / 489.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.1689, allocations: 4 kB / 489.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1689, allocations: 3.984 kB / 489.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1689, allocations: 0 / 489.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003139/0.172, allocations: 0.8206 MB / 490.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.289e-06/0.1721, allocations: 4.094 kB / 490.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005584/0.1726, allocations: 79.84 kB / 490.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.1726, allocations: 3.984 kB / 490.7 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.1727, allocations: 11.98 kB / 490.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.1727, allocations: 7.984 kB / 490.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1727, allocations: 3.953 kB / 490.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.1742, allocations: 486.9 kB / 491.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.1743, allocations: 104.9 kB / 491.3 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.1744, allocations: 11.98 kB / 491.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005043/0.1749, allocations: 39.97 kB / 491.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.737e-05/0.1749, allocations: 7.984 kB / 491.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/0.1749, allocations: 15.97 kB / 491.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.029e-05/0.175, allocations: 95.27 kB / 491.5 MB, free: 10.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.175, allocations: 3.938 kB / 491.5 MB, free: 10.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006738/0.1757, allocations: 175.9 kB / 491.7 MB, free: 10.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006706/0.1764, allocations: 252.6 kB / 491.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001473/0.1779, allocations: 395.7 kB / 492.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.1779, allocations: 0 / 492.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006522/0.1785, allocations: 164 kB / 492.4 MB, free: 9.953 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.1788, allocations: 24.16 kB / 492.5 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.1816, allocations: 0.5714 MB / 493 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.1819, allocations: 0.7004 MB / 493.7 MB, free: 8.598 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002332/0.1822, allocations: 44.64 kB / 493.8 MB, free: 8.547 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.1823, allocations: 47.34 kB / 493.8 MB, free: 8.504 MB / 366.1 MB Notification: Performance of SimCode: time 2.235e-06/0.1823, allocations: 0 / 493.8 MB, free: 8.504 MB / 366.1 MB Notification: Performance of Templates: time 0.01302/0.1954, allocations: 8.332 MB / 0.4904 GB, free: 168 kB / 366.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches