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.001443/0.001443, allocations: 183 kB / 16.63 MB, free: 5.137 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.558/1.558, allocations: 205.1 MB / 222.5 MB, free: 8.461 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.001061/0.00106, allocations: 109.5 kB / 269.9 MB, free: 8.41 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.363/0.363, allocations: 43.5 MB / 360.7 MB, free: 51.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009992/0.0009992, allocations: 47.92 kB / 429.2 MB, free: 6.371 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1242, allocations: 57.78 MB / 487 MB, free: 12.52 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002468/0.1267, allocations: 1.513 MB / 488.5 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.1286, allocations: 1.5 MB / 490 MB, free: 9.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.587e-05/0.1287, allocations: 0 / 490 MB, free: 9.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.1288, allocations: 31.84 kB / 490.1 MB, free: 9.449 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.129, allocations: 40.09 kB / 490.1 MB, free: 9.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.1294, allocations: 167.4 kB / 490.3 MB, free: 9.246 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.1295, allocations: 55.73 kB / 490.3 MB, free: 9.191 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.983e-05/0.1295, allocations: 11.98 kB / 490.3 MB, free: 9.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.809e-05/0.1296, allocations: 27.86 kB / 490.4 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.047e-05/0.1297, allocations: 23.86 kB / 490.4 MB, free: 9.129 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.1297, allocations: 4 kB / 490.4 MB, free: 9.125 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004823/0.1302, allocations: 331.5 kB / 490.7 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.1302, allocations: 7.938 kB / 490.7 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/0.1302, allocations: 27.86 kB / 490.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003928/0.1306, allocations: 275.4 kB / 491 MB, free: 8.496 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1306, allocations: 0 / 491 MB, free: 8.496 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1307, allocations: 3.938 kB / 491 MB, free: 8.492 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.1307, allocations: 4 kB / 491 MB, free: 8.488 MB / 378.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.0005123/0.1312, allocations: 415.2 kB / 491.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1312, allocations: 8.031 kB / 491.4 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.1313, allocations: 8.844 kB / 491.4 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.1314, allocations: 172.2 kB / 491.6 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1314, allocations: 384 / 491.6 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.1314, allocations: 8.375 kB / 491.6 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.1316, allocations: 73.78 kB / 491.7 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1316, allocations: 3.984 kB / 491.7 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1316, allocations: 4 kB / 491.7 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1316, allocations: 0 / 491.7 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.344e-05/0.1317, allocations: 55.95 kB / 491.8 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.1319, allocations: 193.5 kB / 491.9 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.035e-05/0.132, allocations: 54.5 kB / 492 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.872e-05/0.132, allocations: 40.84 kB / 492 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.305e-05/0.1321, allocations: 19.98 kB / 492.1 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.1321, allocations: 42.5 kB / 492.1 MB, free: 7.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.1321, allocations: 3.938 kB / 492.1 MB, free: 7.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.02004/0.1522, allocations: 1.619 MB / 493.7 MB, free: 5.598 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.1522, allocations: 55.41 kB / 493.8 MB, free: 5.531 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.1524, allocations: 133.9 kB / 493.9 MB, free: 5.395 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.1524, allocations: 25.7 kB / 493.9 MB, free: 5.363 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/0.1525, allocations: 92.03 kB / 494 MB, free: 5.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.726e-05/0.1525, allocations: 39.39 kB / 494.1 MB, free: 5.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.896e-05/0.1526, allocations: 49.62 kB / 494.1 MB, free: 5.176 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1528, allocations: 322.8 kB / 494.4 MB, free: 4.852 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006164/0.1534, allocations: 211.8 kB / 494.6 MB, free: 4.645 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005978/0.154, allocations: 203.8 kB / 494.8 MB, free: 4.445 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.1552, allocations: 380.7 kB / 495.2 MB, free: 4.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1552, allocations: 0 / 495.2 MB, free: 4.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001318/0.1566, allocations: 453.4 kB / 495.6 MB, free: 3.621 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.1566, allocations: 8 kB / 495.6 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.1566, allocations: 0 / 495.6 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.1566, allocations: 0 / 495.6 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005098/0.1571, allocations: 67.88 kB / 495.7 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1572, allocations: 3.984 kB / 495.7 MB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/0.1576, allocations: 39.97 kB / 495.8 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.1576, allocations: 7.984 kB / 495.8 MB, free: 3.496 MB / 378.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: 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.0001237/0.1577, allocations: 125.7 kB / 495.9 MB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.1578, allocations: 7.906 kB / 495.9 MB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.1592, allocations: 366 kB / 496.3 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1592, allocations: 0 / 496.3 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1592, allocations: 0 / 496.3 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1592, allocations: 0 / 496.3 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002664/0.1619, allocations: 0.7816 MB / 497 MB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1619, allocations: 8.094 kB / 497 MB, free: 2.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004502/0.1624, allocations: 63.94 kB / 497.1 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.1624, allocations: 0 / 497.1 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.1624, allocations: 7.984 kB / 497.1 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1624, allocations: 8 kB / 497.1 MB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.1624, allocations: 7.875 kB / 497.1 MB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/0.1644, allocations: 1.125 MB / 498.3 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.1646, allocations: 116.8 kB / 498.4 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.1646, allocations: 0 / 498.4 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/0.165, allocations: 43.97 kB / 498.4 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.165, allocations: 7.984 kB / 498.4 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.1651, allocations: 7.984 kB / 498.4 MB, free: 0.668 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.311e-05/0.1651, allocations: 103.3 kB / 498.5 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1652, allocations: 0 / 498.5 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006263/0.1658, allocations: 171.9 kB / 498.7 MB, free: 408 kB / 378.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 (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.0006105/0.1664, allocations: 247 kB / 498.9 MB, free: 148 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.1677, allocations: 380.1 kB / 499.3 MB, free: 15.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.1677, allocations: 7.938 kB / 499.3 MB, free: 15.77 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005529/0.1683, allocations: 148 kB / 499.5 MB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.1686, allocations: 24.03 kB / 499.5 MB, free: 15.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.1711, allocations: 0.6443 MB / 0.4884 GB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.1713, allocations: 0.7043 MB / 0.4891 GB, free: 14.18 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002194/0.1716, allocations: 36.83 kB / 0.4891 GB, free: 14.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.1717, allocations: 31.34 kB / 0.4892 GB, free: 14.11 MB / 394.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1717, allocations: 0 / 0.4892 GB, free: 14.11 MB / 394.7 MB Notification: Performance of Templates: time 0.01167/0.1834, allocations: 8.476 MB / 0.4974 GB, free: 5.609 MB / 394.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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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