Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.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.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009266/0.0009265, allocations: 180.4 kB / 16.76 MB, free: 4.934 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.448/1.448, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.000839/0.000839, allocations: 85.55 kB / 271.3 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.3623/0.3623, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003503, allocations: 12 kB / 432.7 MB, free: 4.949 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1236, allocations: 58.84 MB / 491.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3772/0.5009, allocations: 89.48 MB / 0.5674 GB, free: 12.36 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003384/0.5013, allocations: 95.94 kB / 0.5675 GB, free: 12.27 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5587:11-5590:61:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5598:11-5601:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.02292/0.5242, allocations: 7.829 MB / 0.5751 GB, free: 4.461 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.5242, allocations: 3.938 kB / 0.5751 GB, free: 4.457 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.5243, allocations: 4 kB / 0.5751 GB, free: 4.453 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000657/0.5249, allocations: 446.6 kB / 0.5755 GB, free: 3.969 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.525, allocations: 8.031 kB / 0.5755 GB, free: 3.961 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006815/0.5257, allocations: 96.61 kB / 0.5756 GB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.5261, allocations: 232 kB / 0.5759 GB, free: 3.602 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.5261, allocations: 13.86 kB / 0.5759 GB, free: 3.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.5262, allocations: 12.38 kB / 0.5759 GB, free: 3.578 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007134/0.5269, allocations: 318.6 kB / 0.5762 GB, free: 3.262 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.5269, allocations: 4.188 kB / 0.5762 GB, free: 3.258 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.994e-05/0.527, allocations: 7.938 kB / 0.5762 GB, free: 3.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.721e-05/0.527, allocations: 19.98 kB / 0.5762 GB, free: 3.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007855/0.5278, allocations: 324.5 kB / 0.5765 GB, free: 2.914 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.5294, allocations: 0.8404 MB / 0.5773 GB, free: 1.988 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006782/0.53, allocations: 230.2 kB / 0.5776 GB, free: 1.754 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002713/0.5303, allocations: 84.81 kB / 0.5776 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.5304, allocations: 0 / 0.5776 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.5304, allocations: 42.55 kB / 0.5777 GB, free: 1.617 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.5304, allocations: 0 / 0.5777 GB, free: 1.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009765/0.5314, allocations: 305.2 kB / 0.578 GB, free: 1.312 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.5315, allocations: 59.28 kB / 0.578 GB, free: 1.242 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.5317, allocations: 185.7 kB / 0.5782 GB, free: 1.051 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.5317, allocations: 29.7 kB / 0.5782 GB, free: 1.016 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.341e-05/0.5318, allocations: 147.3 kB / 0.5784 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.5318, allocations: 35.48 kB / 0.5784 GB, free: 0.832 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/0.5319, allocations: 0 / 0.5784 GB, free: 0.832 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.532, allocations: 326.8 kB / 0.5787 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.5323, allocations: 87.89 kB / 0.5788 GB, free: 428 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.5326, allocations: 142.8 kB / 0.5789 GB, free: 260 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000653/0.5333, allocations: 234.6 kB / 0.5792 GB, free: 0 / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.774e-05/0.5333, allocations: 4.047 kB / 0.5792 GB, free: 15.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007347/0.5341, allocations: 273.6 kB / 0.5794 GB, free: 15.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.5341, allocations: 8 kB / 0.5794 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.5341, allocations: 4.094 kB / 0.5794 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.5342, allocations: 3.938 kB / 0.5794 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004446/0.5346, allocations: 87.8 kB / 0.5795 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.5357, allocations: 1.785 MB / 0.5813 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.5359, allocations: 27.86 kB / 0.5813 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.536, allocations: 15.98 kB / 0.5813 GB, free: 13.72 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001683/0.5361, allocations: 141.9 kB / 0.5814 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.5362, allocations: 23.75 kB / 0.5815 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008388/0.537, allocations: 274.6 kB / 0.5817 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.5371, allocations: 0 / 0.5817 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5371, allocations: 0 / 0.5817 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.5371, allocations: 0 / 0.5817 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/0.5374, allocations: 257.5 kB / 0.582 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5375, allocations: 0 / 0.582 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.5378, allocations: 67.94 kB / 0.582 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.5378, allocations: 4 kB / 0.582 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/0.5379, allocations: 19.91 kB / 0.5821 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009965/0.5389, allocations: 1.785 MB / 0.5838 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5389, allocations: 0 / 0.5838 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007013/0.5396, allocations: 323.3 kB / 0.5841 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.391e-05/0.5397, allocations: 88.95 kB / 0.5842 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.5397, allocations: 7.984 kB / 0.5842 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.5399, allocations: 15.94 kB / 0.5842 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.54, allocations: 12.16 kB / 0.5842 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.54, allocations: 15.98 kB / 0.5843 GB, free: 10.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001126/0.5402, allocations: 140.8 kB / 0.5844 GB, free: 10.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5402, allocations: 0 / 0.5844 GB, free: 10.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000406/0.5406, allocations: 71.84 kB / 0.5845 GB, free: 10.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002933/0.5409, allocations: 163.2 kB / 0.5846 GB, free: 10.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008083/0.5417, allocations: 244 kB / 0.5848 GB, free: 9.934 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5417, allocations: 3.938 kB / 0.5848 GB, free: 9.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000425/0.5421, allocations: 139.8 kB / 0.585 GB, free: 9.793 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.5424, allocations: 20.56 kB / 0.585 GB, free: 9.773 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007898/0.5432, allocations: 420.9 kB / 0.5854 GB, free: 9.348 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.5436, allocations: 0.7397 MB / 0.5861 GB, free: 8.582 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000229/0.5438, allocations: 65.34 kB / 0.5862 GB, free: 8.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.672e-05/0.5439, allocations: 31.41 kB / 0.5862 GB, free: 8.488 MB / 410.7 MB Notification: Performance of SimCode: time 1.593e-06/0.5439, allocations: 0 / 0.5862 GB, free: 8.488 MB / 410.7 MB Notification: Performance of Templates: time 0.006373/0.5503, allocations: 2.82 MB / 0.589 GB, free: 5.703 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches