Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000897/0.0008968, allocations: 92.5 kB / 281.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2069/0.2069, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.473e-05/1.475e-05, allocations: 224 / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1371, allocations: 61.91 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.454/0.5912, allocations: 87.58 MB / 0.5802 GB, free: 8.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.5915, allocations: 83.94 kB / 0.5803 GB, free: 8.848 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01518/0.6067, allocations: 5.398 MB / 0.5856 GB, free: 3.461 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.6067, allocations: 0 / 0.5856 GB, free: 3.461 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.6067, allocations: 4 kB / 0.5856 GB, free: 3.457 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.0004391/0.6072, allocations: 410.1 kB / 0.5859 GB, free: 3.012 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/0.6072, allocations: 11.98 kB / 0.586 GB, free: 3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.6073, allocations: 4 kB / 0.586 GB, free: 2.996 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.6075, allocations: 172.4 kB / 0.5861 GB, free: 2.789 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.6075, allocations: 8.984 kB / 0.5861 GB, free: 2.781 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.6075, allocations: 3.938 kB / 0.5861 GB, free: 2.777 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000156/0.6077, allocations: 51.98 kB / 0.5862 GB, free: 2.727 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.6078, allocations: 57.67 kB / 0.5862 GB, free: 2.664 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.6079, allocations: 0 / 0.5862 GB, free: 2.664 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.6079, allocations: 0 / 0.5862 GB, free: 2.664 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.6079, allocations: 4 kB / 0.5862 GB, free: 2.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002484/0.6081, allocations: 178 kB / 0.5864 GB, free: 2.449 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.789e-05/0.6083, allocations: 50.56 kB / 0.5865 GB, free: 2.391 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.036e-05/0.6083, allocations: 40.84 kB / 0.5865 GB, free: 2.348 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.764e-05/0.6084, allocations: 23.94 kB / 0.5865 GB, free: 2.324 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.6085, allocations: 42.44 kB / 0.5866 GB, free: 2.273 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 4.719e-06/0.6085, allocations: 4 kB / 0.5866 GB, free: 2.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.02247/0.6309, allocations: 1.842 MB / 0.5884 GB, free: 408 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.631, allocations: 51.97 kB / 0.5884 GB, free: 344 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.6312, allocations: 119 kB / 0.5885 GB, free: 216 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.6312, allocations: 25.7 kB / 0.5886 GB, free: 184 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/0.6313, allocations: 88.38 kB / 0.5886 GB, free: 88 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.77e-05/0.6313, allocations: 43.39 kB / 0.5887 GB, free: 44 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.844e-05/0.6313, allocations: 0 / 0.5887 GB, free: 44 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.6315, allocations: 318.8 kB / 0.589 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.6316, allocations: 75.98 kB / 0.5891 GB, free: 15.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.6318, allocations: 75.98 kB / 0.5891 GB, free: 15.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.6332, allocations: 244.1 kB / 0.5894 GB, free: 15.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.6332, allocations: 0 / 0.5894 GB, free: 15.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001622/0.6348, allocations: 385.1 kB / 0.5897 GB, free: 14.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.6348, allocations: 4 kB / 0.5897 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.6348, allocations: 0 / 0.5897 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.6349, allocations: 0 / 0.5897 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005479/0.6354, allocations: 72.38 kB / 0.5898 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.6354, allocations: 0 / 0.5898 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004165/0.6359, allocations: 39.95 kB / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.6359, allocations: 16 kB / 0.5899 GB, free: 14.82 MB / 410.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 () * 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.00011/0.636, allocations: 101 kB / 0.59 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.6361, allocations: 15.84 kB / 0.59 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/0.6378, allocations: 421.8 kB / 0.5904 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.6379, allocations: 4 kB / 0.5904 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.6379, allocations: 3.984 kB / 0.5904 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.6379, allocations: 0 / 0.5904 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003864/0.6418, allocations: 0.8725 MB / 0.5912 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.6418, allocations: 0 / 0.5912 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00062/0.6424, allocations: 68.03 kB / 0.5913 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.6424, allocations: 0 / 0.5913 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.6425, allocations: 7.984 kB / 0.5913 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.6425, allocations: 0 / 0.5913 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6425, allocations: 4 kB / 0.5913 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.6445, allocations: 0.5027 MB / 0.5918 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.6447, allocations: 105 kB / 0.5919 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/0.6447, allocations: 4 kB / 0.5919 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005579/0.6453, allocations: 39.95 kB / 0.5919 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.6453, allocations: 19.94 kB / 0.592 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.6454, allocations: 8 kB / 0.592 GB, free: 12.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.644e-05/0.6454, allocations: 91.27 kB / 0.5921 GB, free: 12.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.104e-06/0.6454, allocations: 0 / 0.5921 GB, free: 12.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007417/0.6462, allocations: 187.7 kB / 0.5922 GB, free: 12.27 MB / 410.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 () * 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.000693/0.6469, allocations: 258.9 kB / 0.5925 GB, free: 12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003538/0.6473, allocations: 175.9 kB / 0.5926 GB, free: 11.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.6473, allocations: 0 / 0.5926 GB, free: 11.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.6474, allocations: 91.92 kB / 0.5927 GB, free: 11.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.6477, allocations: 11.98 kB / 0.5927 GB, free: 11.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.6497, allocations: 367 kB / 0.5931 GB, free: 11.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.6501, allocations: 0.7041 MB / 0.5938 GB, free: 10.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002414/0.6503, allocations: 44.34 kB / 0.5938 GB, free: 10.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.6505, allocations: 23.41 kB / 0.5939 GB, free: 10.54 MB / 410.7 MB Notification: Performance of SimCode: time 3.6e-07/0.6505, allocations: 4 kB / 0.5939 GB, free: 10.54 MB / 410.7 MB Notification: Performance of Templates: time 0.009321/0.6598, allocations: 5.38 MB / 0.5991 GB, free: 5.168 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches