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.001445/0.001445, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.33/1.33, allocations: 223.2 MB / 241 MB, free: 10.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008822/0.000882, allocations: 100.4 kB / 292.2 MB, free: 10.67 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3226/0.3226, allocations: 44.21 MB / 387.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.000317, allocations: 8 kB / 459.9 MB, free: 1.477 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3363, allocations: 61.9 MB / 0.5096 GB, free: 37.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.4581, allocations: 90.54 MB / 0.598 GB, free: 4.555 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/0.4584, allocations: 103.6 kB / 0.5981 GB, free: 4.461 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.02331/0.4818, allocations: 7.932 MB / 0.6058 GB, free: 12.49 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.4818, allocations: 4 kB / 0.6059 GB, free: 12.49 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.4818, allocations: 0 / 0.6059 GB, free: 12.49 MB / 426.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.0005883/0.4824, allocations: 456.2 kB / 0.6063 GB, free: 12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.4825, allocations: 8.031 kB / 0.6063 GB, free: 11.99 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006784/0.4832, allocations: 91.66 kB / 0.6064 GB, free: 11.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.4835, allocations: 226.7 kB / 0.6066 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.4835, allocations: 12 kB / 0.6066 GB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.4835, allocations: 23.89 kB / 0.6066 GB, free: 11.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006594/0.4842, allocations: 319 kB / 0.6069 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.4842, allocations: 3.938 kB / 0.6069 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.4843, allocations: 4 kB / 0.6069 GB, free: 11.28 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.968e-05/0.4843, allocations: 19.98 kB / 0.607 GB, free: 11.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008101/0.4851, allocations: 327.7 kB / 0.6073 GB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.4867, allocations: 0.8339 MB / 0.6081 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006804/0.4873, allocations: 226.3 kB / 0.6083 GB, free: 9.785 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.4874, allocations: 11.97 kB / 0.6083 GB, free: 9.773 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.4874, allocations: 34.56 kB / 0.6083 GB, free: 9.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.4874, allocations: 4 kB / 0.6084 GB, free: 9.727 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.001009/0.4884, allocations: 305.4 kB / 0.6086 GB, free: 9.422 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.4885, allocations: 55.41 kB / 0.6087 GB, free: 9.355 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.4887, allocations: 174.4 kB / 0.6089 GB, free: 9.172 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.4888, allocations: 25.7 kB / 0.6089 GB, free: 9.141 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.902e-05/0.4888, allocations: 138.3 kB / 0.609 GB, free: 9.004 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.4889, allocations: 39.39 kB / 0.6091 GB, free: 8.965 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/0.4889, allocations: 8 kB / 0.6091 GB, free: 8.957 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.489, allocations: 322.8 kB / 0.6094 GB, free: 8.633 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.4893, allocations: 87.91 kB / 0.6095 GB, free: 8.547 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.4897, allocations: 134.8 kB / 0.6096 GB, free: 8.391 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.49, allocations: 103.8 kB / 0.6097 GB, free: 8.289 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.49, allocations: 0 / 0.6097 GB, free: 8.289 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006968/0.4907, allocations: 277.2 kB / 0.6099 GB, free: 8.012 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4907, allocations: 11.94 kB / 0.61 GB, free: 8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4907, allocations: 0 / 0.61 GB, free: 8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.4907, allocations: 4.469 kB / 0.61 GB, free: 7.996 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004622/0.4912, allocations: 88.06 kB / 0.61 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008753/0.4921, allocations: 1.785 MB / 0.6118 GB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.4923, allocations: 31.77 kB / 0.6118 GB, free: 6.023 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.4924, allocations: 11.98 kB / 0.6118 GB, free: 6.012 MB / 426.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 () * Number of clocked 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.0001532/0.4925, allocations: 146.2 kB / 0.612 GB, free: 5.859 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.616e-05/0.4926, allocations: 11.91 kB / 0.612 GB, free: 5.848 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007992/0.4934, allocations: 278.7 kB / 0.6123 GB, free: 5.574 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4934, allocations: 4 kB / 0.6123 GB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.4934, allocations: 3.953 kB / 0.6123 GB, free: 5.566 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.4935, allocations: 0 / 0.6123 GB, free: 5.566 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.4937, allocations: 257.5 kB / 0.6125 GB, free: 5.266 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4937, allocations: 0 / 0.6125 GB, free: 5.266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003687/0.4941, allocations: 67.92 kB / 0.6126 GB, free: 5.199 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.4941, allocations: 3.984 kB / 0.6126 GB, free: 5.195 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.4942, allocations: 7.984 kB / 0.6126 GB, free: 5.188 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008883/0.4951, allocations: 1.781 MB / 0.6143 GB, free: 3.336 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4951, allocations: 288 / 0.6143 GB, free: 3.336 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006858/0.4958, allocations: 327.2 kB / 0.6146 GB, free: 3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.4958, allocations: 88.92 kB / 0.6147 GB, free: 2.895 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.4959, allocations: 11.98 kB / 0.6147 GB, free: 2.883 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.4961, allocations: 8 kB / 0.6147 GB, free: 2.875 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.4962, allocations: 15.91 kB / 0.6148 GB, free: 2.859 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.4962, allocations: 19.97 kB / 0.6148 GB, free: 2.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000102/0.4963, allocations: 137.3 kB / 0.6149 GB, free: 2.707 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4963, allocations: 0 / 0.6149 GB, free: 2.707 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004316/0.4967, allocations: 63.94 kB / 0.615 GB, free: 2.645 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 () * Number of clocked 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.000315/0.4971, allocations: 164.1 kB / 0.6151 GB, free: 2.473 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007917/0.4979, allocations: 236.1 kB / 0.6153 GB, free: 2.242 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4979, allocations: 0 / 0.6153 GB, free: 2.242 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004205/0.4983, allocations: 123.8 kB / 0.6155 GB, free: 2.121 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.4985, allocations: 11.98 kB / 0.6155 GB, free: 2.109 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007841/0.4993, allocations: 432.3 kB / 0.6159 GB, free: 1.668 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.4996, allocations: 0.7435 MB / 0.6166 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002164/0.4999, allocations: 64.98 kB / 0.6167 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.172e-05/0.5, allocations: 31.41 kB / 0.6167 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5, allocations: 0 / 0.6167 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of Templates: time 0.006097/0.5061, allocations: 2.778 MB / 0.6194 GB, free: 14.07 MB / 442.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