Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|frac_A1toA2|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|frac_A1toA2|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009204/0.0009206, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008119/0.000812, allocations: 103.2 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1858/0.1858, allocations: 45.15 MB / 383.8 MB, free: 256 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.418e-05/1.425e-05, allocations: 0 / 453.2 MB, free: 75.79 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1086, allocations: 63.25 MB / 0.5044 GB, free: 12.6 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3591/0.4678, allocations: 94.45 MB / 0.5966 GB, free: 8.125 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.4681, allocations: 94.69 kB / 0.5967 GB, free: 8.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02198/0.4901, allocations: 7.865 MB / 0.6044 GB, free: 1.379 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4901, allocations: 3.938 kB / 0.6044 GB, free: 1.375 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.4902, allocations: 4 kB / 0.6044 GB, free: 1.371 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005181/0.4907, allocations: 433.6 kB / 0.6048 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.4907, allocations: 8.031 kB / 0.6048 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.4908, allocations: 11.91 kB / 0.6048 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.4909, allocations: 186.2 kB / 0.605 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.491, allocations: 4 kB / 0.605 GB, free: 0.668 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.491, allocations: 4 kB / 0.605 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001796/0.4912, allocations: 107.6 kB / 0.6051 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.4913, allocations: 103.4 kB / 0.6052 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.4914, allocations: 0 / 0.6052 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.4914, allocations: 0 / 0.6052 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.4914, allocations: 4 kB / 0.6052 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009212/0.4923, allocations: 0.4992 MB / 0.6057 GB, free: 0 / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.4925, allocations: 75.69 kB / 0.6058 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.012e-05/0.4926, allocations: 38.61 kB / 0.6058 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.4926, allocations: 3.984 kB / 0.6058 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.4926, allocations: 34.31 kB / 0.6059 GB, free: 15.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.4926, allocations: 0 / 0.6059 GB, free: 15.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002189/0.4929, allocations: 94.39 kB / 0.6059 GB, free: 15.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.4929, allocations: 51.41 kB / 0.606 GB, free: 15.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.692e-05/0.493, allocations: 108.3 kB / 0.6061 GB, free: 15.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.493, allocations: 25.92 kB / 0.6061 GB, free: 15.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.4931, allocations: 115.1 kB / 0.6062 GB, free: 15.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.4932, allocations: 35.28 kB / 0.6063 GB, free: 15.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-06/0.4932, allocations: 4 kB / 0.6063 GB, free: 15.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4933, allocations: 318.1 kB / 0.6066 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.298e-05/0.4934, allocations: 27 kB / 0.6066 GB, free: 15.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.703e-05/0.4935, allocations: 59.52 kB / 0.6067 GB, free: 15.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.684e-05/0.4935, allocations: 30.55 kB / 0.6067 GB, free: 15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.4935, allocations: 7.891 kB / 0.6067 GB, free: 15 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001922/0.4937, allocations: 123.2 kB / 0.6068 GB, free: 14.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.4938, allocations: 4.375 kB / 0.6068 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.4938, allocations: 4 kB / 0.6068 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/0.4938, allocations: 4.156 kB / 0.6068 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.494, allocations: 47.91 kB / 0.6069 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003601/0.4944, allocations: 0.5967 MB / 0.6075 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.4945, allocations: 15.88 kB / 0.6075 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.4946, allocations: 16.03 kB / 0.6075 GB, free: 14.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.374e-05/0.4947, allocations: 108.9 kB / 0.6076 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.4947, allocations: 7.906 kB / 0.6076 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002786/0.495, allocations: 135.6 kB / 0.6077 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.495, allocations: 4 kB / 0.6077 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.495, allocations: 7.984 kB / 0.6077 GB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.495, allocations: 0 / 0.6077 GB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.4952, allocations: 180 kB / 0.6079 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4952, allocations: 0 / 0.6079 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.4954, allocations: 43.91 kB / 0.6079 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.4955, allocations: 4 kB / 0.608 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.4955, allocations: 3.984 kB / 0.608 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002793/0.4958, allocations: 0.589 MB / 0.6085 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4958, allocations: 0 / 0.6085 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.496, allocations: 249.6 kB / 0.6088 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.011e-05/0.4961, allocations: 95.88 kB / 0.6089 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.4961, allocations: 0 / 0.6089 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.4963, allocations: 12.14 kB / 0.6089 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.4963, allocations: 11.98 kB / 0.6089 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.4963, allocations: 7.812 kB / 0.6089 GB, free: 12.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.621e-05/0.4964, allocations: 90.22 kB / 0.609 GB, free: 12.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4964, allocations: 0 / 0.609 GB, free: 12.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003961/0.4968, allocations: 91.33 kB / 0.6091 GB, free: 12.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003445/0.4971, allocations: 210.3 kB / 0.6093 GB, free: 12.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.4974, allocations: 88.48 kB / 0.6093 GB, free: 12.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.4974, allocations: 288 / 0.6093 GB, free: 12.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.4975, allocations: 46.3 kB / 0.6094 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.4977, allocations: 11.94 kB / 0.6094 GB, free: 12.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004657/0.4981, allocations: 185.1 kB / 0.6096 GB, free: 12.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.4984, allocations: 0.7041 MB / 0.6103 GB, free: 11.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.637e-05/0.4985, allocations: 16.55 kB / 0.6103 GB, free: 11.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.4986, allocations: 22.11 kB / 0.6103 GB, free: 11.26 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4986, allocations: 0 / 0.6103 GB, free: 11.26 MB / 410.7 MB Notification: Performance of Templates: time 0.004914/0.5035, allocations: 2.222 MB / 0.6125 GB, free: 9.086 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches