Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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|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_3.2.3_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_3.2.3_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.001088/0.001088, allocations: 108 kB / 16.41 MB, free: 6.457 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.001117/0.001117, allocations: 189.5 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2294/0.2294, allocations: 43.52 MB / 314.1 MB, free: 440 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 59.91 kB / 441.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1486, allocations: 57.8 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.00345/0.1521, allocations: 1.806 MB / 0.4897 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.1544, allocations: 1.368 MB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.1545, allocations: 4 kB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.1548, allocations: 47.75 kB / 0.4911 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.1551, allocations: 47.62 kB / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/0.1557, allocations: 251 kB / 0.4913 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.1558, allocations: 103.4 kB / 0.4914 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.95e-05/0.1559, allocations: 21.08 kB / 0.4915 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.1561, allocations: 47.78 kB / 0.4915 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.276e-05/0.1562, allocations: 55.7 kB / 0.4916 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.1562, allocations: 8 kB / 0.4916 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007295/0.1569, allocations: 499 kB / 0.492 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.059e-05/0.157, allocations: 23.86 kB / 0.4921 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.767e-05/0.157, allocations: 39.72 kB / 0.4921 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005527/0.1576, allocations: 351.1 kB / 0.4924 GB, free: 7.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1576, allocations: 4 kB / 0.4924 GB, free: 7.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1576, allocations: 0 / 0.4924 GB, free: 7.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.1576, allocations: 0 / 0.4924 GB, free: 7.086 MB / 382.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.000685/0.1583, allocations: 454.9 kB / 0.4929 GB, free: 6.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.1584, allocations: 11.89 kB / 0.4929 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.29e-05/0.1584, allocations: 8.844 kB / 0.4929 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.1586, allocations: 176.3 kB / 0.4931 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.1586, allocations: 8.375 kB / 0.4931 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.1586, allocations: 16.03 kB / 0.4931 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.159, allocations: 146.1 kB / 0.4932 GB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.159, allocations: 0 / 0.4932 GB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.159, allocations: 7.938 kB / 0.4932 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.159, allocations: 11.98 kB / 0.4932 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.1593, allocations: 135.8 kB / 0.4934 GB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009159/0.1603, allocations: 0.5027 MB / 0.4939 GB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.1605, allocations: 106.6 kB / 0.494 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.1607, allocations: 48.83 kB / 0.494 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.1607, allocations: 4 kB / 0.494 GB, free: 5.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.1608, allocations: 30.56 kB / 0.494 GB, free: 5.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 3.827e-06/0.1608, allocations: 0 / 0.494 GB, free: 5.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005177/0.1613, allocations: 169.4 kB / 0.4942 GB, free: 5.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.1614, allocations: 51.41 kB / 0.4943 GB, free: 5.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.456e-05/0.1615, allocations: 117.8 kB / 0.4944 GB, free: 4.902 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.1615, allocations: 25.7 kB / 0.4944 GB, free: 4.871 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.493e-05/0.1616, allocations: 123.7 kB / 0.4945 GB, free: 4.746 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.1616, allocations: 35.45 kB / 0.4945 GB, free: 4.711 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.297e-05/0.1617, allocations: 33.7 kB / 0.4946 GB, free: 4.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1619, allocations: 322.8 kB / 0.4949 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.162, allocations: 35.97 kB / 0.4949 GB, free: 4.312 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.1622, allocations: 81.06 kB / 0.495 GB, free: 4.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.1624, allocations: 137 kB / 0.4951 GB, free: 4.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.1625, allocations: 0 / 0.4951 GB, free: 4.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003607/0.1628, allocations: 161.3 kB / 0.4953 GB, free: 3.898 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1629, allocations: 4 kB / 0.4953 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.1629, allocations: 0 / 0.4953 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1629, allocations: 4 kB / 0.4953 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.1631, allocations: 47.91 kB / 0.4953 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004076/0.1636, allocations: 0.5978 MB / 0.4959 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.1637, allocations: 19.88 kB / 0.4959 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1637, allocations: 4 kB / 0.4959 GB, free: 3.199 MB / 382.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.0001248/0.1638, allocations: 133.6 kB / 0.4961 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.1639, allocations: 7.906 kB / 0.4961 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000449/0.1643, allocations: 166.4 kB / 0.4962 GB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1643, allocations: 0 / 0.4962 GB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.1644, allocations: 3.938 kB / 0.4962 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.1644, allocations: 11.97 kB / 0.4963 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.1647, allocations: 213.5 kB / 0.4965 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.1647, allocations: 3.984 kB / 0.4965 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.1649, allocations: 39.92 kB / 0.4965 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.637e-06/0.1649, allocations: 4 kB / 0.4965 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.165, allocations: 11.92 kB / 0.4965 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003211/0.1653, allocations: 0.5821 MB / 0.4971 GB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1653, allocations: 0 / 0.4971 GB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005293/0.1658, allocations: 299.4 kB / 0.4974 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.632e-05/0.1659, allocations: 96.97 kB / 0.4975 GB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.166, allocations: 0 / 0.4975 GB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.1661, allocations: 11.98 kB / 0.4975 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/0.1662, allocations: 11.98 kB / 0.4975 GB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.1662, allocations: 0 / 0.4975 GB, free: 1.492 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.765e-05/0.1662, allocations: 91.22 kB / 0.4976 GB, free: 1.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1662, allocations: 4.062 kB / 0.4976 GB, free: 1.398 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004335/0.1667, allocations: 83.86 kB / 0.4977 GB, free: 1.316 MB / 382.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.0003877/0.1671, allocations: 163.1 kB / 0.4978 GB, free: 1.148 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004818/0.1676, allocations: 127.8 kB / 0.4979 GB, free: 1.023 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1676, allocations: 0 / 0.4979 GB, free: 1.023 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.1678, allocations: 75.89 kB / 0.498 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.1681, allocations: 8.312 kB / 0.498 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000723/0.1689, allocations: 315.5 kB / 0.4983 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.1692, allocations: 0.7041 MB / 0.499 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.931e-05/0.1693, allocations: 20.77 kB / 0.499 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.1693, allocations: 19.38 kB / 0.499 GB, free: 15.84 MB / 398.1 MB Notification: Performance of SimCode: time 3.696e-06/0.1693, allocations: 4 kB / 0.499 GB, free: 15.83 MB / 398.1 MB Notification: Performance of Templates: time 0.00608/0.1754, allocations: 2.258 MB / 0.5012 GB, free: 13.59 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches