Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_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_trunk_cpp_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_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009797/0.0009798, allocations: 193.5 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 226.5 MB / 244.1 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007497/0.0007497, allocations: 99.56 kB / 296.1 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3313/0.3313, allocations: 44.83 MB / 392.9 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002967/0.0002969, allocations: 8 kB / 465.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3303, allocations: 62.94 MB / 0.5165 GB, free: 37.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1267/0.457, allocations: 90.9 MB / 0.6053 GB, free: 14.49 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003391/0.4574, allocations: 103.9 kB / 0.6054 GB, free: 14.39 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5404:11-5405: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 trunk/Fluid/Dissipation.mo:5412:11-5413: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.01374/0.4712, allocations: 4.413 MB / 0.6097 GB, free: 9.969 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4712, allocations: 0 / 0.6097 GB, free: 9.969 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.4712, allocations: 4 kB / 0.6097 GB, free: 9.965 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005315/0.4718, allocations: 442.9 kB / 0.6101 GB, free: 9.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.4718, allocations: 8.031 kB / 0.6101 GB, free: 9.473 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007772/0.4726, allocations: 108.6 kB / 0.6102 GB, free: 9.367 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.4729, allocations: 216 kB / 0.6104 GB, free: 9.117 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.4729, allocations: 12.38 kB / 0.6104 GB, free: 9.105 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.4729, allocations: 12.38 kB / 0.6104 GB, free: 9.094 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/0.4734, allocations: 238.6 kB / 0.6107 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.4734, allocations: 4.188 kB / 0.6107 GB, free: 8.855 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.4735, allocations: 7.938 kB / 0.6107 GB, free: 8.848 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.147e-05/0.4735, allocations: 12 kB / 0.6107 GB, free: 8.836 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004542/0.474, allocations: 235.8 kB / 0.6109 GB, free: 8.605 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.4751, allocations: 0.7362 MB / 0.6116 GB, free: 7.777 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.4754, allocations: 99.66 kB / 0.6117 GB, free: 7.672 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.4755, allocations: 52.77 kB / 0.6118 GB, free: 7.617 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.4756, allocations: 0 / 0.6118 GB, free: 7.617 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.4756, allocations: 38.48 kB / 0.6118 GB, free: 7.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.4756, allocations: 4 kB / 0.6118 GB, free: 7.566 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005423/0.4762, allocations: 181.6 kB / 0.612 GB, free: 7.383 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.4762, allocations: 55.34 kB / 0.612 GB, free: 7.316 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.4764, allocations: 187.3 kB / 0.6122 GB, free: 7.121 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.4765, allocations: 25.7 kB / 0.6122 GB, free: 7.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.781e-05/0.4766, allocations: 139.5 kB / 0.6124 GB, free: 6.949 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.4766, allocations: 31.58 kB / 0.6124 GB, free: 6.918 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.4766, allocations: 0 / 0.6124 GB, free: 6.918 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.4768, allocations: 322.8 kB / 0.6127 GB, free: 6.594 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.4769, allocations: 55.95 kB / 0.6128 GB, free: 6.539 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.4771, allocations: 106.8 kB / 0.6129 GB, free: 6.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.4774, allocations: 166.7 kB / 0.613 GB, free: 6.223 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4775, allocations: 0 / 0.613 GB, free: 6.223 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003963/0.4779, allocations: 201.2 kB / 0.6132 GB, free: 6.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.4779, allocations: 6.344 kB / 0.6132 GB, free: 6.016 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.4779, allocations: 4 kB / 0.6132 GB, free: 6.012 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.4779, allocations: 4 kB / 0.6132 GB, free: 6.008 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008996/0.4788, allocations: 123.7 kB / 0.6134 GB, free: 5.887 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.4805, allocations: 1.829 MB / 0.6151 GB, free: 3.988 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.4807, allocations: 23.88 kB / 0.6152 GB, free: 3.965 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.4807, allocations: 11.98 kB / 0.6152 GB, free: 3.953 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 (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 0.0001488/0.4809, allocations: 141.7 kB / 0.6153 GB, free: 3.805 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.4809, allocations: 11.91 kB / 0.6153 GB, free: 3.793 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004925/0.4814, allocations: 202.8 kB / 0.6155 GB, free: 3.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.4814, allocations: 0 / 0.6155 GB, free: 3.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.4814, allocations: 0 / 0.6155 GB, free: 3.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4814, allocations: 0 / 0.6155 GB, free: 3.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.4817, allocations: 225.6 kB / 0.6157 GB, free: 3.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4817, allocations: 0 / 0.6157 GB, free: 3.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006992/0.4824, allocations: 99.83 kB / 0.6158 GB, free: 3.223 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4824, allocations: 0 / 0.6158 GB, free: 3.223 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.4825, allocations: 3.938 kB / 0.6158 GB, free: 3.219 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.4836, allocations: 1.782 MB / 0.6176 GB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4836, allocations: 400 / 0.6176 GB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003892/0.484, allocations: 241.2 kB / 0.6178 GB, free: 1.117 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/0.4841, allocations: 96.84 kB / 0.6179 GB, free: 1.004 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.022e-05/0.4841, allocations: 4 kB / 0.6179 GB, free: 1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.4843, allocations: 15.92 kB / 0.6179 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.4843, allocations: 4 kB / 0.6179 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.4843, allocations: 7.984 kB / 0.6179 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001197/0.4845, allocations: 142 kB / 0.6181 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4845, allocations: 4 kB / 0.6181 GB, free: 0.832 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003316/0.4848, allocations: 51.84 kB / 0.6181 GB, free: 0.7812 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 (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.0002575/0.4851, allocations: 135.1 kB / 0.6182 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.4866, allocations: 244 kB / 0.6185 GB, free: 408 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4866, allocations: 0 / 0.6185 GB, free: 408 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006719/0.4873, allocations: 119.8 kB / 0.6186 GB, free: 288 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.4877, allocations: 44.89 kB / 0.6186 GB, free: 244 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007726/0.4885, allocations: 420 kB / 0.619 GB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.4889, allocations: 0.7397 MB / 0.6198 GB, free: 15.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.558e-05/0.4889, allocations: 15.44 kB / 0.6198 GB, free: 15.02 MB / 442.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4889, allocations: 4 kB / 0.6198 GB, free: 15.02 MB / 442.7 MB Notification: Performance of Templates: time 0.00683/0.4958, allocations: 4.566 MB / 0.6242 GB, free: 10.47 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches