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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.000957/0.0009571, allocations: 175.8 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008197/0.0008194, allocations: 97.02 kB / 271.3 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4052/0.4052, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003766, allocations: 16 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1342, allocations: 58.84 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.366/0.5002, allocations: 87.19 MB / 0.5651 GB, free: 14.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/0.5006, allocations: 79.95 kB / 0.5652 GB, free: 14.74 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01597/0.5166, allocations: 5.369 MB / 0.5704 GB, free: 9.406 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.5166, allocations: 0 / 0.5704 GB, free: 9.406 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.5167, allocations: 0 / 0.5704 GB, free: 9.406 MB / 394.7 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.0005685/0.5172, allocations: 418.6 kB / 0.5708 GB, free: 8.949 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.5173, allocations: 8.031 kB / 0.5708 GB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/0.5174, allocations: 16.83 kB / 0.5708 GB, free: 8.926 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.5176, allocations: 176.2 kB / 0.571 GB, free: 8.715 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.5176, allocations: 4.375 kB / 0.571 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.5176, allocations: 4.375 kB / 0.571 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.5178, allocations: 62.23 kB / 0.5711 GB, free: 8.641 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.5178, allocations: 192 / 0.5711 GB, free: 8.641 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.5178, allocations: 3.938 kB / 0.5711 GB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.5178, allocations: 0 / 0.5711 GB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.518, allocations: 63.91 kB / 0.5711 GB, free: 8.574 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002485/0.5182, allocations: 195.2 kB / 0.5713 GB, free: 8.336 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.861e-05/0.5183, allocations: 54.55 kB / 0.5714 GB, free: 8.273 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.098e-05/0.5184, allocations: 44.84 kB / 0.5714 GB, free: 8.227 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.98e-05/0.5184, allocations: 22.23 kB / 0.5714 GB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.5185, allocations: 30.56 kB / 0.5715 GB, free: 8.168 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.5185, allocations: 0 / 0.5715 GB, free: 8.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.01743/0.5359, allocations: 1.631 MB / 0.5731 GB, free: 6.512 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.536, allocations: 55.34 kB / 0.5731 GB, free: 6.445 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.5362, allocations: 130.5 kB / 0.5732 GB, free: 6.309 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.5362, allocations: 29.7 kB / 0.5733 GB, free: 6.273 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.5363, allocations: 84.38 kB / 0.5733 GB, free: 6.184 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.648e-05/0.5364, allocations: 39.45 kB / 0.5734 GB, free: 6.145 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.697e-05/0.5364, allocations: 4 kB / 0.5734 GB, free: 6.141 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5365, allocations: 322.8 kB / 0.5737 GB, free: 5.816 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005022/0.537, allocations: 135.9 kB / 0.5738 GB, free: 5.684 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005133/0.5375, allocations: 131.9 kB / 0.5739 GB, free: 5.555 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.5386, allocations: 264 kB / 0.5742 GB, free: 5.297 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.5386, allocations: 0 / 0.5742 GB, free: 5.297 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001117/0.5397, allocations: 333.2 kB / 0.5745 GB, free: 4.965 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.5398, allocations: 4 kB / 0.5745 GB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.5398, allocations: 0 / 0.5745 GB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.5398, allocations: 0 / 0.5745 GB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004705/0.5403, allocations: 71.92 kB / 0.5746 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.5403, allocations: 0 / 0.5746 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/0.5407, allocations: 35.97 kB / 0.5746 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.5407, allocations: 15.98 kB / 0.5746 GB, free: 4.84 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (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 prepare postOptimizeDAE: time 0.000122/0.5409, allocations: 109.8 kB / 0.5747 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.5409, allocations: 11.84 kB / 0.5748 GB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.5423, allocations: 381.9 kB / 0.5751 GB, free: 4.336 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5423, allocations: 0 / 0.5751 GB, free: 4.336 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.5423, allocations: 3.984 kB / 0.5751 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.5423, allocations: 0 / 0.5751 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002727/0.545, allocations: 0.8332 MB / 0.5759 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.5451, allocations: 0 / 0.5759 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004171/0.5455, allocations: 68.03 kB / 0.576 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.5455, allocations: 4 kB / 0.576 GB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.5456, allocations: 11.92 kB / 0.576 GB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.5456, allocations: 4 kB / 0.576 GB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.5456, allocations: 0 / 0.576 GB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.5468, allocations: 429.7 kB / 0.5764 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.547, allocations: 108.3 kB / 0.5765 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.547, allocations: 8 kB / 0.5765 GB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.5474, allocations: 40.05 kB / 0.5766 GB, free: 2.742 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.5474, allocations: 23.8 kB / 0.5766 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.5475, allocations: 4 kB / 0.5766 GB, free: 2.715 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.845e-05/0.5475, allocations: 99.27 kB / 0.5767 GB, free: 2.617 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5476, allocations: 0 / 0.5767 GB, free: 2.617 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000744/0.5483, allocations: 183.7 kB / 0.5769 GB, free: 2.438 MB / 394.7 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.0008885/0.5492, allocations: 262.8 kB / 0.5771 GB, free: 2.172 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.5503, allocations: 291.8 kB / 0.5774 GB, free: 1.887 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.5504, allocations: 0 / 0.5774 GB, free: 1.887 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005113/0.5509, allocations: 152 kB / 0.5776 GB, free: 1.738 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.5513, allocations: 16.55 kB / 0.5776 GB, free: 1.723 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.5536, allocations: 0.552 MB / 0.5781 GB, free: 1.141 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.554, allocations: 0.6926 MB / 0.5788 GB, free: 432 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002534/0.5542, allocations: 43.28 kB / 0.5788 GB, free: 392 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.5544, allocations: 27.59 kB / 0.5789 GB, free: 364 kB / 394.7 MB Notification: Performance of SimCode: time 6.71e-07/0.5544, allocations: 0 / 0.5789 GB, free: 364 kB / 394.7 MB Notification: Performance of Templates: time 0.01604/0.5704, allocations: 7.746 MB / 0.5864 GB, free: 8.613 MB / 410.7 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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches