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.002438/0.002438, allocations: 180.6 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.107/2.107, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001085/0.001085, allocations: 90.69 kB / 267.5 MB, free: 14.05 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.3367/0.3367, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.501e-05/3.51e-05, allocations: 4 kB / 425.3 MB, free: 23.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1205, allocations: 58.84 MB / 484.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4945/0.6151, allocations: 90.9 MB / 0.5616 GB, free: 12.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000362/0.6155, allocations: 99.52 kB / 0.5617 GB, free: 12.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0278/0.6433, allocations: 5.97 MB / 0.5675 GB, free: 7.414 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.6434, allocations: 3.938 kB / 0.5675 GB, free: 7.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.6434, allocations: 0 / 0.5675 GB, free: 7.41 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0008172/0.6442, allocations: 485 kB / 0.568 GB, free: 6.902 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.6443, allocations: 12.03 kB / 0.568 GB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002348/0.6467, allocations: 197.8 kB / 0.5682 GB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005614/0.6473, allocations: 270.4 kB / 0.5684 GB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.289e-05/0.6474, allocations: 27.8 kB / 0.5685 GB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.967e-05/0.6474, allocations: 23.19 kB / 0.5685 GB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.6486, allocations: 450 kB / 0.5689 GB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.6486, allocations: 4 kB / 0.5689 GB, free: 6.055 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-05/0.6487, allocations: 6.375 kB / 0.5689 GB, free: 6.055 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.912e-05/0.6488, allocations: 24.55 kB / 0.5689 GB, free: 6.031 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.6501, allocations: 0.5069 MB / 0.5694 GB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003496/0.6536, allocations: 1.169 MB / 0.5706 GB, free: 4.562 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000506/0.6542, allocations: 118.6 kB / 0.5707 GB, free: 4.449 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.6544, allocations: 58.2 kB / 0.5707 GB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.6545, allocations: 3.984 kB / 0.5707 GB, free: 4.395 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.6545, allocations: 30.56 kB / 0.5708 GB, free: 4.355 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.765e-06/0.6545, allocations: 0 / 0.5708 GB, free: 4.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007034/0.6552, allocations: 146.3 kB / 0.5709 GB, free: 4.219 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.6553, allocations: 55.34 kB / 0.571 GB, free: 4.152 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004002/0.6557, allocations: 252.7 kB / 0.5712 GB, free: 3.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.394e-05/0.6557, allocations: 29.7 kB / 0.5712 GB, free: 3.895 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.6559, allocations: 219.3 kB / 0.5714 GB, free: 3.707 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.14e-05/0.656, allocations: 30.97 kB / 0.5715 GB, free: 3.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.656, allocations: 0 / 0.5715 GB, free: 3.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.6562, allocations: 322.2 kB / 0.5718 GB, free: 3.359 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.6564, allocations: 49.97 kB / 0.5718 GB, free: 3.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.6567, allocations: 84.84 kB / 0.5719 GB, free: 3.238 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.6569, allocations: 60.95 kB / 0.572 GB, free: 3.188 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.657, allocations: 0 / 0.572 GB, free: 3.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006827/0.6577, allocations: 178.8 kB / 0.5721 GB, free: 3.031 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.6577, allocations: 4 kB / 0.5721 GB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6577, allocations: 0 / 0.5721 GB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.6577, allocations: 4 kB / 0.5721 GB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01013/0.6679, allocations: 450.2 kB / 0.5726 GB, free: 2.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004758/0.6727, allocations: 1.919 MB / 0.5745 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007896/0.6735, allocations: 46.75 kB / 0.5745 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.6736, allocations: 7.953 kB / 0.5745 GB, free: 0.582 MB / 378.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 () * 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.0001512/0.6738, allocations: 114 kB / 0.5746 GB, free: 480 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.667e-05/0.6738, allocations: 23.84 kB / 0.5746 GB, free: 456 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.71e-05/0.6739, allocations: 21.28 kB / 0.5747 GB, free: 440 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.674, allocations: 3.984 kB / 0.5747 GB, free: 436 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.674, allocations: 8 kB / 0.5747 GB, free: 428 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.674, allocations: 0 / 0.5747 GB, free: 428 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005619/0.6746, allocations: 302.9 kB / 0.575 GB, free: 104 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6746, allocations: 0 / 0.575 GB, free: 104 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009894/0.6845, allocations: 433.2 kB / 0.5754 GB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.6846, allocations: 0 / 0.5754 GB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.836e-05/0.6846, allocations: 7.984 kB / 0.5754 GB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004645/0.6893, allocations: 1.907 MB / 0.5772 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6894, allocations: 4.109 kB / 0.5772 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000707/0.6901, allocations: 257.5 kB / 0.5775 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.6902, allocations: 92.55 kB / 0.5776 GB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.631e-05/0.6903, allocations: 3.938 kB / 0.5776 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007106/0.691, allocations: 24.06 kB / 0.5776 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.627e-05/0.6911, allocations: 11.97 kB / 0.5776 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/0.6912, allocations: 4 kB / 0.5776 GB, free: 13.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003089/0.6915, allocations: 203.4 kB / 0.5778 GB, free: 13.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6915, allocations: 0 / 0.5778 GB, free: 13.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005187/0.692, allocations: 78.53 kB / 0.5779 GB, free: 13.09 MB / 394.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 () * 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.000312/0.6923, allocations: 135.5 kB / 0.578 GB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009366/0.7017, allocations: 467.9 kB / 0.5785 GB, free: 12.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.7018, allocations: 0 / 0.5785 GB, free: 12.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008976/0.7108, allocations: 390.8 kB / 0.5788 GB, free: 12.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004821/0.7113, allocations: 47.62 kB / 0.5789 GB, free: 12.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009363/0.7123, allocations: 328.2 kB / 0.5792 GB, free: 11.78 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005063/0.7128, allocations: 0.7787 MB / 0.58 GB, free: 10.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.713, allocations: 22.55 kB / 0.58 GB, free: 10.96 MB / 394.7 MB Notification: Performance of SimCode: time 1.272e-06/0.713, allocations: 0 / 0.58 GB, free: 10.96 MB / 394.7 MB Notification: Performance of Templates: time 0.01516/0.7282, allocations: 6.682 MB / 0.5865 GB, free: 4.297 MB / 394.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