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.002057/0.002057, allocations: 181.2 kB / 17.41 MB, free: 4.406 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.564/1.564, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0007202/0.0007203, allocations: 82.08 kB / 271.9 MB, free: 8.25 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.3301/0.3301, allocations: 43.56 MB / 363.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004096/0.0004099, allocations: 15.98 kB / 432.6 MB, free: 5.859 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.129, allocations: 58.84 MB / 491.4 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3466/0.4756, allocations: 87.18 MB / 0.5651 GB, free: 15.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.4759, allocations: 87.94 kB / 0.5651 GB, free: 15.15 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0144/0.4903, allocations: 5.352 MB / 0.5704 GB, free: 9.824 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.4903, allocations: 0 / 0.5704 GB, free: 9.824 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.4904, allocations: 0 / 0.5704 GB, free: 9.824 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.0004615/0.4908, allocations: 431.8 kB / 0.5708 GB, free: 9.355 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.4909, allocations: 8.031 kB / 0.5708 GB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.4909, allocations: 8.844 kB / 0.5708 GB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.491, allocations: 179.7 kB / 0.571 GB, free: 9.129 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.4911, allocations: 10.34 kB / 0.571 GB, free: 9.121 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.4911, allocations: 8.375 kB / 0.571 GB, free: 9.113 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.4912, allocations: 64.19 kB / 0.5711 GB, free: 9.047 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.4913, allocations: 192 / 0.5711 GB, free: 9.047 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.4913, allocations: 3.938 kB / 0.5711 GB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.4913, allocations: 3.984 kB / 0.5711 GB, free: 9.039 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.852e-05/0.4914, allocations: 59.91 kB / 0.5711 GB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.4916, allocations: 189.7 kB / 0.5713 GB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.361e-05/0.4917, allocations: 58.62 kB / 0.5714 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.886e-05/0.4917, allocations: 41.75 kB / 0.5714 GB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.545e-05/0.4918, allocations: 22.23 kB / 0.5714 GB, free: 8.617 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.4918, allocations: 38.55 kB / 0.5715 GB, free: 8.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.4918, allocations: 0 / 0.5715 GB, free: 8.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0184/0.5103, allocations: 1.628 MB / 0.573 GB, free: 6.918 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.5104, allocations: 55.34 kB / 0.5731 GB, free: 6.852 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.5105, allocations: 126.1 kB / 0.5732 GB, free: 6.715 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.5105, allocations: 25.7 kB / 0.5732 GB, free: 6.684 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/0.5106, allocations: 88.38 kB / 0.5733 GB, free: 6.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.737e-05/0.5106, allocations: 39.45 kB / 0.5734 GB, free: 6.551 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.016e-05/0.5107, allocations: 0 / 0.5734 GB, free: 6.551 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.5108, allocations: 318.8 kB / 0.5737 GB, free: 6.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005282/0.5113, allocations: 135.9 kB / 0.5738 GB, free: 6.098 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005144/0.5118, allocations: 135.9 kB / 0.5739 GB, free: 5.965 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.5129, allocations: 260.7 kB / 0.5742 GB, free: 5.707 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.5129, allocations: 0 / 0.5742 GB, free: 5.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001247/0.5142, allocations: 326.8 kB / 0.5745 GB, free: 5.383 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.5142, allocations: 4 kB / 0.5745 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.5142, allocations: 3.938 kB / 0.5745 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.5143, allocations: 0 / 0.5745 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005121/0.5148, allocations: 75.92 kB / 0.5746 GB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.5148, allocations: 1.016 kB / 0.5746 GB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003878/0.5152, allocations: 35.97 kB / 0.5746 GB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.5152, allocations: 7.984 kB / 0.5746 GB, free: 5.258 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 () * 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.0001128/0.5154, allocations: 113.8 kB / 0.5747 GB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.5154, allocations: 11.84 kB / 0.5747 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.5168, allocations: 391.8 kB / 0.5751 GB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5168, allocations: 0 / 0.5751 GB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5168, allocations: 0 / 0.5751 GB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.5168, allocations: 3.984 kB / 0.5751 GB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/0.5196, allocations: 0.8333 MB / 0.5759 GB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5197, allocations: 0 / 0.5759 GB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004526/0.5201, allocations: 63.94 kB / 0.576 GB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.5201, allocations: 0 / 0.576 GB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.5202, allocations: 16.02 kB / 0.576 GB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.5202, allocations: 7.938 kB / 0.576 GB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5202, allocations: 0 / 0.576 GB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.5214, allocations: 427.7 kB / 0.5764 GB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.357e-05/0.5215, allocations: 105 kB / 0.5765 GB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.5216, allocations: 8 kB / 0.5765 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004415/0.522, allocations: 43.64 kB / 0.5766 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.522, allocations: 23.86 kB / 0.5766 GB, free: 3.129 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.5221, allocations: 4 kB / 0.5766 GB, free: 3.125 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.284e-05/0.5221, allocations: 99.27 kB / 0.5767 GB, free: 3.027 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5221, allocations: 0 / 0.5767 GB, free: 3.027 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006334/0.5228, allocations: 183.7 kB / 0.5769 GB, free: 2.848 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 () * 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.000633/0.5234, allocations: 258.9 kB / 0.5771 GB, free: 2.586 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.5246, allocations: 291.8 kB / 0.5774 GB, free: 2.301 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5246, allocations: 0 / 0.5774 GB, free: 2.301 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005431/0.5251, allocations: 152.1 kB / 0.5775 GB, free: 2.152 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.5255, allocations: 20.55 kB / 0.5775 GB, free: 2.133 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.5279, allocations: 0.5726 MB / 0.5781 GB, free: 1.523 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.5282, allocations: 0.6926 MB / 0.5788 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.5283, allocations: 27.41 kB / 0.5788 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5283, allocations: 4 kB / 0.5788 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of Templates: time 0.006542/0.5349, allocations: 4.438 MB / 0.5831 GB, free: 12.34 MB / 410.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