Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|L|A_1.1.|A_1.2.|A_1.3.|A_1.4.|A_1.5.|A_1.6.|C_1.1.|C_1.2.|C_1.3.|C_1.4.|C_1.5.|C_1.6.|A0_2_A1.1.|A0_2_A1.2.|A0_2_A1.3.|A0_2_A1.4.|A0_2_A1.5.|A0_2_A1.6.|L|l_bar|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_mdot.5.|input_mdot.6.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|input_dp.5.|input_dp.6.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|M_FLOW.5.|M_FLOW.6.|DP.1.|DP.2.|DP.3.|DP.4.|DP.5.|DP.6.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|DP_plot.5.|DP_plot.6.|A_cross.1.|A_cross.2.|A_cross.3.|A_cross.4.|A_cross.5.|A_cross.6.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|velocity.5.|velocity.6.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|zeta_TOT.5.|zeta_TOT.6.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|L|A_1.1.|A_1.2.|A_1.3.|A_1.4.|A_1.5.|A_1.6.|C_1.1.|C_1.2.|C_1.3.|C_1.4.|C_1.5.|C_1.6.|A0_2_A1.1.|A0_2_A1.2.|A0_2_A1.3.|A0_2_A1.4.|A0_2_A1.5.|A0_2_A1.6.|L|l_bar|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_mdot.5.|input_mdot.6.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|input_dp.5.|input_dp.6.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|M_FLOW.5.|M_FLOW.6.|DP.1.|DP.2.|DP.3.|DP.4.|DP.5.|DP.6.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|DP_plot.5.|DP_plot.6.|A_cross.1.|A_cross.2.|A_cross.3.|A_cross.4.|A_cross.5.|A_cross.6.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|velocity.5.|velocity.6.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|zeta_TOT.5.|zeta_TOT.6.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001849/0.001856, allocations: 201.2 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 226.5 MB / 245.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008114/0.0008116, allocations: 89.8 kB / 297.5 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.3458/0.3458, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003054/0.0003055, allocations: 8 kB / 467.9 MB, free: 12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3683, allocations: 62.96 MB / 0.5184 GB, free: 37.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1231/0.4914, allocations: 94.99 MB / 0.6112 GB, free: 10.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.4918, allocations: 103.9 kB / 0.6113 GB, free: 10.2 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5761:11-5762:124:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5774:11-5777:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5752:11-5759:48:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5765:11-5772:46:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.03304/0.5248, allocations: 10.66 MB / 0.6217 GB, free: 15.35 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5248, allocations: 0 / 0.6217 GB, free: 15.35 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.123e-05/0.5249, allocations: 8 kB / 0.6217 GB, free: 15.34 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001187/0.5261, allocations: 0.6783 MB / 0.6224 GB, free: 14.61 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.5261, allocations: 8.031 kB / 0.6224 GB, free: 14.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.5263, allocations: 52.28 kB / 0.6225 GB, free: 14.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.5267, allocations: 331.5 kB / 0.6228 GB, free: 14.19 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.962e-05/0.5268, allocations: 41.36 kB / 0.6228 GB, free: 14.15 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-05/0.5268, allocations: 44.31 kB / 0.6228 GB, free: 14.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.5278, allocations: 0.6802 MB / 0.6235 GB, free: 13.42 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.5279, allocations: 192 / 0.6235 GB, free: 13.42 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.31e-05/0.5279, allocations: 23.94 kB / 0.6235 GB, free: 13.4 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.175e-05/0.528, allocations: 49.28 kB / 0.6236 GB, free: 13.35 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.5291, allocations: 0.7272 MB / 0.6243 GB, free: 12.62 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002381/0.5314, allocations: 1.715 MB / 0.626 GB, free: 10.78 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006184/0.5321, allocations: 358.4 kB / 0.6263 GB, free: 10.42 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.5324, allocations: 149.2 kB / 0.6265 GB, free: 10.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.561e-05/0.5325, allocations: 12.2 kB / 0.6265 GB, free: 10.26 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.5325, allocations: 38.73 kB / 0.6265 GB, free: 10.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 2.425e-06/0.5325, allocations: 4 kB / 0.6265 GB, free: 10.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=27): time 0.001023/0.5335, allocations: 0.4956 MB / 0.627 GB, free: 9.707 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.5336, allocations: 59.34 kB / 0.627 GB, free: 9.637 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005336/0.5341, allocations: 445.5 kB / 0.6275 GB, free: 9.195 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.5342, allocations: 33.7 kB / 0.6275 GB, free: 9.156 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.5344, allocations: 271.4 kB / 0.6278 GB, free: 8.887 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.119e-05/0.5345, allocations: 94.66 kB / 0.6279 GB, free: 8.793 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.863e-05/0.5345, allocations: 8 kB / 0.6279 GB, free: 8.785 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.5346, allocations: 350.7 kB / 0.6282 GB, free: 8.434 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/0.5349, allocations: 147.9 kB / 0.6283 GB, free: 8.289 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.5353, allocations: 258.3 kB / 0.6286 GB, free: 7.988 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006478/0.5359, allocations: 439.4 kB / 0.629 GB, free: 7.512 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.5359, allocations: 0 / 0.629 GB, free: 7.512 MB / 442.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008545/0.5368, allocations: 497 kB / 0.6295 GB, free: 7.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.5368, allocations: 11.94 kB / 0.6295 GB, free: 7.008 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.5369, allocations: 8.031 kB / 0.6295 GB, free: 7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.5369, allocations: 4 kB / 0.6295 GB, free: 6.996 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005623/0.5375, allocations: 159.9 kB / 0.6296 GB, free: 6.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/0.5395, allocations: 3.61 MB / 0.6332 GB, free: 3.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/0.5399, allocations: 59.36 kB / 0.6332 GB, free: 3.031 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.113e-05/0.5399, allocations: 23.98 kB / 0.6333 GB, free: 3.008 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002972/0.5402, allocations: 221.7 kB / 0.6335 GB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.372e-05/0.5403, allocations: 43.53 kB / 0.6335 GB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.5414, allocations: 0.545 MB / 0.634 GB, free: 2.188 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.5414, allocations: 4 kB / 0.634 GB, free: 2.184 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5414, allocations: 0 / 0.634 GB, free: 2.184 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.5414, allocations: 0 / 0.634 GB, free: 2.184 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006363/0.5421, allocations: 457 kB / 0.6345 GB, free: 1.688 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5421, allocations: 0 / 0.6345 GB, free: 1.688 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005129/0.5426, allocations: 143.9 kB / 0.6346 GB, free: 1.547 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.5426, allocations: 4 kB / 0.6346 GB, free: 1.543 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.5427, allocations: 12 kB / 0.6346 GB, free: 1.531 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/0.5447, allocations: 3.61 MB / 0.6382 GB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5447, allocations: 0 / 0.6382 GB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009921/0.5457, allocations: 0.6754 MB / 0.6388 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/0.5459, allocations: 164.4 kB / 0.639 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.611e-05/0.546, allocations: 4 kB / 0.639 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.5462, allocations: 15.98 kB / 0.639 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.81e-05/0.5463, allocations: 39.84 kB / 0.639 GB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.5463, allocations: 20 kB / 0.639 GB, free: 12.83 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003788/0.5467, allocations: 347 kB / 0.6394 GB, free: 12.49 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5467, allocations: 0 / 0.6394 GB, free: 12.49 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006468/0.5474, allocations: 175.6 kB / 0.6395 GB, free: 12.32 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004361/0.5478, allocations: 207 kB / 0.6397 GB, free: 12.11 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.5489, allocations: 441 kB / 0.6402 GB, free: 11.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5489, allocations: 0 / 0.6402 GB, free: 11.68 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006156/0.5495, allocations: 275.6 kB / 0.6404 GB, free: 11.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.5499, allocations: 33.56 kB / 0.6405 GB, free: 11.38 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.5516, allocations: 1.104 MB / 0.6415 GB, free: 10.25 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.5521, allocations: 0.9093 MB / 0.6424 GB, free: 9.312 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004248/0.5525, allocations: 143 kB / 0.6426 GB, free: 9.176 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.5526, allocations: 47.36 kB / 0.6426 GB, free: 9.129 MB / 458.7 MB Notification: Performance of SimCode: time 8.41e-07/0.5526, allocations: 0 / 0.6426 GB, free: 9.129 MB / 458.7 MB Notification: Performance of Templates: time 0.01206/0.5647, allocations: 6.313 MB / 0.6488 GB, free: 2.855 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_DPMFLOW.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches