Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001286, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 221.3 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008498/0.0008498, allocations: 92.03 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1779/0.1779, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.636e-05/2.638e-05, allocations: 224 / 451.9 MB, free: 9.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1296, allocations: 61.91 MB / 0.5017 GB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.37/0.4996, allocations: 90.46 MB / 0.5901 GB, free: 14.86 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.4999, allocations: 91.94 kB / 0.5902 GB, free: 14.77 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5503:11-5506: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 4.0.0+maint.om/Fluid/Dissipation.mo:5514:11-5517: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.02263/0.5225, allocations: 7.939 MB / 0.5979 GB, free: 6.816 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5226, allocations: 0 / 0.5979 GB, free: 6.816 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.5226, allocations: 8 kB / 0.5979 GB, free: 6.809 MB / 410.7 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.0005109/0.5231, allocations: 443.9 kB / 0.5983 GB, free: 6.332 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.5232, allocations: 16.02 kB / 0.5984 GB, free: 6.316 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006461/0.5238, allocations: 83.69 kB / 0.5984 GB, free: 6.234 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.5241, allocations: 222.8 kB / 0.5986 GB, free: 5.977 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.5241, allocations: 15.98 kB / 0.5987 GB, free: 5.961 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.5241, allocations: 19.95 kB / 0.5987 GB, free: 5.941 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/0.5246, allocations: 297.2 kB / 0.599 GB, free: 5.645 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.5246, allocations: 0 / 0.599 GB, free: 5.645 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.5247, allocations: 4 kB / 0.599 GB, free: 5.641 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/0.5247, allocations: 15.98 kB / 0.599 GB, free: 5.625 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004151/0.5251, allocations: 287.7 kB / 0.5993 GB, free: 5.344 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.5266, allocations: 0.838 MB / 0.6001 GB, free: 4.414 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003384/0.527, allocations: 194.3 kB / 0.6003 GB, free: 4.215 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.5271, allocations: 72.84 kB / 0.6003 GB, free: 4.141 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.5271, allocations: 0 / 0.6003 GB, free: 4.141 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.5272, allocations: 38.56 kB / 0.6004 GB, free: 4.094 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.5272, allocations: 0 / 0.6004 GB, free: 4.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003978/0.5276, allocations: 189.5 kB / 0.6005 GB, free: 3.902 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.5276, allocations: 51.41 kB / 0.6006 GB, free: 3.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.5278, allocations: 171.7 kB / 0.6008 GB, free: 3.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.5278, allocations: 25.7 kB / 0.6008 GB, free: 3.629 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.053e-05/0.5279, allocations: 143.5 kB / 0.6009 GB, free: 3.484 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.528, allocations: 31.55 kB / 0.601 GB, free: 3.453 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.459e-05/0.528, allocations: 8 kB / 0.601 GB, free: 3.445 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.5281, allocations: 322.8 kB / 0.6013 GB, free: 3.121 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.5282, allocations: 71.92 kB / 0.6013 GB, free: 3.051 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.5284, allocations: 119.8 kB / 0.6014 GB, free: 2.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.5285, allocations: 83.86 kB / 0.6015 GB, free: 2.828 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5285, allocations: 0 / 0.6015 GB, free: 2.828 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004095/0.5289, allocations: 241.4 kB / 0.6018 GB, free: 2.586 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.529, allocations: 8 kB / 0.6018 GB, free: 2.578 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.529, allocations: 4 kB / 0.6018 GB, free: 2.574 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.529, allocations: 3.984 kB / 0.6018 GB, free: 2.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005079/0.5295, allocations: 87.8 kB / 0.6019 GB, free: 2.484 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000891/0.5304, allocations: 1.789 MB / 0.6036 GB, free: 0.625 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.5307, allocations: 27.77 kB / 0.6036 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.5307, allocations: 15.98 kB / 0.6036 GB, free: 0.582 MB / 410.7 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.0001177/0.5308, allocations: 113.1 kB / 0.6038 GB, free: 476 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.5309, allocations: 15.81 kB / 0.6038 GB, free: 460 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004458/0.5313, allocations: 223 kB / 0.604 GB, free: 224 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5313, allocations: 0 / 0.604 GB, free: 224 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5313, allocations: 11.95 kB / 0.604 GB, free: 212 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5314, allocations: 3.984 kB / 0.604 GB, free: 208 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.5316, allocations: 249.5 kB / 0.6042 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.5316, allocations: 4.094 kB / 0.6042 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003761/0.532, allocations: 67.84 kB / 0.6043 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.532, allocations: 0 / 0.6043 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.5321, allocations: 11.98 kB / 0.6043 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009057/0.533, allocations: 1.781 MB / 0.6061 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.533, allocations: 3.953 kB / 0.6061 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/0.5334, allocations: 287.5 kB / 0.6063 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.5335, allocations: 85.02 kB / 0.6064 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.5335, allocations: 4 kB / 0.6064 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.5337, allocations: 7.984 kB / 0.6064 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/0.5338, allocations: 23.91 kB / 0.6064 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.5338, allocations: 15.92 kB / 0.6065 GB, free: 13.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001105/0.5339, allocations: 136 kB / 0.6066 GB, free: 13.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.534, allocations: 0 / 0.6066 GB, free: 13.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003851/0.5343, allocations: 71.78 kB / 0.6067 GB, free: 13.32 MB / 426.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 (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.0002757/0.5346, allocations: 157.8 kB / 0.6068 GB, free: 13.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005065/0.5351, allocations: 192.1 kB / 0.607 GB, free: 12.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5352, allocations: 8 kB / 0.607 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.5355, allocations: 104.1 kB / 0.6071 GB, free: 12.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.5357, allocations: 8.172 kB / 0.6071 GB, free: 12.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.5361, allocations: 247.5 kB / 0.6073 GB, free: 12.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.5364, allocations: 0.7397 MB / 0.6081 GB, free: 11.83 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002329/0.5366, allocations: 65.17 kB / 0.6081 GB, free: 11.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.555e-05/0.5367, allocations: 39.33 kB / 0.6082 GB, free: 11.73 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5367, allocations: 0 / 0.6082 GB, free: 11.73 MB / 426.7 MB Notification: Performance of Templates: time 0.00587/0.5426, allocations: 2.813 MB / 0.6109 GB, free: 8.945 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches