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.001396/0.001396, allocations: 184.6 kB / 15.76 MB, free: 6.367 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.705/1.705, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008532/0.0008533, allocations: 98.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2118/0.2118, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003248, allocations: 11.98 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.14, allocations: 58.86 MB / 490.2 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4553/0.5954, allocations: 87.16 MB / 0.5639 GB, free: 12.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.5957, allocations: 75.16 kB / 0.5639 GB, free: 12.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0149/0.6106, allocations: 5.376 MB / 0.5692 GB, free: 8.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.6107, allocations: 3.938 kB / 0.5692 GB, free: 8.016 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.6107, allocations: 8 kB / 0.5692 GB, free: 8.008 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.0005279/0.6112, allocations: 414.3 kB / 0.5696 GB, free: 7.559 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.6113, allocations: 12.02 kB / 0.5696 GB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.6113, allocations: 15.8 kB / 0.5696 GB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.6115, allocations: 167 kB / 0.5698 GB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.6115, allocations: 0 / 0.5698 GB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.6116, allocations: 7.906 kB / 0.5698 GB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.6117, allocations: 67.97 kB / 0.5699 GB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.6118, allocations: 4 kB / 0.5699 GB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.6118, allocations: 0 / 0.5699 GB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.6118, allocations: 4 kB / 0.5699 GB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.6119, allocations: 57.41 kB / 0.5699 GB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002297/0.6122, allocations: 198.9 kB / 0.5701 GB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.984e-05/0.6122, allocations: 56.56 kB / 0.5702 GB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.719e-05/0.6123, allocations: 19.23 kB / 0.5702 GB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.6123, allocations: 34.56 kB / 0.5702 GB, free: 6.883 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.6123, allocations: 0 / 0.5702 GB, free: 6.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.02028/0.6326, allocations: 1.615 MB / 0.5718 GB, free: 5.355 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.6327, allocations: 59.34 kB / 0.5719 GB, free: 5.285 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.6329, allocations: 125.2 kB / 0.572 GB, free: 5.164 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.6329, allocations: 25.7 kB / 0.572 GB, free: 5.133 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/0.633, allocations: 91.38 kB / 0.5721 GB, free: 5.043 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.632e-05/0.6331, allocations: 42.75 kB / 0.5721 GB, free: 5.004 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.722e-05/0.6331, allocations: 3.5 kB / 0.5721 GB, free: 5.004 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.6332, allocations: 314.1 kB / 0.5724 GB, free: 4.691 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006234/0.6339, allocations: 134.9 kB / 0.5726 GB, free: 4.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000556/0.6344, allocations: 134.2 kB / 0.5727 GB, free: 4.488 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006066/0.635, allocations: 125.2 kB / 0.5728 GB, free: 4.395 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.6351, allocations: 0 / 0.5728 GB, free: 4.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001261/0.6363, allocations: 321.5 kB / 0.5731 GB, free: 4.137 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.6364, allocations: 8 kB / 0.5731 GB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.6364, allocations: 0 / 0.5731 GB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.6364, allocations: 0 / 0.5731 GB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/0.637, allocations: 69.56 kB / 0.5732 GB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.637, allocations: 4 kB / 0.5732 GB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004269/0.6374, allocations: 36.52 kB / 0.5732 GB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.017e-05/0.6375, allocations: 17.12 kB / 0.5732 GB, free: 4.008 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: 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.0001318/0.6376, allocations: 123.1 kB / 0.5734 GB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.6377, allocations: 11.89 kB / 0.5734 GB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.6391, allocations: 371.4 kB / 0.5737 GB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.6391, allocations: 0 / 0.5737 GB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6391, allocations: 0 / 0.5737 GB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6391, allocations: 4 kB / 0.5737 GB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/0.6422, allocations: 0.8365 MB / 0.5745 GB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.6422, allocations: 0 / 0.5745 GB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004939/0.6427, allocations: 72.02 kB / 0.5746 GB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.6427, allocations: 0 / 0.5746 GB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/0.6427, allocations: 4 kB / 0.5746 GB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.6427, allocations: 11.95 kB / 0.5746 GB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.6428, allocations: 3.938 kB / 0.5746 GB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.6441, allocations: 474.2 kB / 0.5751 GB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.6442, allocations: 103.9 kB / 0.5752 GB, free: 2.137 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.6443, allocations: 7.984 kB / 0.5752 GB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004422/0.6447, allocations: 47.64 kB / 0.5752 GB, free: 2.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.6448, allocations: 7.938 kB / 0.5752 GB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.6448, allocations: 7.984 kB / 0.5752 GB, free: 2.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.042e-05/0.6449, allocations: 105.7 kB / 0.5754 GB, free: 1.977 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.6449, allocations: 0 / 0.5754 GB, free: 1.977 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009116/0.6458, allocations: 178.9 kB / 0.5755 GB, free: 1.805 MB / 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 (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.000744/0.6466, allocations: 265 kB / 0.5758 GB, free: 1.543 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.6478, allocations: 294.1 kB / 0.5761 GB, free: 1.316 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.6479, allocations: 0 / 0.5761 GB, free: 1.316 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005817/0.6484, allocations: 152 kB / 0.5762 GB, free: 1.199 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.6488, allocations: 19.12 kB / 0.5762 GB, free: 1.184 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.6514, allocations: 0.538 MB / 0.5767 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.6518, allocations: 0.7004 MB / 0.5774 GB, free: 15.93 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002334/0.6521, allocations: 36.41 kB / 0.5775 GB, free: 15.89 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.6522, allocations: 23.42 kB / 0.5775 GB, free: 15.87 MB / 394.7 MB Notification: Performance of SimCode: time 5.52e-07/0.6522, allocations: 4 kB / 0.5775 GB, free: 15.86 MB / 394.7 MB Notification: Performance of Templates: time 0.009864/0.6621, allocations: 5.649 MB / 0.583 GB, free: 10.22 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/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