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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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|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|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/ModelicaServices trunk/package.mo): time 0.001538/0.001538, allocations: 116.9 kB / 18.4 MB, free: 4.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001772/0.001772, allocations: 204.5 kB / 19.35 MB, free: 3.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2019/0.2019, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.001301, allocations: 75.88 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09935/0.1007, allocations: 62.44 MB / 481.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.0029/0.1036, allocations: 1.816 MB / 483.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.1056, allocations: 1.394 MB / 484.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.994e-05/0.1056, allocations: 4 kB / 484.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.1058, allocations: 47.75 kB / 484.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.106, allocations: 51.61 kB / 484.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004872/0.1065, allocations: 247 kB / 485 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.1066, allocations: 107.4 kB / 485.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.712e-05/0.1066, allocations: 5.125 kB / 485.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.1068, allocations: 55.7 kB / 485.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.165e-05/0.1069, allocations: 51.72 kB / 485.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.1069, allocations: 4 kB / 485.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006723/0.1076, allocations: 0.5068 MB / 485.8 MB, free: 212 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.1076, allocations: 19.92 kB / 485.8 MB, free: 192 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.847e-05/0.1077, allocations: 47.66 kB / 485.8 MB, free: 144 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005054/0.1082, allocations: 359 kB / 486.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1082, allocations: 0 / 486.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1082, allocations: 0 / 486.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1083, allocations: 4 kB / 486.2 MB, free: 15.79 MB / 366.1 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.0005009/0.1088, allocations: 439.2 kB / 486.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1088, allocations: 8.031 kB / 486.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.1089, allocations: 8.844 kB / 486.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.109, allocations: 188.1 kB / 486.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.109, allocations: 8.375 kB / 486.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.109, allocations: 16.12 kB / 486.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.1093, allocations: 149.5 kB / 487 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1093, allocations: 0 / 487 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.1093, allocations: 4 kB / 487 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.1094, allocations: 15.86 kB / 487 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.1097, allocations: 131.9 kB / 487.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008022/0.1105, allocations: 0.5105 MB / 487.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.1107, allocations: 98.59 kB / 487.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.1109, allocations: 56.77 kB / 487.8 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.1109, allocations: 7.984 kB / 487.8 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.1109, allocations: 34.56 kB / 487.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.1109, allocations: 0 / 487.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004832/0.1114, allocations: 161.5 kB / 488 MB, free: 13.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.1115, allocations: 51.41 kB / 488 MB, free: 13.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.986e-05/0.1116, allocations: 121.8 kB / 488.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.1116, allocations: 25.7 kB / 488.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.643e-05/0.1116, allocations: 111.8 kB / 488.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.1117, allocations: 39.39 kB / 488.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/0.1117, allocations: 45.55 kB / 488.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.703e-05/0.1118, allocations: 310.8 kB / 488.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.112, allocations: 35.97 kB / 488.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.1122, allocations: 85.11 kB / 488.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.1124, allocations: 133 kB / 488.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1124, allocations: 0 / 488.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003211/0.1127, allocations: 161.4 kB / 489.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1128, allocations: 4.156 kB / 489.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1128, allocations: 8 kB / 489.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1128, allocations: 0 / 489.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.113, allocations: 47.91 kB / 489.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003254/0.1134, allocations: 0.5898 MB / 489.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.1135, allocations: 12.02 kB / 489.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.1135, allocations: 11.94 kB / 489.7 MB, free: 11.91 MB / 366.1 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.902e-05/0.1136, allocations: 121.9 kB / 489.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.1136, allocations: 7.906 kB / 489.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004026/0.1141, allocations: 170.2 kB / 490 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1141, allocations: 4 kB / 490 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1141, allocations: 3.938 kB / 490 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1141, allocations: 4 kB / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.1143, allocations: 213.5 kB / 490.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1143, allocations: 0 / 490.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.1146, allocations: 39.97 kB / 490.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.1146, allocations: 4 kB / 490.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1146, allocations: 0 / 490.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002675/0.1149, allocations: 0.5937 MB / 490.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1149, allocations: 0 / 490.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004826/0.1154, allocations: 299.3 kB / 491.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.039e-05/0.1154, allocations: 92.97 kB / 491.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.1155, allocations: 4.156 kB / 491.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.1156, allocations: 11.98 kB / 491.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.1156, allocations: 15.98 kB / 491.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.1156, allocations: 0 / 491.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.114e-05/0.1157, allocations: 95.2 kB / 491.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1157, allocations: 3.938 kB / 491.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000357/0.1161, allocations: 79.83 kB / 491.5 MB, free: 10.04 MB / 366.1 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002923/0.1164, allocations: 179 kB / 491.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003811/0.1168, allocations: 132.7 kB / 491.8 MB, free: 9.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1168, allocations: 0 / 491.8 MB, free: 9.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002129/0.117, allocations: 71.89 kB / 491.9 MB, free: 9.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.1173, allocations: 8 kB / 491.9 MB, free: 9.652 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005841/0.1179, allocations: 310.1 kB / 492.2 MB, free: 9.328 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.1181, allocations: 0.7041 MB / 492.9 MB, free: 8.598 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.079e-05/0.1182, allocations: 20.77 kB / 492.9 MB, free: 8.578 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.1183, allocations: 19.44 kB / 492.9 MB, free: 8.559 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1183, allocations: 0 / 492.9 MB, free: 8.559 MB / 366.1 MB Notification: Performance of Templates: time 0.005273/0.1235, allocations: 2.343 MB / 495.3 MB, free: 6.254 MB / 366.1 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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