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.001468/0.001467, 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 1.981/1.981, 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.001106/0.001106, allocations: 92.91 kB / 262.1 MB, free: 13.87 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.3688/0.3688, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.197e-05/2.199e-05, allocations: 0 / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.4224, allocations: 58.86 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1884/0.6109, allocations: 90.24 MB / 0.5541 GB, free: 9.039 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004972/0.6114, allocations: 95.44 kB / 0.5541 GB, free: 8.949 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03689/0.6484, allocations: 5.878 MB / 0.5599 GB, free: 2.973 MB / 395.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.6484, allocations: 0 / 0.5599 GB, free: 2.973 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.25e-05/0.6485, allocations: 4 kB / 0.5599 GB, free: 2.969 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001103/0.6496, allocations: 490.3 kB / 0.5604 GB, free: 2.441 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.348e-05/0.6497, allocations: 8.031 kB / 0.5604 GB, free: 2.434 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002834/0.6525, allocations: 199.3 kB / 0.5606 GB, free: 2.238 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007664/0.6533, allocations: 270.7 kB / 0.5608 GB, free: 1.934 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-05/0.6535, allocations: 16 kB / 0.5608 GB, free: 1.918 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.6536, allocations: 16 kB / 0.5608 GB, free: 1.902 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001675/0.6553, allocations: 0.4929 MB / 0.5613 GB, free: 1.41 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.6567, allocations: 411.5 kB / 0.5617 GB, free: 1 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.6568, allocations: 3.984 kB / 0.5617 GB, free: 0.9961 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.151e-05/0.6569, allocations: 3.984 kB / 0.5617 GB, free: 0.9922 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.02e-05/0.657, allocations: 20.56 kB / 0.5617 GB, free: 0.9727 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004293/0.6613, allocations: 1.076 MB / 0.5628 GB, free: 15.82 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005125/0.6619, allocations: 106.5 kB / 0.5629 GB, free: 15.71 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.6622, allocations: 52.81 kB / 0.5629 GB, free: 15.65 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.6622, allocations: 3.938 kB / 0.5629 GB, free: 15.65 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/0.6623, allocations: 38.5 kB / 0.563 GB, free: 15.6 MB / 411.1 MB Notification: Performance of pre-optimization done (n=7): time 3.997e-06/0.6623, allocations: 0 / 0.563 GB, free: 15.6 MB / 411.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008/0.6631, allocations: 141.7 kB / 0.5631 GB, free: 15.46 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.6632, allocations: 51.41 kB / 0.5632 GB, free: 15.39 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.6635, allocations: 128.2 kB / 0.5633 GB, free: 15.27 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 5.25e-05/0.6635, allocations: 25.7 kB / 0.5633 GB, free: 15.23 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.6637, allocations: 246 kB / 0.5636 GB, free: 14.99 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.636e-05/0.6638, allocations: 27.64 kB / 0.5636 GB, free: 14.96 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.6639, allocations: 0 / 0.5636 GB, free: 14.96 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.6641, allocations: 318.8 kB / 0.5639 GB, free: 14.64 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.6644, allocations: 55.97 kB / 0.5639 GB, free: 14.59 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002921/0.6647, allocations: 83.39 kB / 0.564 GB, free: 14.5 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.665, allocations: 63.89 kB / 0.5641 GB, free: 14.43 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.665, allocations: 0 / 0.5641 GB, free: 14.43 MB / 411.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007853/0.6658, allocations: 157.5 kB / 0.5642 GB, free: 14.27 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.6659, allocations: 8.094 kB / 0.5642 GB, free: 14.27 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.6659, allocations: 8 kB / 0.5642 GB, free: 14.26 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.6659, allocations: 0 / 0.5642 GB, free: 14.26 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01156/0.6775, allocations: 443.3 kB / 0.5647 GB, free: 13.82 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006405/0.684, allocations: 1.926 MB / 0.5665 GB, free: 11.83 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.685, allocations: 27.88 kB / 0.5666 GB, free: 11.8 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.033e-05/0.6852, allocations: 16.03 kB / 0.5666 GB, free: 11.79 MB / 411.1 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 () * 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.0002057/0.6854, allocations: 104.9 kB / 0.5667 GB, free: 11.68 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.6855, allocations: 7.906 kB / 0.5667 GB, free: 11.67 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.913e-05/0.6856, allocations: 16.61 kB / 0.5667 GB, free: 11.65 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.6856, allocations: 0 / 0.5667 GB, free: 11.65 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.6857, allocations: 0 / 0.5667 GB, free: 11.65 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.078e-06/0.6857, allocations: 0 / 0.5667 GB, free: 11.65 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007953/0.6865, allocations: 257.9 kB / 0.567 GB, free: 11.36 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.6865, allocations: 0 / 0.567 GB, free: 11.36 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01321/0.6998, allocations: 442.9 kB / 0.5674 GB, free: 10.93 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/0.6998, allocations: 3.938 kB / 0.5674 GB, free: 10.93 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.986e-05/0.6999, allocations: 0 / 0.5674 GB, free: 10.93 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006158/0.7061, allocations: 1.922 MB / 0.5693 GB, free: 8.938 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.158e-06/0.7062, allocations: 0 / 0.5693 GB, free: 8.938 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008885/0.7071, allocations: 243.3 kB / 0.5695 GB, free: 8.684 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.645e-05/0.7072, allocations: 85.02 kB / 0.5696 GB, free: 8.582 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.888e-05/0.7073, allocations: 0 / 0.5696 GB, free: 8.582 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008356/0.7081, allocations: 24.06 kB / 0.5696 GB, free: 8.559 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.7083, allocations: 7.984 kB / 0.5696 GB, free: 8.551 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.881e-05/0.7083, allocations: 7.984 kB / 0.5696 GB, free: 8.543 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001432/0.7085, allocations: 103.3 kB / 0.5697 GB, free: 8.441 MB / 411.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.7085, allocations: 0 / 0.5697 GB, free: 8.441 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0008138/0.7093, allocations: 79.69 kB / 0.5698 GB, free: 8.363 MB / 411.1 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 () * 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.0004078/0.7097, allocations: 135.2 kB / 0.5699 GB, free: 8.223 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.01205/0.7218, allocations: 455.3 kB / 0.5703 GB, free: 7.777 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.7219, allocations: 0 / 0.5703 GB, free: 7.777 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008909/0.7308, allocations: 387.6 kB / 0.5707 GB, free: 7.398 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.7312, allocations: 26.72 kB / 0.5707 GB, free: 7.375 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008546/0.7321, allocations: 304 kB / 0.571 GB, free: 7.047 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.7325, allocations: 0.7782 MB / 0.5718 GB, free: 6.242 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.7327, allocations: 15.42 kB / 0.5718 GB, free: 6.227 MB / 411.1 MB Notification: Performance of SimCode: time 8.42e-07/0.7327, allocations: 0 / 0.5718 GB, free: 6.227 MB / 411.1 MB Notification: Performance of Templates: time 0.01313/0.7458, allocations: 5.989 MB / 0.5777 GB, free: 244 kB / 411.1 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