Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009/0.0009001, allocations: 185.9 kB / 17.42 MB, free: 4.375 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.303/1.303, allocations: 205.4 MB / 223.6 MB, free: 8.938 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.0007412/0.0007413, allocations: 93.48 kB / 271.9 MB, free: 8.242 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.2956/0.2956, allocations: 43.56 MB / 363.7 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003687, allocations: 19.98 kB / 432.6 MB, free: 5.625 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09215/0.09253, allocations: 58.85 MB / 491.5 MB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2666/0.3592, allocations: 91.03 MB / 0.5688 GB, free: 11.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.3595, allocations: 95.92 kB / 0.5689 GB, free: 11.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01589/0.3754, allocations: 5.98 MB / 0.5748 GB, free: 5.062 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.3754, allocations: 0 / 0.5748 GB, free: 5.062 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.3754, allocations: 7.562 kB / 0.5748 GB, free: 5.059 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0006201/0.3761, allocations: 498.2 kB / 0.5753 GB, free: 4.527 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.3761, allocations: 8.031 kB / 0.5753 GB, free: 4.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.3774, allocations: 204.2 kB / 0.5755 GB, free: 4.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.3777, allocations: 263.9 kB / 0.5757 GB, free: 4.023 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.844e-05/0.3778, allocations: 32.91 kB / 0.5757 GB, free: 3.992 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.058e-05/0.3778, allocations: 24.38 kB / 0.5758 GB, free: 3.969 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000891/0.3787, allocations: 493 kB / 0.5762 GB, free: 3.488 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3788, allocations: 7.938 kB / 0.5762 GB, free: 3.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.785e-05/0.3788, allocations: 8 kB / 0.5763 GB, free: 3.473 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.752e-05/0.3788, allocations: 20.55 kB / 0.5763 GB, free: 3.453 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.38, allocations: 0.5954 MB / 0.5769 GB, free: 2.855 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/0.382, allocations: 1.172 MB / 0.578 GB, free: 1.617 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006059/0.3826, allocations: 178.3 kB / 0.5782 GB, free: 1.434 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.3829, allocations: 88.77 kB / 0.5783 GB, free: 1.344 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.383, allocations: 4 kB / 0.5783 GB, free: 1.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.383, allocations: 34.56 kB / 0.5783 GB, free: 1.297 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.314e-06/0.383, allocations: 0 / 0.5783 GB, free: 1.297 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001132/0.3841, allocations: 313.2 kB / 0.5786 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.3842, allocations: 55.41 kB / 0.5786 GB, free: 0.918 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.3845, allocations: 282.5 kB / 0.5789 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.3845, allocations: 29.7 kB / 0.5789 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.037e-05/0.3846, allocations: 159.5 kB / 0.5791 GB, free: 448 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.3846, allocations: 27.64 kB / 0.5791 GB, free: 420 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.3847, allocations: 4 kB / 0.5791 GB, free: 416 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3848, allocations: 334.8 kB / 0.5794 GB, free: 72 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.3851, allocations: 91.98 kB / 0.5795 GB, free: 15.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.3855, allocations: 115.3 kB / 0.5796 GB, free: 15.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00065/0.3861, allocations: 220 kB / 0.5799 GB, free: 15.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3862, allocations: 0 / 0.5799 GB, free: 15.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007901/0.387, allocations: 281 kB / 0.5801 GB, free: 15.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.387, allocations: 11.94 kB / 0.5801 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.387, allocations: 0 / 0.5801 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.387, allocations: 0 / 0.5801 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005039/0.3921, allocations: 455.2 kB / 0.5806 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/0.3945, allocations: 1.934 MB / 0.5825 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003992/0.3949, allocations: 47.66 kB / 0.5825 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.395, allocations: 7.984 kB / 0.5825 GB, free: 12.83 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 10 * 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.0001867/0.3952, allocations: 153.8 kB / 0.5827 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.3952, allocations: 23.72 kB / 0.5827 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.261e-05/0.3953, allocations: 25.7 kB / 0.5827 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3953, allocations: 3.938 kB / 0.5827 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3953, allocations: 0 / 0.5827 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3954, allocations: 4 kB / 0.5827 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.3957, allocations: 289.4 kB / 0.583 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3957, allocations: 0 / 0.583 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004907/0.4006, allocations: 436.1 kB / 0.5834 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.4007, allocations: 4 kB / 0.5834 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.4007, allocations: 11.98 kB / 0.5834 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0023/0.403, allocations: 1.93 MB / 0.5853 GB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.403, allocations: 4.031 kB / 0.5853 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007977/0.4038, allocations: 335.1 kB / 0.5856 GB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.198e-05/0.4039, allocations: 92.83 kB / 0.5857 GB, free: 9.387 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.404, allocations: 0 / 0.5857 GB, free: 9.387 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002993/0.4043, allocations: 19.97 kB / 0.5857 GB, free: 9.367 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.4044, allocations: 11.98 kB / 0.5857 GB, free: 9.355 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.4044, allocations: 3.984 kB / 0.5857 GB, free: 9.352 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002159/0.4046, allocations: 205.9 kB / 0.5859 GB, free: 9.152 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4046, allocations: 4 kB / 0.5859 GB, free: 9.148 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003844/0.405, allocations: 83.77 kB / 0.586 GB, free: 9.066 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 (7): * Single equations (assignments): 4 * 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.0002852/0.4053, allocations: 141.7 kB / 0.5862 GB, free: 8.918 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005129/0.4105, allocations: 0.589 MB / 0.5867 GB, free: 8.328 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4105, allocations: 4.219 kB / 0.5867 GB, free: 8.324 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004659/0.4152, allocations: 491.4 kB / 0.5872 GB, free: 7.844 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.4156, allocations: 42.8 kB / 0.5873 GB, free: 7.805 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.4167, allocations: 0.5549 MB / 0.5878 GB, free: 7.227 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.417, allocations: 0.7716 MB / 0.5885 GB, free: 6.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.967e-05/0.4171, allocations: 27.42 kB / 0.5886 GB, free: 6.402 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.4171, allocations: 0 / 0.5886 GB, free: 6.402 MB / 410.7 MB Notification: Performance of Templates: time 0.008683/0.4258, allocations: 6.787 MB / 0.5952 GB, free: 15.63 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches