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.001345/0.001345, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001531/0.001531, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.344/1.344, allocations: 222.9 MB / 242.9 MB, free: 15.2 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.2091/0.2091, allocations: 44.19 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 64.14 kB / 409.1 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1102, allocations: 60.83 MB / 470 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003412/0.1137, allocations: 1.778 MB / 471.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.1159, allocations: 1.344 MB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.304e-05/0.116, allocations: 0 / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000218/0.1162, allocations: 51.69 kB / 473.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002016/0.1165, allocations: 51.61 kB / 473.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006175/0.1171, allocations: 243.1 kB / 473.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.1173, allocations: 99.47 kB / 473.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.886e-05/0.1173, allocations: 8.984 kB / 473.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.1175, allocations: 59.64 kB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.194e-05/0.1176, allocations: 39.84 kB / 473.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.1176, allocations: 4 kB / 473.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007246/0.1183, allocations: 0.5029 MB / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.541e-05/0.1183, allocations: 19.92 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.989e-05/0.1184, allocations: 39.72 kB / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000493/0.1189, allocations: 355.2 kB / 474.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1189, allocations: 3.984 kB / 474.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1189, allocations: 0 / 474.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.413e-06/0.1189, allocations: 0 / 474.5 MB, free: 9.734 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.0005526/0.1195, allocations: 439.2 kB / 475 MB, free: 9.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1195, allocations: 12.03 kB / 475 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/0.1196, allocations: 8.844 kB / 475 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.1197, allocations: 184.2 kB / 475.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1198, allocations: 4.375 kB / 475.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.1198, allocations: 16.12 kB / 475.2 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.1201, allocations: 137.6 kB / 475.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1201, allocations: 0 / 475.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.1201, allocations: 8 kB / 475.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1202, allocations: 4 kB / 475.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/0.1205, allocations: 135.9 kB / 475.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008567/0.1213, allocations: 0.5182 MB / 476 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.1216, allocations: 102.5 kB / 476.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.1218, allocations: 48.83 kB / 476.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.1218, allocations: 4 kB / 476.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.1219, allocations: 42.5 kB / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.1219, allocations: 0 / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000493/0.1224, allocations: 161.5 kB / 476.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.1224, allocations: 51.41 kB / 476.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.735e-05/0.1225, allocations: 121.8 kB / 476.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.1225, allocations: 25.7 kB / 476.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.1226, allocations: 119.8 kB / 476.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.1226, allocations: 39.44 kB / 476.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.1227, allocations: 33.62 kB / 476.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1228, allocations: 318.8 kB / 477 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.1229, allocations: 39.91 kB / 477.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.1231, allocations: 89.05 kB / 477.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.1234, allocations: 136.9 kB / 477.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1234, allocations: 0 / 477.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003525/0.1237, allocations: 149.5 kB / 477.4 MB, free: 6.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1238, allocations: 7.984 kB / 477.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1238, allocations: 3.984 kB / 477.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.1238, allocations: 7.984 kB / 477.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.124, allocations: 48.12 kB / 477.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003494/0.1244, allocations: 0.5936 MB / 478.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.1245, allocations: 16.02 kB / 478.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.1245, allocations: 4 kB / 478.1 MB, free: 5.852 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 9.567e-05/0.1246, allocations: 125.7 kB / 478.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.1247, allocations: 12 kB / 478.2 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004285/0.1251, allocations: 174.1 kB / 478.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1251, allocations: 0 / 478.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1251, allocations: 7.938 kB / 478.4 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1252, allocations: 4 kB / 478.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.1254, allocations: 209.6 kB / 478.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1254, allocations: 0 / 478.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.1256, allocations: 35.97 kB / 478.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1256, allocations: 0 / 478.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.1257, allocations: 8 kB / 478.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002961/0.126, allocations: 0.5898 MB / 479.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.126, allocations: 0 / 479.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004836/0.1265, allocations: 294.6 kB / 479.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/0.1266, allocations: 100.9 kB / 479.6 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.1266, allocations: 0 / 479.6 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.1267, allocations: 16.14 kB / 479.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.1268, allocations: 11.92 kB / 479.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.1268, allocations: 4 kB / 479.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.595e-05/0.1268, allocations: 91.27 kB / 479.8 MB, free: 4.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1268, allocations: 0 / 479.8 MB, free: 4.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003732/0.1272, allocations: 76.12 kB / 479.8 MB, free: 3.996 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.0003006/0.1275, allocations: 171.1 kB / 480 MB, free: 3.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004245/0.128, allocations: 136.3 kB / 480.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.128, allocations: 4.312 kB / 480.1 MB, free: 3.684 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.1282, allocations: 71.89 kB / 480.2 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.1285, allocations: 11.94 kB / 480.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000685/0.1292, allocations: 341.1 kB / 480.6 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.1295, allocations: 0.704 MB / 481.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.1295, allocations: 19.44 kB / 481.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1296, allocations: 4 kB / 481.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of Templates: time 0.004563/0.1341, allocations: 2.491 MB / 483.8 MB, free: 0 / 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/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_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