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_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002159/0.002158, allocations: 179.2 kB / 8.363 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 2.11/2.11, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001103/0.001104, allocations: 93.64 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.2926/0.2926, allocations: 43.48 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.224e-05/2.235e-05, allocations: 4.219 kB / 418.3 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4655/0.4656, allocations: 58.85 MB / 477.1 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1674/0.633, allocations: 88.13 MB / 0.552 GB, free: 11.19 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003764/0.6335, allocations: 95.88 kB / 0.5521 GB, free: 11.09 MB / 395.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5488:11-5489:129: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:5496:11-5497:123:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.02209/0.6556, allocations: 4.21 MB / 0.5562 GB, free: 6.883 MB / 395.1 MB Notification: Performance of FrontEnd: time 4.409e-06/0.6556, allocations: 3.984 kB / 0.5562 GB, free: 6.879 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.6557, allocations: 4 kB / 0.5562 GB, free: 6.875 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006876/0.6564, allocations: 434 kB / 0.5566 GB, free: 6.406 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.6564, allocations: 8.031 kB / 0.5566 GB, free: 6.398 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.6576, allocations: 103.7 kB / 0.5567 GB, free: 6.297 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.6579, allocations: 206.9 kB / 0.5569 GB, free: 6.055 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.658, allocations: 8 kB / 0.5569 GB, free: 6.047 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.19e-05/0.658, allocations: 8 kB / 0.5569 GB, free: 6.039 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005311/0.6586, allocations: 187.9 kB / 0.5571 GB, free: 5.855 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005068/0.6591, allocations: 209.2 kB / 0.5573 GB, free: 5.645 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.6591, allocations: 0 / 0.5573 GB, free: 5.645 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.6592, allocations: 0 / 0.5573 GB, free: 5.645 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.533e-05/0.6592, allocations: 12 kB / 0.5573 GB, free: 5.633 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.6609, allocations: 0.6863 MB / 0.558 GB, free: 4.867 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.6612, allocations: 70.53 kB / 0.5581 GB, free: 4.789 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.946e-05/0.6613, allocations: 44.73 kB / 0.5581 GB, free: 4.742 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.6614, allocations: 3.984 kB / 0.5581 GB, free: 4.738 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.6614, allocations: 34.56 kB / 0.5581 GB, free: 4.695 MB / 395.1 MB Notification: Performance of pre-optimization done (n=7): time 2.925e-06/0.6614, allocations: 0 / 0.5581 GB, free: 4.695 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003791/0.6618, allocations: 105.6 kB / 0.5582 GB, free: 4.586 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.6619, allocations: 51.41 kB / 0.5583 GB, free: 4.523 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.662, allocations: 121.1 kB / 0.5584 GB, free: 4.402 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.6621, allocations: 25.7 kB / 0.5584 GB, free: 4.371 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.6622, allocations: 214.1 kB / 0.5586 GB, free: 4.16 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.6623, allocations: 23.66 kB / 0.5587 GB, free: 4.137 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/0.6623, allocations: 0 / 0.5587 GB, free: 4.137 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.6624, allocations: 326.8 kB / 0.559 GB, free: 3.809 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.6626, allocations: 35.97 kB / 0.559 GB, free: 3.773 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.6628, allocations: 82.84 kB / 0.5591 GB, free: 3.668 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.6629, allocations: 47.89 kB / 0.5591 GB, free: 3.621 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.6629, allocations: 0 / 0.5591 GB, free: 3.621 MB / 395.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003918/0.6633, allocations: 137.5 kB / 0.5593 GB, free: 3.48 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.6634, allocations: 7.953 kB / 0.5593 GB, free: 3.473 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.6634, allocations: 4.219 kB / 0.5593 GB, free: 3.469 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.6634, allocations: 4 kB / 0.5593 GB, free: 3.465 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.665, allocations: 107.9 kB / 0.5594 GB, free: 3.359 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.6671, allocations: 1.817 MB / 0.5612 GB, free: 1.473 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.6674, allocations: 28.02 kB / 0.5612 GB, free: 1.445 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.6675, allocations: 8 kB / 0.5612 GB, free: 1.438 MB / 395.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 11 * 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.0001415/0.6676, allocations: 108.8 kB / 0.5613 GB, free: 1.324 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.6677, allocations: 19.78 kB / 0.5613 GB, free: 1.305 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005099/0.6682, allocations: 142.1 kB / 0.5614 GB, free: 1.164 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.6682, allocations: 4 kB / 0.5614 GB, free: 1.16 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6682, allocations: 0 / 0.5614 GB, free: 1.16 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.6683, allocations: 0 / 0.5614 GB, free: 1.16 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003648/0.6686, allocations: 198.1 kB / 0.5616 GB, free: 0.9297 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.6686, allocations: 0 / 0.5616 GB, free: 0.9297 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/0.67, allocations: 97.02 kB / 0.5617 GB, free: 0.8359 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.6701, allocations: 0 / 0.5617 GB, free: 0.8359 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.6701, allocations: 0 / 0.5617 GB, free: 0.8359 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/0.6718, allocations: 1.781 MB / 0.5635 GB, free: 14.98 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/0.6719, allocations: 4.031 kB / 0.5635 GB, free: 14.98 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.6723, allocations: 203.3 kB / 0.5637 GB, free: 14.77 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.488e-05/0.6724, allocations: 88.95 kB / 0.5638 GB, free: 14.66 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.6724, allocations: 192 / 0.5638 GB, free: 14.66 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.6727, allocations: 15.98 kB / 0.5638 GB, free: 14.64 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.6728, allocations: 15.88 kB / 0.5638 GB, free: 14.63 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.6728, allocations: 4 kB / 0.5638 GB, free: 14.62 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.6729, allocations: 99.27 kB / 0.5639 GB, free: 14.53 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.673, allocations: 0 / 0.5639 GB, free: 14.53 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0004876/0.6735, allocations: 47.78 kB / 0.5639 GB, free: 14.48 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 (11): * Single equations (assignments): 8 * 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.0003034/0.6738, allocations: 139 kB / 0.5641 GB, free: 14.34 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.6755, allocations: 155.7 kB / 0.5642 GB, free: 14.18 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.6756, allocations: 0 / 0.5642 GB, free: 14.18 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.6766, allocations: 96.27 kB / 0.5643 GB, free: 14.09 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.6771, allocations: 14.84 kB / 0.5643 GB, free: 14.08 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007943/0.6779, allocations: 230.3 kB / 0.5645 GB, free: 13.82 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.6784, allocations: 0.7508 MB / 0.5653 GB, free: 13.04 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.265e-05/0.6785, allocations: 15.44 kB / 0.5653 GB, free: 13.03 MB / 411.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6785, allocations: 0 / 0.5653 GB, free: 13.03 MB / 411.1 MB Notification: Performance of Templates: time 0.01124/0.6898, allocations: 4.171 MB / 0.5694 GB, free: 8.867 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches