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_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_cpp_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_cpp_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.002368/0.002368, allocations: 179.4 kB / 8.364 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.137/2.137, 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.001539/0.001539, allocations: 82.34 kB / 262.1 MB, free: 13.88 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.3311/0.3311, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.508e-05/1.51e-05, allocations: 0 / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3942, allocations: 58.85 MB / 477.1 MB, free: 5.289 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1623/0.5566, allocations: 88.69 MB / 0.5525 GB, free: 10.62 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003614/0.557, allocations: 91.44 kB / 0.5526 GB, free: 10.53 MB / 395.1 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.03791/0.5949, allocations: 7.764 MB / 0.5602 GB, free: 2.742 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.595, allocations: 0 / 0.5602 GB, free: 2.742 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.595, allocations: 4 kB / 0.5602 GB, free: 2.738 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007264/0.5957, allocations: 434 kB / 0.5606 GB, free: 2.27 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.5958, allocations: 16.03 kB / 0.5606 GB, free: 2.254 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.597, allocations: 87.67 kB / 0.5607 GB, free: 2.168 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.5974, allocations: 226.8 kB / 0.5609 GB, free: 1.906 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.5975, allocations: 8 kB / 0.5609 GB, free: 1.898 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.996e-05/0.5975, allocations: 11.94 kB / 0.561 GB, free: 1.887 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007556/0.5983, allocations: 279.8 kB / 0.5612 GB, free: 1.613 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006386/0.5989, allocations: 265.4 kB / 0.5615 GB, free: 1.348 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.599, allocations: 0 / 0.5615 GB, free: 1.348 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/0.599, allocations: 7.938 kB / 0.5615 GB, free: 1.34 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.407e-05/0.5991, allocations: 19.98 kB / 0.5615 GB, free: 1.32 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002447/0.6015, allocations: 0.7798 MB / 0.5623 GB, free: 472 kB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005413/0.6021, allocations: 194.3 kB / 0.5624 GB, free: 268 kB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.6024, allocations: 68.84 kB / 0.5625 GB, free: 196 kB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.326e-05/0.6025, allocations: 4.266 kB / 0.5625 GB, free: 192 kB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.6025, allocations: 34.5 kB / 0.5625 GB, free: 148 kB / 395.1 MB Notification: Performance of pre-optimization done (n=10): time 3.737e-06/0.6025, allocations: 4 kB / 0.5626 GB, free: 144 kB / 395.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006603/0.6032, allocations: 173.5 kB / 0.5627 GB, free: 15.96 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.6033, allocations: 55.41 kB / 0.5628 GB, free: 15.89 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.6034, allocations: 121.2 kB / 0.5629 GB, free: 15.77 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.6035, allocations: 25.7 kB / 0.5629 GB, free: 15.74 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.6036, allocations: 214.1 kB / 0.5631 GB, free: 15.53 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.209e-05/0.6037, allocations: 35.55 kB / 0.5631 GB, free: 15.49 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.6037, allocations: 0 / 0.5631 GB, free: 15.49 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.6039, allocations: 314.8 kB / 0.5634 GB, free: 15.18 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.6041, allocations: 63.94 kB / 0.5635 GB, free: 15.11 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.6044, allocations: 122.8 kB / 0.5636 GB, free: 14.97 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.6046, allocations: 71.86 kB / 0.5637 GB, free: 14.9 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.6046, allocations: 4 kB / 0.5637 GB, free: 14.89 MB / 411.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006593/0.6053, allocations: 225.3 kB / 0.5639 GB, free: 14.67 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.6053, allocations: 4 kB / 0.5639 GB, free: 14.66 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.6053, allocations: 4 kB / 0.5639 GB, free: 14.66 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.6054, allocations: 0 / 0.5639 GB, free: 14.66 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008769/0.6063, allocations: 87.78 kB / 0.564 GB, free: 14.57 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.6075, allocations: 1.785 MB / 0.5657 GB, free: 12.72 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/0.608, allocations: 28.14 kB / 0.5658 GB, free: 12.69 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.518e-05/0.608, allocations: 15.97 kB / 0.5658 GB, free: 12.68 MB / 411.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 (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.0001332/0.6082, allocations: 108.9 kB / 0.5659 GB, free: 12.56 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.453e-05/0.6083, allocations: 11.86 kB / 0.5659 GB, free: 12.55 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007172/0.609, allocations: 218.1 kB / 0.5661 GB, free: 12.33 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.609, allocations: 0 / 0.5661 GB, free: 12.33 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.609, allocations: 0 / 0.5661 GB, free: 12.33 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.609, allocations: 3.938 kB / 0.5661 GB, free: 12.33 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004096/0.6095, allocations: 218 kB / 0.5663 GB, free: 12.08 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.6095, allocations: 4.094 kB / 0.5663 GB, free: 12.07 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000728/0.6102, allocations: 67.86 kB / 0.5664 GB, free: 12.01 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.6102, allocations: 4 kB / 0.5664 GB, free: 12 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/0.6103, allocations: 11.97 kB / 0.5664 GB, free: 11.99 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/0.6115, allocations: 1.785 MB / 0.5682 GB, free: 10.14 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.6116, allocations: 0 / 0.5682 GB, free: 10.14 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005876/0.6122, allocations: 275.3 kB / 0.5684 GB, free: 9.852 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.254e-05/0.6123, allocations: 84.95 kB / 0.5685 GB, free: 9.75 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/0.6123, allocations: 4 kB / 0.5685 GB, free: 9.746 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/0.6127, allocations: 15.94 kB / 0.5685 GB, free: 9.73 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.324e-05/0.6128, allocations: 16.06 kB / 0.5685 GB, free: 9.715 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.856e-05/0.6129, allocations: 15.98 kB / 0.5685 GB, free: 9.699 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.613, allocations: 99.27 kB / 0.5686 GB, free: 9.602 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.613, allocations: 0 / 0.5686 GB, free: 9.602 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005762/0.6136, allocations: 71.77 kB / 0.5687 GB, free: 9.531 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 (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.0003561/0.6139, allocations: 153.8 kB / 0.5689 GB, free: 9.379 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0008217/0.6148, allocations: 187.7 kB / 0.569 GB, free: 9.195 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.6148, allocations: 0 / 0.569 GB, free: 9.195 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004809/0.6153, allocations: 103.8 kB / 0.5691 GB, free: 9.094 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.6156, allocations: 11.25 kB / 0.5691 GB, free: 9.086 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006908/0.6163, allocations: 251.4 kB / 0.5694 GB, free: 8.805 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.6167, allocations: 0.7469 MB / 0.5701 GB, free: 8.031 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.6169, allocations: 35.39 kB / 0.5701 GB, free: 7.996 MB / 411.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6169, allocations: 0 / 0.5701 GB, free: 7.996 MB / 411.1 MB Notification: Performance of Templates: time 0.01157/0.6285, allocations: 4.862 MB / 0.5749 GB, free: 3.141 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches