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.001122/0.001122, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.283/1.283, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.000766/0.0007661, allocations: 87.72 kB / 267.1 MB, free: 9.281 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.3204/0.3204, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.947e-05/2.948e-05, allocations: 11.98 kB / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0963/0.09635, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3342/0.4306, allocations: 87.06 MB / 0.5578 GB, free: 17.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.4309, allocations: 82.19 kB / 0.5579 GB, free: 17.03 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01351/0.4444, allocations: 5.356 MB / 0.5631 GB, free: 13.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4444, allocations: 0 / 0.5631 GB, free: 13.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.4445, allocations: 2.688 kB / 0.5631 GB, free: 13.77 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.0002902/0.4448, allocations: 400.3 kB / 0.5635 GB, free: 13.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.4448, allocations: 12.03 kB / 0.5635 GB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.68e-05/0.4448, allocations: 7.906 kB / 0.5635 GB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.161e-05/0.4449, allocations: 179.4 kB / 0.5637 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.4449, allocations: 7.297 kB / 0.5637 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.445, allocations: 11.94 kB / 0.5637 GB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.4451, allocations: 64.88 kB / 0.5638 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.4451, allocations: 5.375 kB / 0.5638 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.4451, allocations: 0 / 0.5638 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.4451, allocations: 0 / 0.5638 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.957e-05/0.4452, allocations: 55.11 kB / 0.5638 GB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001406/0.4453, allocations: 195.3 kB / 0.564 GB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.619e-05/0.4454, allocations: 58.52 kB / 0.5641 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.666e-05/0.4455, allocations: 45.77 kB / 0.5641 GB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.519e-05/0.4455, allocations: 17.19 kB / 0.5641 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.4455, allocations: 34.39 kB / 0.5642 GB, free: 12.67 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.4456, allocations: 0 / 0.5642 GB, free: 12.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.01761/0.4632, allocations: 1.417 MB / 0.5656 GB, free: 11.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.4632, allocations: 59.41 kB / 0.5656 GB, free: 11.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.395e-05/0.4633, allocations: 120 kB / 0.5657 GB, free: 11.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.4634, allocations: 25.7 kB / 0.5658 GB, free: 11.35 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.22e-05/0.4634, allocations: 91.31 kB / 0.5658 GB, free: 11.26 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/0.4635, allocations: 42.88 kB / 0.5659 GB, free: 11.22 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.729e-05/0.4635, allocations: 3.25 kB / 0.5659 GB, free: 11.22 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.748e-05/0.4635, allocations: 322.3 kB / 0.5662 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.4637, allocations: 81.17 kB / 0.5663 GB, free: 10.86 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.4638, allocations: 73.72 kB / 0.5663 GB, free: 10.81 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.464, allocations: 73.47 kB / 0.5664 GB, free: 10.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.464, allocations: 4 kB / 0.5664 GB, free: 10.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003656/0.4643, allocations: 212 kB / 0.5666 GB, free: 10.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.4644, allocations: 7.984 kB / 0.5666 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.4644, allocations: 0 / 0.5666 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.4644, allocations: 0 / 0.5666 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004933/0.4649, allocations: 71.88 kB / 0.5667 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4649, allocations: 0.5625 kB / 0.5667 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003899/0.4653, allocations: 47.47 kB / 0.5667 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.4654, allocations: 8 kB / 0.5668 GB, free: 10.48 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 () * 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 7.241e-05/0.4654, allocations: 108.8 kB / 0.5669 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.4655, allocations: 7.906 kB / 0.5669 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005291/0.466, allocations: 265 kB / 0.5671 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.466, allocations: 4 kB / 0.5671 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.466, allocations: 7.922 kB / 0.5671 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.466, allocations: 0 / 0.5671 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.4679, allocations: 0.7219 MB / 0.5678 GB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4679, allocations: 0 / 0.5678 GB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004461/0.4683, allocations: 71.97 kB / 0.5679 GB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4684, allocations: 0 / 0.5679 GB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.4684, allocations: 11.94 kB / 0.5679 GB, free: 9.402 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4684, allocations: 3.938 kB / 0.5679 GB, free: 9.398 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4684, allocations: 8 kB / 0.5679 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003959/0.4688, allocations: 352.8 kB / 0.5683 GB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/0.4689, allocations: 107.8 kB / 0.5684 GB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.4689, allocations: 4 kB / 0.5684 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004136/0.4694, allocations: 43.27 kB / 0.5684 GB, free: 8.902 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.4694, allocations: 11.98 kB / 0.5684 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.4694, allocations: 4 kB / 0.5684 GB, free: 8.887 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.98e-05/0.4695, allocations: 104.2 kB / 0.5685 GB, free: 8.793 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4695, allocations: 0 / 0.5685 GB, free: 8.793 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006/0.4701, allocations: 175.6 kB / 0.5687 GB, free: 8.625 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 () * 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.0005472/0.4706, allocations: 274.8 kB / 0.569 GB, free: 8.352 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003196/0.471, allocations: 177.5 kB / 0.5691 GB, free: 8.238 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.471, allocations: 4 kB / 0.5691 GB, free: 8.234 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.4711, allocations: 90.83 kB / 0.5692 GB, free: 8.176 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.4713, allocations: 29.06 kB / 0.5692 GB, free: 8.156 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.4732, allocations: 375.7 kB / 0.5696 GB, free: 7.801 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.4733, allocations: 0.7043 MB / 0.5703 GB, free: 7.07 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000215/0.4735, allocations: 40.41 kB / 0.5703 GB, free: 7.027 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.4736, allocations: 27.41 kB / 0.5704 GB, free: 7.004 MB / 394.7 MB Notification: Performance of SimCode: time 3.6e-07/0.4737, allocations: 0 / 0.5704 GB, free: 7.004 MB / 394.7 MB Notification: Performance of Templates: time 0.007316/0.481, allocations: 5.691 MB / 0.5759 GB, free: 1.344 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