Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.0009325/0.0009325, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.3 MB / 213.7 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000847/0.0008471, allocations: 90.14 kB / 261.7 MB, free: 1.617 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1895/0.1895, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.627e-05/1.629e-05, allocations: 4 kB / 418.3 MB, free: 28.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1119, allocations: 58.85 MB / 477.1 MB, free: 1.617 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3669/0.4788, allocations: 88.11 MB / 0.552 GB, free: 6.801 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.4792, allocations: 107 kB / 0.5521 GB, free: 6.738 MB / 362.7 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.01113/0.4903, allocations: 4.216 MB / 0.5562 GB, free: 3.293 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4904, allocations: 4 kB / 0.5562 GB, free: 3.289 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.4904, allocations: 0 / 0.5562 GB, free: 3.289 MB / 362.7 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.0003911/0.4908, allocations: 438.7 kB / 0.5566 GB, free: 2.824 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.4908, allocations: 8.031 kB / 0.5566 GB, free: 2.816 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006151/0.4914, allocations: 98.39 kB / 0.5567 GB, free: 2.727 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.4916, allocations: 216.9 kB / 0.5569 GB, free: 2.484 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.4917, allocations: 4 kB / 0.557 GB, free: 2.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.4917, allocations: 12 kB / 0.557 GB, free: 2.469 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002667/0.492, allocations: 192 kB / 0.5571 GB, free: 2.336 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.4922, allocations: 192.2 kB / 0.5573 GB, free: 2.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.4922, allocations: 3.984 kB / 0.5573 GB, free: 2.176 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.4923, allocations: 0 / 0.5573 GB, free: 2.176 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.4923, allocations: 19.48 kB / 0.5574 GB, free: 2.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008557/0.4932, allocations: 0.6868 MB / 0.558 GB, free: 1.453 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.4933, allocations: 75.97 kB / 0.5581 GB, free: 1.379 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.643e-05/0.4933, allocations: 32.48 kB / 0.5581 GB, free: 1.348 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.4933, allocations: 7.812 kB / 0.5581 GB, free: 1.344 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.4934, allocations: 34.56 kB / 0.5582 GB, free: 1.301 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.4934, allocations: 0 / 0.5582 GB, free: 1.301 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002032/0.4936, allocations: 92.3 kB / 0.5583 GB, free: 1.211 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.631e-05/0.4936, allocations: 51.41 kB / 0.5583 GB, free: 1.148 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.58e-05/0.4937, allocations: 126 kB / 0.5584 GB, free: 1.031 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.4937, allocations: 25.7 kB / 0.5585 GB, free: 1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.4938, allocations: 150.5 kB / 0.5586 GB, free: 0.8555 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.4938, allocations: 27.47 kB / 0.5586 GB, free: 0.832 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-06/0.4938, allocations: 0 / 0.5586 GB, free: 0.832 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.652e-05/0.4939, allocations: 318.3 kB / 0.5589 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.924e-05/0.4939, allocations: 38.91 kB / 0.559 GB, free: 496 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.22e-05/0.494, allocations: 85.5 kB / 0.559 GB, free: 400 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.155e-05/0.494, allocations: 52.36 kB / 0.5591 GB, free: 352 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.4941, allocations: 0 / 0.5591 GB, free: 352 kB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001714/0.4942, allocations: 140.2 kB / 0.5592 GB, free: 220 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.4943, allocations: 11.95 kB / 0.5592 GB, free: 208 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4943, allocations: 7.938 kB / 0.5592 GB, free: 200 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.4943, allocations: 0 / 0.5592 GB, free: 200 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008076/0.4951, allocations: 107.9 kB / 0.5593 GB, free: 92 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.4964, allocations: 1.82 MB / 0.5611 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.4965, allocations: 19.83 kB / 0.5611 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.4966, allocations: 4 kB / 0.5611 GB, free: 14.19 MB / 378.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 (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 9.203e-05/0.4967, allocations: 116.5 kB / 0.5613 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.4967, allocations: 11.86 kB / 0.5613 GB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.497, allocations: 141.1 kB / 0.5614 GB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.497, allocations: 4 kB / 0.5614 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.497, allocations: 0 / 0.5614 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.497, allocations: 3.984 kB / 0.5614 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.4973, allocations: 189.5 kB / 0.5616 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4973, allocations: 0 / 0.5616 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006907/0.498, allocations: 101 kB / 0.5617 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.498, allocations: 0 / 0.5617 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.498, allocations: 7.922 kB / 0.5617 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/0.499, allocations: 1.777 MB / 0.5634 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.499, allocations: 4.188 kB / 0.5634 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.4992, allocations: 211 kB / 0.5636 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.4993, allocations: 84.95 kB / 0.5637 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.4993, allocations: 0 / 0.5637 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.4995, allocations: 11.98 kB / 0.5637 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.4995, allocations: 11.94 kB / 0.5637 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.4995, allocations: 4 kB / 0.5637 GB, free: 11.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.717e-05/0.4996, allocations: 101.3 kB / 0.5638 GB, free: 11.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4996, allocations: 0 / 0.5638 GB, free: 11.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003092/0.4999, allocations: 47.78 kB / 0.5639 GB, free: 11.32 MB / 378.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 (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.0002144/0.5001, allocations: 146.9 kB / 0.564 GB, free: 11.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008454/0.501, allocations: 143.8 kB / 0.5642 GB, free: 11.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.501, allocations: 4 kB / 0.5642 GB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000551/0.5016, allocations: 95.58 kB / 0.5643 GB, free: 10.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.5018, allocations: 16.05 kB / 0.5643 GB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004412/0.5023, allocations: 208.4 kB / 0.5645 GB, free: 10.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.5026, allocations: 0.7391 MB / 0.5652 GB, free: 9.949 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.5027, allocations: 28.53 kB / 0.5652 GB, free: 9.922 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.5027, allocations: 11.44 kB / 0.5652 GB, free: 9.91 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5027, allocations: 0 / 0.5652 GB, free: 9.91 MB / 378.7 MB Notification: Performance of Templates: time 0.00496/0.5077, allocations: 2.297 MB / 0.5675 GB, free: 7.672 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches