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.002168/0.002168, allocations: 180.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.112/2.112, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001073/0.001073, allocations: 82.66 kB / 267.5 MB, free: 14.11 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.2678/0.2678, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.227e-05/3.23e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 58.85 MB / 484.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4564/0.5674, allocations: 87.07 MB / 0.5578 GB, free: 0.625 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.5677, allocations: 77.77 kB / 0.5579 GB, free: 0.582 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02447/0.5922, allocations: 5.354 MB / 0.5631 GB, free: 12.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5922, allocations: 0 / 0.5631 GB, free: 12.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.5922, allocations: 4 kB / 0.5631 GB, free: 12.03 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.0005246/0.5928, allocations: 393.6 kB / 0.5635 GB, free: 11.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.5928, allocations: 16.03 kB / 0.5635 GB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.5929, allocations: 7.859 kB / 0.5635 GB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.593, allocations: 176.3 kB / 0.5637 GB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.5931, allocations: 0 / 0.5637 GB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.5931, allocations: 7.938 kB / 0.5637 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.5933, allocations: 67.66 kB / 0.5638 GB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.5933, allocations: 3.938 kB / 0.5638 GB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.5933, allocations: 4 kB / 0.5638 GB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.5933, allocations: 0 / 0.5638 GB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.5935, allocations: 57.59 kB / 0.5638 GB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002449/0.5937, allocations: 206.6 kB / 0.564 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.5939, allocations: 54.94 kB / 0.5641 GB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.421e-05/0.594, allocations: 41.23 kB / 0.5641 GB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.92e-05/0.5941, allocations: 19.11 kB / 0.5641 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.5941, allocations: 33.09 kB / 0.5642 GB, free: 10.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/0.5941, allocations: 0 / 0.5642 GB, free: 10.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.03453/0.6286, allocations: 1.416 MB / 0.5655 GB, free: 9.539 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.6287, allocations: 55.41 kB / 0.5656 GB, free: 9.473 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.6289, allocations: 119.6 kB / 0.5657 GB, free: 9.355 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.6289, allocations: 29.27 kB / 0.5657 GB, free: 9.324 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.119e-05/0.629, allocations: 154.5 kB / 0.5659 GB, free: 9.172 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.403e-05/0.6291, allocations: 43.02 kB / 0.5659 GB, free: 9.133 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.6292, allocations: 7.75 kB / 0.5659 GB, free: 9.129 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.6293, allocations: 310.8 kB / 0.5662 GB, free: 8.816 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.6295, allocations: 76.92 kB / 0.5663 GB, free: 8.773 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.6298, allocations: 84.86 kB / 0.5664 GB, free: 8.723 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.6301, allocations: 72.44 kB / 0.5665 GB, free: 8.676 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6301, allocations: 3.938 kB / 0.5665 GB, free: 8.672 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007185/0.6309, allocations: 211.2 kB / 0.5667 GB, free: 8.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.6309, allocations: 4 kB / 0.5667 GB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.6309, allocations: 0 / 0.5667 GB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.631, allocations: 0 / 0.5667 GB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009726/0.6319, allocations: 67.94 kB / 0.5667 GB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.632, allocations: 0 / 0.5667 GB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007834/0.6328, allocations: 47.84 kB / 0.5668 GB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.259e-05/0.6328, allocations: 15.61 kB / 0.5668 GB, free: 8.391 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 () * 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.0001259/0.633, allocations: 111.1 kB / 0.5669 GB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.633, allocations: 11.91 kB / 0.5669 GB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009751/0.634, allocations: 253.5 kB / 0.5671 GB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.634, allocations: 4 kB / 0.5672 GB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.634, allocations: 0 / 0.5672 GB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.6341, allocations: 0 / 0.5672 GB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00366/0.6377, allocations: 0.7335 MB / 0.5679 GB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.6378, allocations: 0 / 0.5679 GB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009244/0.6387, allocations: 71.97 kB / 0.5679 GB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.6387, allocations: 0 / 0.5679 GB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.134e-05/0.6388, allocations: 11.94 kB / 0.5679 GB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.6388, allocations: 240 / 0.5679 GB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.6388, allocations: 4 kB / 0.568 GB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008019/0.6396, allocations: 364.5 kB / 0.5683 GB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.6398, allocations: 99.61 kB / 0.5684 GB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.949e-05/0.6398, allocations: 11.58 kB / 0.5684 GB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008142/0.6407, allocations: 47.91 kB / 0.5685 GB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.6407, allocations: 11.97 kB / 0.5685 GB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/0.6408, allocations: 7.25 kB / 0.5685 GB, free: 6.781 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.648e-05/0.6409, allocations: 98.58 kB / 0.5686 GB, free: 6.688 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6409, allocations: 0 / 0.5686 GB, free: 6.688 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008005/0.6417, allocations: 174.3 kB / 0.5687 GB, free: 6.523 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 () * 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.0009156/0.6426, allocations: 272.6 kB / 0.569 GB, free: 6.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006335/0.6433, allocations: 182.1 kB / 0.5692 GB, free: 6.137 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6433, allocations: 4 kB / 0.5692 GB, free: 6.133 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000286/0.6436, allocations: 94.22 kB / 0.5693 GB, free: 6.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.6439, allocations: 23.5 kB / 0.5693 GB, free: 6.051 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003654/0.6476, allocations: 399.7 kB / 0.5697 GB, free: 5.668 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.6479, allocations: 0.7004 MB / 0.5703 GB, free: 4.941 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002703/0.6482, allocations: 27.41 kB / 0.5704 GB, free: 4.914 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.6482, allocations: 0 / 0.5704 GB, free: 4.914 MB / 378.7 MB Notification: Performance of Templates: time 0.01147/0.6597, allocations: 4.67 MB / 0.5749 GB, free: 248 kB / 378.7 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