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.001207/0.001207, allocations: 201.8 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 227.2 MB / 245 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008148/0.0008148, allocations: 89.56 kB / 297.3 MB, free: 6.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2746/0.2746, allocations: 45.23 MB / 394.7 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002292/0.0002293, allocations: 4 kB / 468.4 MB, free: 7.715 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2805, allocations: 63.25 MB / 0.5192 GB, free: 43.78 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1051/0.3857, allocations: 95.12 MB / 0.6121 GB, free: 10.51 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/0.386, allocations: 99.73 kB / 0.6122 GB, free: 10.42 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.03016/0.4162, allocations: 10.67 MB / 0.6226 GB, free: 15.63 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4162, allocations: 0 / 0.6226 GB, free: 15.63 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.4163, allocations: 16 kB / 0.6226 GB, free: 15.61 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.0009774/0.4173, allocations: 0.6819 MB / 0.6233 GB, free: 14.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.4173, allocations: 8.031 kB / 0.6233 GB, free: 14.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.4174, allocations: 55.33 kB / 0.6233 GB, free: 14.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/0.4179, allocations: 318.2 kB / 0.6237 GB, free: 14.47 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/0.4179, allocations: 37 kB / 0.6237 GB, free: 14.44 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.774e-05/0.418, allocations: 47.98 kB / 0.6237 GB, free: 14.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008811/0.4189, allocations: 0.6758 MB / 0.6244 GB, free: 13.71 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.4189, allocations: 0 / 0.6244 GB, free: 13.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.141e-05/0.419, allocations: 27.94 kB / 0.6244 GB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.128e-05/0.419, allocations: 49.28 kB / 0.6245 GB, free: 13.63 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009508/0.42, allocations: 0.7273 MB / 0.6252 GB, free: 12.9 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.4222, allocations: 1.739 MB / 0.6269 GB, free: 11.03 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005398/0.4228, allocations: 371.8 kB / 0.6272 GB, free: 10.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.4228, allocations: 16.2 kB / 0.6272 GB, free: 10.65 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.4229, allocations: 34.8 kB / 0.6273 GB, free: 10.61 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 1.774e-06/0.4229, allocations: 0 / 0.6273 GB, free: 10.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=27): time 0.0008874/0.4238, allocations: 0.4998 MB / 0.6278 GB, free: 10.1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.4238, allocations: 59.34 kB / 0.6278 GB, free: 10.03 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000386/0.4242, allocations: 404.8 kB / 0.6282 GB, free: 9.629 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.4242, allocations: 29.7 kB / 0.6282 GB, free: 9.594 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.4244, allocations: 271.4 kB / 0.6285 GB, free: 9.324 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.627e-05/0.4245, allocations: 94.64 kB / 0.6286 GB, free: 9.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.82e-05/0.4245, allocations: 8 kB / 0.6286 GB, free: 9.223 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4246, allocations: 350.8 kB / 0.6289 GB, free: 8.871 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.4249, allocations: 147.9 kB / 0.6291 GB, free: 8.727 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/0.4252, allocations: 255.4 kB / 0.6293 GB, free: 8.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.4255, allocations: 189 kB / 0.6295 GB, free: 8.246 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4255, allocations: 3.938 kB / 0.6295 GB, free: 8.242 MB / 442.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007661/0.4263, allocations: 482 kB / 0.63 GB, free: 7.766 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.4263, allocations: 16.05 kB / 0.63 GB, free: 7.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.4263, allocations: 4 kB / 0.63 GB, free: 7.746 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.4264, allocations: 4 kB / 0.63 GB, free: 7.742 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005617/0.4269, allocations: 155.8 kB / 0.6301 GB, free: 7.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/0.4286, allocations: 3.614 MB / 0.6337 GB, free: 3.836 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.4288, allocations: 59.38 kB / 0.6337 GB, free: 3.777 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.4289, allocations: 23.92 kB / 0.6337 GB, free: 3.754 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.0002147/0.4291, allocations: 225.8 kB / 0.634 GB, free: 3.523 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/0.4292, allocations: 35.53 kB / 0.634 GB, free: 3.488 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.4302, allocations: 0.5481 MB / 0.6345 GB, free: 2.934 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.4302, allocations: 0 / 0.6345 GB, free: 2.934 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.4302, allocations: 7.953 kB / 0.6345 GB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.4302, allocations: 0 / 0.6345 GB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000486/0.4307, allocations: 453 kB / 0.635 GB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4307, allocations: 0 / 0.635 GB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005021/0.4312, allocations: 135.9 kB / 0.6351 GB, free: 2.301 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.4313, allocations: 4 kB / 0.6351 GB, free: 2.297 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/0.4313, allocations: 11.98 kB / 0.6351 GB, free: 2.285 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/0.4329, allocations: 3.606 MB / 0.6386 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.433, allocations: 8.047 kB / 0.6386 GB, free: 14.53 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000978/0.4339, allocations: 0.6716 MB / 0.6393 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.4342, allocations: 176.5 kB / 0.6395 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.884e-05/0.4342, allocations: 15.94 kB / 0.6395 GB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.4344, allocations: 11.98 kB / 0.6395 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.625e-05/0.4345, allocations: 31.84 kB / 0.6395 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.4346, allocations: 19.94 kB / 0.6395 GB, free: 13.57 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003313/0.4349, allocations: 343.1 kB / 0.6399 GB, free: 13.23 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.054e-06/0.4349, allocations: 0 / 0.6399 GB, free: 13.23 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005744/0.4355, allocations: 183.6 kB / 0.64 GB, free: 13.05 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.0003843/0.4359, allocations: 204.4 kB / 0.6402 GB, free: 12.85 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009326/0.4368, allocations: 436.6 kB / 0.6406 GB, free: 12.42 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4368, allocations: 0 / 0.6406 GB, free: 12.42 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005428/0.4374, allocations: 239.6 kB / 0.6409 GB, free: 12.19 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.4376, allocations: 26.58 kB / 0.6409 GB, free: 12.16 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.4391, allocations: 1.118 MB / 0.642 GB, free: 11.03 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.4395, allocations: 0.9093 MB / 0.6429 GB, free: 10.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003428/0.4399, allocations: 139 kB / 0.643 GB, free: 9.953 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.44, allocations: 55.34 kB / 0.6431 GB, free: 9.898 MB / 458.7 MB Notification: Performance of SimCode: time 3.01e-07/0.44, allocations: 0 / 0.6431 GB, free: 9.898 MB / 458.7 MB Notification: Performance of Templates: time 0.01038/0.4504, allocations: 6.057 MB / 0.649 GB, free: 3.879 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/jenkins/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