Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 104 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001177, allocations: 192.1 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2194/0.2194, allocations: 44.17 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 69.17 kB / 408.5 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1057, allocations: 60.82 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002999/0.1088, allocations: 1.79 MB / 471.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.1108, allocations: 1.332 MB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.643e-05/0.1109, allocations: 4 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.1111, allocations: 47.75 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.1113, allocations: 47.62 kB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006074/0.1119, allocations: 247.1 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.1121, allocations: 111.4 kB / 472.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.1122, allocations: 8.984 kB / 472.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.1123, allocations: 43.8 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.1124, allocations: 51.69 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.1124, allocations: 4 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007492/0.1132, allocations: 0.4952 MB / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.545e-05/0.1132, allocations: 15.86 kB / 473.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.53e-05/0.1133, allocations: 51.72 kB / 473.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005238/0.1138, allocations: 355.2 kB / 473.9 MB, free: 9.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1138, allocations: 0 / 473.9 MB, free: 9.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1138, allocations: 0 / 473.9 MB, free: 9.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.1139, allocations: 0 / 473.9 MB, free: 9.758 MB / 350.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.0006159/0.1145, allocations: 439.1 kB / 474.3 MB, free: 9.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.1145, allocations: 8.031 kB / 474.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.082e-05/0.1146, allocations: 8.844 kB / 474.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.1147, allocations: 176.2 kB / 474.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.1147, allocations: 16.38 kB / 474.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.1148, allocations: 12.12 kB / 474.5 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.1151, allocations: 137.6 kB / 474.6 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1151, allocations: 0 / 474.6 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.1151, allocations: 4 kB / 474.6 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.1151, allocations: 4 kB / 474.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.1154, allocations: 131.9 kB / 474.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008485/0.1163, allocations: 0.5298 MB / 475.3 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.1166, allocations: 102.6 kB / 475.4 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.1167, allocations: 52.83 kB / 475.5 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.1168, allocations: 7.984 kB / 475.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.1168, allocations: 42.5 kB / 475.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.1168, allocations: 0 / 475.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005007/0.1173, allocations: 165.5 kB / 475.7 MB, free: 7.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.1174, allocations: 51.41 kB / 475.7 MB, free: 7.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.666e-05/0.1175, allocations: 117.8 kB / 475.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1175, allocations: 25.7 kB / 475.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.1175, allocations: 107.8 kB / 476 MB, free: 7.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.1176, allocations: 39.45 kB / 476 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-05/0.1176, allocations: 37.61 kB / 476 MB, free: 7.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1178, allocations: 322.8 kB / 476.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.1179, allocations: 43.91 kB / 476.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.118, allocations: 80.58 kB / 476.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.1183, allocations: 132.9 kB / 476.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1183, allocations: 0 / 476.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003264/0.1186, allocations: 157.5 kB / 476.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1187, allocations: 4 kB / 476.8 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1187, allocations: 4 kB / 476.8 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1187, allocations: 0 / 476.8 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.1189, allocations: 51.91 kB / 476.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003599/0.1193, allocations: 0.5899 MB / 477.4 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.1194, allocations: 16.02 kB / 477.4 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.1194, allocations: 4 kB / 477.4 MB, free: 5.887 MB / 350.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 0.0001086/0.1195, allocations: 125.7 kB / 477.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.1196, allocations: 11.83 kB / 477.6 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004062/0.12, allocations: 174.3 kB / 477.7 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.12, allocations: 4 kB / 477.7 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.12, allocations: 3.938 kB / 477.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.12, allocations: 0 / 477.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.1203, allocations: 209.6 kB / 477.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1203, allocations: 0 / 477.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.1205, allocations: 51.91 kB / 478 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.1205, allocations: 0 / 478 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.1205, allocations: 4 kB / 478 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002872/0.1208, allocations: 0.5899 MB / 478.6 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.1208, allocations: 3.984 kB / 478.6 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004679/0.1213, allocations: 295.4 kB / 478.9 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.413e-05/0.1214, allocations: 100.9 kB / 479 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.1214, allocations: 0 / 479 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.1215, allocations: 8 kB / 479 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.1216, allocations: 11.98 kB / 479 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.1216, allocations: 7.984 kB / 479 MB, free: 4.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.351e-05/0.1217, allocations: 95.28 kB / 479.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1217, allocations: 0 / 479.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000381/0.1221, allocations: 75.83 kB / 479.2 MB, free: 4.016 MB / 350.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.0003707/0.1224, allocations: 167.1 kB / 479.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004133/0.1229, allocations: 131.8 kB / 479.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1229, allocations: 0 / 479.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.1231, allocations: 79.14 kB / 479.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.1234, allocations: 16.73 kB / 479.6 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006504/0.1241, allocations: 319.7 kB / 479.9 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.1244, allocations: 0.704 MB / 480.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.679e-05/0.1245, allocations: 20.77 kB / 480.6 MB, free: 2.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.1246, allocations: 15.44 kB / 480.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1246, allocations: 0 / 480.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of Templates: time 0.005844/0.1304, allocations: 2.241 MB / 482.8 MB, free: 328 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches