Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001962/0.001962, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001067/0.001066, allocations: 93.62 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.288/0.288, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.196e-05/2.206e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3936, allocations: 58.85 MB / 477.1 MB, free: 5.254 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1584/0.5521, allocations: 86.41 MB / 0.5503 GB, free: 12.91 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/0.5525, allocations: 79.95 kB / 0.5504 GB, free: 12.83 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02444/0.5769, allocations: 5.265 MB / 0.5555 GB, free: 7.566 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.577, allocations: 0 / 0.5555 GB, free: 7.566 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.577, allocations: 4 kB / 0.5555 GB, free: 7.562 MB / 395.1 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.0005538/0.5776, allocations: 406.1 kB / 0.5559 GB, free: 7.121 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.5776, allocations: 8.031 kB / 0.5559 GB, free: 7.113 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.5777, allocations: 11.86 kB / 0.5559 GB, free: 7.102 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.5778, allocations: 170.8 kB / 0.5561 GB, free: 6.898 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.5779, allocations: 4 kB / 0.5561 GB, free: 6.895 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.5779, allocations: 0 / 0.5561 GB, free: 6.895 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001649/0.5781, allocations: 63.91 kB / 0.5561 GB, free: 6.832 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.5782, allocations: 57.62 kB / 0.5562 GB, free: 6.77 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.5782, allocations: 7.922 kB / 0.5562 GB, free: 6.762 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.5783, allocations: 0 / 0.5562 GB, free: 6.762 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.5783, allocations: 0 / 0.5562 GB, free: 6.762 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000249/0.5785, allocations: 182 kB / 0.5564 GB, free: 6.547 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.5787, allocations: 50.56 kB / 0.5564 GB, free: 6.488 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.58e-05/0.5788, allocations: 40.84 kB / 0.5565 GB, free: 6.445 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.25e-05/0.5789, allocations: 20 kB / 0.5565 GB, free: 6.426 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.5789, allocations: 34.56 kB / 0.5565 GB, free: 6.383 MB / 395.1 MB Notification: Performance of pre-optimization done (n=8): time 1.853e-06/0.5789, allocations: 0 / 0.5565 GB, free: 6.383 MB / 395.1 MB Notification: Performance of matching and sorting (n=12): time 0.03915/0.6181, allocations: 1.849 MB / 0.5583 GB, free: 4.504 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.6182, allocations: 51.41 kB / 0.5584 GB, free: 4.441 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.6183, allocations: 113.3 kB / 0.5585 GB, free: 4.32 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/0.6184, allocations: 25.7 kB / 0.5585 GB, free: 4.289 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.804e-05/0.6185, allocations: 158.7 kB / 0.5587 GB, free: 4.129 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.077e-05/0.6186, allocations: 39.39 kB / 0.5587 GB, free: 4.09 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.6186, allocations: 0 / 0.5587 GB, free: 4.09 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.6188, allocations: 322.8 kB / 0.559 GB, free: 3.766 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.619, allocations: 71.97 kB / 0.5591 GB, free: 3.695 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.6193, allocations: 83.92 kB / 0.5591 GB, free: 3.613 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002447/0.6217, allocations: 239.8 kB / 0.5594 GB, free: 3.379 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.6218, allocations: 0 / 0.5594 GB, free: 3.379 MB / 395.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.002857/0.6247, allocations: 369.3 kB / 0.5597 GB, free: 3.012 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.6247, allocations: 4 kB / 0.5597 GB, free: 3.008 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.6247, allocations: 4 kB / 0.5597 GB, free: 3.004 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.6248, allocations: 3.984 kB / 0.5597 GB, free: 3 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009673/0.6257, allocations: 71.88 kB / 0.5598 GB, free: 2.93 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.6258, allocations: 4 kB / 0.5598 GB, free: 2.926 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007755/0.6265, allocations: 31.97 kB / 0.5598 GB, free: 2.895 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.888e-05/0.6266, allocations: 15.98 kB / 0.5599 GB, free: 2.879 MB / 395.1 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.0001465/0.6268, allocations: 112.9 kB / 0.56 GB, free: 2.762 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/0.6269, allocations: 7.906 kB / 0.56 GB, free: 2.754 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003177/0.63, allocations: 418.3 kB / 0.5604 GB, free: 2.344 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.6301, allocations: 4 kB / 0.5604 GB, free: 2.34 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.6301, allocations: 7.984 kB / 0.5604 GB, free: 2.332 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.6301, allocations: 0 / 0.5604 GB, free: 2.332 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00583/0.636, allocations: 0.861 MB / 0.5612 GB, free: 1.422 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.636, allocations: 96 / 0.5612 GB, free: 1.422 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000902/0.6369, allocations: 75.86 kB / 0.5613 GB, free: 1.348 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.637, allocations: 0 / 0.5613 GB, free: 1.348 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/0.637, allocations: 4 kB / 0.5613 GB, free: 1.344 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/0.637, allocations: 11.98 kB / 0.5613 GB, free: 1.332 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.637, allocations: 0 / 0.5613 GB, free: 1.332 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002962/0.64, allocations: 0.5105 MB / 0.5618 GB, free: 0.7773 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.6402, allocations: 112.9 kB / 0.5619 GB, free: 0.6484 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/0.6403, allocations: 0 / 0.5619 GB, free: 0.6484 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008003/0.6411, allocations: 43.95 kB / 0.562 GB, free: 0.6055 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.6412, allocations: 4 kB / 0.562 GB, free: 0.6016 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/0.6412, allocations: 11.98 kB / 0.562 GB, free: 0.5898 MB / 395.1 MB Notification: Performance of sorting global known variables: time 8.77e-05/0.6413, allocations: 95.27 kB / 0.5621 GB, free: 0.4961 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6413, allocations: 0 / 0.5621 GB, free: 0.4961 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0008418/0.6422, allocations: 171.8 kB / 0.5622 GB, free: 336 kB / 395.1 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.0009468/0.6431, allocations: 254.8 kB / 0.5625 GB, free: 68 kB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0006194/0.6438, allocations: 172 kB / 0.5626 GB, free: 15.9 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.6438, allocations: 3.938 kB / 0.5626 GB, free: 15.89 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002796/0.6441, allocations: 95.91 kB / 0.5627 GB, free: 15.8 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.6444, allocations: 24.34 kB / 0.5628 GB, free: 15.78 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/0.648, allocations: 401.5 kB / 0.5631 GB, free: 15.35 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.6485, allocations: 0.6963 MB / 0.5638 GB, free: 14.63 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/0.6487, allocations: 23.42 kB / 0.5638 GB, free: 14.61 MB / 411.1 MB Notification: Performance of SimCode: time 1.092e-06/0.6488, allocations: 0 / 0.5638 GB, free: 14.61 MB / 411.1 MB Notification: Performance of Templates: time 0.0123/0.6611, allocations: 4.791 MB / 0.5685 GB, free: 9.809 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches