Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001621/0.001621, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.651/1.651, allocations: 226.5 MB / 244.1 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001048/0.001048, allocations: 98.39 kB / 296.1 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3061/0.3061, allocations: 44.83 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002863, allocations: 8 kB / 465.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3284, allocations: 62.95 MB / 0.5165 GB, free: 37.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1108/0.4393, allocations: 91.47 MB / 0.6058 GB, free: 13.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.4397, allocations: 95.94 kB / 0.6059 GB, free: 13.8 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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 trunk/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.02211/0.4618, allocations: 7.999 MB / 0.6137 GB, free: 5.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4618, allocations: 4 kB / 0.6137 GB, free: 5.766 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.4619, allocations: 4 kB / 0.6137 GB, free: 5.762 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.0005282/0.4624, allocations: 450.9 kB / 0.6142 GB, free: 5.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.4624, allocations: 15.97 kB / 0.6142 GB, free: 5.254 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006269/0.4631, allocations: 92.59 kB / 0.6143 GB, free: 5.164 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.4633, allocations: 224 kB / 0.6145 GB, free: 4.906 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.4634, allocations: 16.38 kB / 0.6145 GB, free: 4.891 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/0.4634, allocations: 12.38 kB / 0.6145 GB, free: 4.879 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006309/0.464, allocations: 324.7 kB / 0.6148 GB, free: 4.562 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.4641, allocations: 192 / 0.6148 GB, free: 4.562 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.4641, allocations: 7.938 kB / 0.6148 GB, free: 4.555 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.179e-05/0.4641, allocations: 15.98 kB / 0.6148 GB, free: 4.539 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007645/0.4649, allocations: 327.7 kB / 0.6151 GB, free: 4.219 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.4663, allocations: 0.8279 MB / 0.616 GB, free: 3.301 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006726/0.467, allocations: 230.2 kB / 0.6162 GB, free: 3.066 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002714/0.4673, allocations: 92.81 kB / 0.6163 GB, free: 2.973 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.4673, allocations: 3.984 kB / 0.6163 GB, free: 2.969 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.4673, allocations: 34.56 kB / 0.6163 GB, free: 2.926 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.4674, allocations: 0 / 0.6163 GB, free: 2.926 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009789/0.4683, allocations: 305.2 kB / 0.6166 GB, free: 2.621 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.4684, allocations: 55.34 kB / 0.6166 GB, free: 2.555 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.4686, allocations: 187.3 kB / 0.6168 GB, free: 2.359 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.4686, allocations: 25.7 kB / 0.6169 GB, free: 2.328 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.749e-05/0.4687, allocations: 139.5 kB / 0.617 GB, free: 2.188 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/0.4687, allocations: 31.55 kB / 0.617 GB, free: 2.156 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.787e-05/0.4688, allocations: 11.94 kB / 0.617 GB, free: 2.145 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4689, allocations: 326.8 kB / 0.6173 GB, free: 1.816 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.4692, allocations: 91.84 kB / 0.6174 GB, free: 1.727 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.4695, allocations: 141.7 kB / 0.6176 GB, free: 1.566 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005906/0.4701, allocations: 234.6 kB / 0.6178 GB, free: 1.312 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4701, allocations: 0 / 0.6178 GB, free: 1.312 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006891/0.4708, allocations: 281.4 kB / 0.6181 GB, free: 1.031 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.4708, allocations: 4 kB / 0.6181 GB, free: 1.027 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.4708, allocations: 4 kB / 0.6181 GB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.4708, allocations: 224 / 0.6181 GB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004283/0.4713, allocations: 99.8 kB / 0.6182 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009469/0.4722, allocations: 1.785 MB / 0.6199 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.4725, allocations: 19.83 kB / 0.6199 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.4725, allocations: 19.97 kB / 0.6199 GB, free: 15.03 MB / 442.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.0001393/0.4726, allocations: 149.7 kB / 0.6201 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.882e-05/0.4727, allocations: 11.81 kB / 0.6201 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007625/0.4735, allocations: 274.8 kB / 0.6204 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.4735, allocations: 4 kB / 0.6204 GB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4735, allocations: 0 / 0.6204 GB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4735, allocations: 0 / 0.6204 GB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.4738, allocations: 253.5 kB / 0.6206 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.4738, allocations: 0 / 0.6206 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.4742, allocations: 67.94 kB / 0.6207 GB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4742, allocations: 0 / 0.6207 GB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.4742, allocations: 15.91 kB / 0.6207 GB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008642/0.4751, allocations: 1.777 MB / 0.6224 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4751, allocations: 4.281 kB / 0.6224 GB, free: 12.35 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006746/0.4758, allocations: 327.1 kB / 0.6227 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.4758, allocations: 96.88 kB / 0.6228 GB, free: 11.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.4759, allocations: 8.188 kB / 0.6228 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.4761, allocations: 11.98 kB / 0.6228 GB, free: 11.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/0.4761, allocations: 15.92 kB / 0.6229 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.4762, allocations: 15.97 kB / 0.6229 GB, free: 11.85 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001154/0.4763, allocations: 142 kB / 0.623 GB, free: 11.71 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4763, allocations: 0 / 0.623 GB, free: 11.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003756/0.4767, allocations: 67.84 kB / 0.6231 GB, free: 11.65 MB / 442.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.0002545/0.4769, allocations: 151.1 kB / 0.6232 GB, free: 11.49 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008121/0.4778, allocations: 248.1 kB / 0.6235 GB, free: 11.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4778, allocations: 0 / 0.6235 GB, free: 11.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004389/0.4782, allocations: 131.9 kB / 0.6236 GB, free: 11.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.4785, allocations: 17.75 kB / 0.6236 GB, free: 11.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007406/0.4793, allocations: 457.8 kB / 0.624 GB, free: 10.63 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.4796, allocations: 0.7397 MB / 0.6248 GB, free: 9.863 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.4797, allocations: 39.38 kB / 0.6248 GB, free: 9.824 MB / 442.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4797, allocations: 0 / 0.6248 GB, free: 9.824 MB / 442.7 MB Notification: Performance of Templates: time 0.006745/0.4864, allocations: 5.044 MB / 0.6297 GB, free: 4.785 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins1/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_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches