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.001607/0.001606, allocations: 200.9 kB / 18.11 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 226.5 MB / 245.4 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007647/0.0007647, allocations: 104.6 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.315/0.315, allocations: 44.82 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003056/0.0003058, allocations: 12 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3674, allocations: 62.95 MB / 0.5184 GB, free: 37.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.4991, allocations: 95.08 MB / 0.6113 GB, free: 10.21 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/0.4995, allocations: 103.9 kB / 0.6114 GB, free: 10.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02387/0.5234, allocations: 7.916 MB / 0.6191 GB, free: 2.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.5234, allocations: 0 / 0.6191 GB, free: 2.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.5235, allocations: 4 kB / 0.6191 GB, free: 2.156 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006619/0.5241, allocations: 447 kB / 0.6195 GB, free: 1.668 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.5242, allocations: 12.03 kB / 0.6196 GB, free: 1.656 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.5242, allocations: 12.75 kB / 0.6196 GB, free: 1.645 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.5244, allocations: 176.2 kB / 0.6197 GB, free: 1.434 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.5244, allocations: 12.31 kB / 0.6198 GB, free: 1.422 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.5245, allocations: 12.38 kB / 0.6198 GB, free: 1.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.5248, allocations: 147.9 kB / 0.6199 GB, free: 1.262 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.5248, allocations: 4.188 kB / 0.6199 GB, free: 1.258 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.5248, allocations: 11.88 kB / 0.6199 GB, free: 1.246 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.5249, allocations: 4 kB / 0.6199 GB, free: 1.242 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003182/0.5252, allocations: 147.8 kB / 0.6201 GB, free: 1.098 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009303/0.5261, allocations: 0.5144 MB / 0.6206 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.5264, allocations: 98.66 kB / 0.6207 GB, free: 416 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.5265, allocations: 52.83 kB / 0.6207 GB, free: 360 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.5266, allocations: 8 kB / 0.6207 GB, free: 352 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.5266, allocations: 38.5 kB / 0.6208 GB, free: 304 kB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.5266, allocations: 0 / 0.6208 GB, free: 304 kB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004651/0.5271, allocations: 181.4 kB / 0.6209 GB, free: 116 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.5271, allocations: 55.41 kB / 0.621 GB, free: 48 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.5273, allocations: 117.8 kB / 0.6211 GB, free: 15.92 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.5273, allocations: 25.7 kB / 0.6211 GB, free: 15.89 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.618e-05/0.5274, allocations: 111.7 kB / 0.6212 GB, free: 15.78 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.5274, allocations: 43.38 kB / 0.6213 GB, free: 15.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-06/0.5274, allocations: 8 kB / 0.6213 GB, free: 15.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5275, allocations: 318.8 kB / 0.6216 GB, free: 15.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.5277, allocations: 43.97 kB / 0.6216 GB, free: 15.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.5278, allocations: 85.05 kB / 0.6217 GB, free: 15.26 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.5281, allocations: 141.4 kB / 0.6218 GB, free: 15.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5281, allocations: 0 / 0.6218 GB, free: 15.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003482/0.5285, allocations: 173.4 kB / 0.622 GB, free: 14.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.5285, allocations: 11.28 kB / 0.622 GB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.5285, allocations: 0 / 0.622 GB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.5285, allocations: 4 kB / 0.622 GB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.5287, allocations: 47.91 kB / 0.6221 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004442/0.5292, allocations: 0.5861 MB / 0.6226 GB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.5293, allocations: 28.06 kB / 0.6227 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.5293, allocations: 4 kB / 0.6227 GB, free: 14.23 MB / 442.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 () * Number of clocked 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 0.0001218/0.5295, allocations: 129.7 kB / 0.6228 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.5295, allocations: 7.906 kB / 0.6228 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004114/0.5299, allocations: 174.3 kB / 0.623 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.5299, allocations: 0 / 0.623 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.53, allocations: 4 kB / 0.623 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.53, allocations: 8 kB / 0.623 GB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.5302, allocations: 217.5 kB / 0.6232 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5302, allocations: 0 / 0.6232 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.5304, allocations: 47.91 kB / 0.6232 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.5304, allocations: 0 / 0.6232 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.5305, allocations: 8 kB / 0.6232 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002911/0.5308, allocations: 0.586 MB / 0.6238 GB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.5308, allocations: 3.984 kB / 0.6238 GB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004791/0.5313, allocations: 315.4 kB / 0.6241 GB, free: 12.65 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.212e-05/0.5313, allocations: 93.03 kB / 0.6242 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.5314, allocations: 3.938 kB / 0.6242 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.5315, allocations: 19.92 kB / 0.6242 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.5315, allocations: 7.984 kB / 0.6242 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.5316, allocations: 4 kB / 0.6242 GB, free: 12.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.817e-05/0.5316, allocations: 95.2 kB / 0.6243 GB, free: 12.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5316, allocations: 4.062 kB / 0.6243 GB, free: 12.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004419/0.5321, allocations: 95.77 kB / 0.6244 GB, free: 12.31 MB / 442.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 () * Number of clocked 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.0005329/0.5326, allocations: 209.6 kB / 0.6246 GB, free: 12.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000459/0.5331, allocations: 135.8 kB / 0.6247 GB, free: 11.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5331, allocations: 0 / 0.6247 GB, free: 11.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.5333, allocations: 84.2 kB / 0.6248 GB, free: 11.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.5336, allocations: 12 kB / 0.6248 GB, free: 11.87 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008099/0.5345, allocations: 367.5 kB / 0.6252 GB, free: 11.49 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.5348, allocations: 0.7004 MB / 0.6259 GB, free: 10.76 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.5349, allocations: 24.75 kB / 0.6259 GB, free: 10.74 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.479e-05/0.535, allocations: 19.44 kB / 0.6259 GB, free: 10.72 MB / 442.7 MB Notification: Performance of SimCode: time 4.61e-07/0.535, allocations: 0 / 0.6259 GB, free: 10.72 MB / 442.7 MB Notification: Performance of Templates: time 0.006102/0.5411, allocations: 2.433 MB / 0.6283 GB, free: 8.32 MB / 442.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/jenkins1/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