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.001117/0.001117, allocations: 102.2 kB / 15.98 MB, free: 6.352 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.001242/0.001242, allocations: 189.5 kB / 16.91 MB, free: 6.191 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.564/1.564, allocations: 205.1 MB / 222.8 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4063/0.4063, allocations: 43.5 MB / 313.6 MB, free: 8.547 MB / 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.001624/0.001624, allocations: 67.91 kB / 382.2 MB, free: 8.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1546, allocations: 57.79 MB / 440 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003466/0.1582, allocations: 1.859 MB / 441.9 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.1606, allocations: 1.376 MB / 443.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.79e-05/0.1607, allocations: 0 / 443.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.161, allocations: 35.83 kB / 443.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.1613, allocations: 47.69 kB / 443.3 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005163/0.1618, allocations: 215.3 kB / 443.6 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.1619, allocations: 107.4 kB / 443.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.425e-05/0.162, allocations: 13.11 kB / 443.7 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.1622, allocations: 43.73 kB / 443.7 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.606e-05/0.1623, allocations: 51.75 kB / 443.8 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.1623, allocations: 4 kB / 443.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006907/0.163, allocations: 0.4951 MB / 444.3 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.555e-05/0.163, allocations: 23.84 kB / 444.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.306e-05/0.1631, allocations: 35.75 kB / 444.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000488/0.1636, allocations: 359.3 kB / 444.7 MB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1636, allocations: 4 kB / 444.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1636, allocations: 0 / 444.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1636, allocations: 0 / 444.7 MB, free: 10.02 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.0006262/0.1642, allocations: 447 kB / 445.1 MB, free: 9.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.1643, allocations: 15.89 kB / 445.1 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.1644, allocations: 8.844 kB / 445.1 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.1645, allocations: 176.2 kB / 445.3 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.1645, allocations: 8.375 kB / 445.3 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.001e-05/0.1646, allocations: 20.12 kB / 445.3 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.1649, allocations: 142.4 kB / 445.5 MB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1649, allocations: 0 / 445.5 MB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.165, allocations: 8 kB / 445.5 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.165, allocations: 0 / 445.5 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.1653, allocations: 135.9 kB / 445.6 MB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.1663, allocations: 0.5182 MB / 446.1 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.1666, allocations: 102.6 kB / 446.2 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.1667, allocations: 52.81 kB / 446.3 MB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/0.1668, allocations: 7.984 kB / 446.3 MB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.1668, allocations: 34.56 kB / 446.3 MB, free: 8.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.1668, allocations: 0 / 446.3 MB, free: 8.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005743/0.1674, allocations: 169.4 kB / 446.5 MB, free: 8.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.1675, allocations: 51.41 kB / 446.5 MB, free: 7.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.1676, allocations: 117.8 kB / 446.7 MB, free: 7.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.1676, allocations: 25.7 kB / 446.7 MB, free: 7.797 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.758e-05/0.1677, allocations: 115.7 kB / 446.8 MB, free: 7.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.1678, allocations: 39.39 kB / 446.8 MB, free: 7.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.008e-05/0.1678, allocations: 37.7 kB / 446.9 MB, free: 7.598 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.168, allocations: 310.8 kB / 447.2 MB, free: 7.285 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.1681, allocations: 47.95 kB / 447.2 MB, free: 7.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.1683, allocations: 73.12 kB / 447.3 MB, free: 7.148 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.1686, allocations: 141.3 kB / 447.4 MB, free: 6.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1686, allocations: 0 / 447.4 MB, free: 6.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003566/0.169, allocations: 165.4 kB / 447.6 MB, free: 6.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.169, allocations: 4 kB / 447.6 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.169, allocations: 0 / 447.6 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.169, allocations: 4 kB / 447.6 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.1693, allocations: 47.91 kB / 447.7 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004456/0.1697, allocations: 0.586 MB / 448.2 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.1699, allocations: 24.02 kB / 448.3 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.1699, allocations: 8 kB / 448.3 MB, free: 6.129 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.000126/0.17, allocations: 117.8 kB / 448.4 MB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.1701, allocations: 7.906 kB / 448.4 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004385/0.1705, allocations: 170.3 kB / 448.6 MB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.1705, allocations: 0 / 448.6 MB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.1705, allocations: 3.938 kB / 448.6 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1705, allocations: 7.938 kB / 448.6 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.1708, allocations: 221.5 kB / 448.8 MB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1708, allocations: 0 / 448.8 MB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.171, allocations: 43.91 kB / 448.8 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.171, allocations: 4 kB / 448.8 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.1711, allocations: 4 kB / 448.8 MB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002991/0.1714, allocations: 0.5899 MB / 449.4 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1714, allocations: 0 / 449.4 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004874/0.1719, allocations: 299.6 kB / 449.7 MB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.909e-05/0.172, allocations: 96.95 kB / 449.8 MB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.172, allocations: 4 kB / 449.8 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.1721, allocations: 4 kB / 449.8 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.1722, allocations: 11.98 kB / 449.8 MB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.1722, allocations: 4 kB / 449.8 MB, free: 4.441 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.251e-05/0.1723, allocations: 91.27 kB / 449.9 MB, free: 4.352 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1723, allocations: 0 / 449.9 MB, free: 4.352 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003946/0.1727, allocations: 79.92 kB / 450 MB, free: 4.273 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.0003949/0.1731, allocations: 183.2 kB / 450.2 MB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004252/0.1735, allocations: 135.8 kB / 450.3 MB, free: 3.949 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1735, allocations: 0 / 450.3 MB, free: 3.949 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.1737, allocations: 75.89 kB / 450.4 MB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.1741, allocations: 8 kB / 450.4 MB, free: 3.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007272/0.1748, allocations: 367.7 kB / 450.8 MB, free: 3.484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.1752, allocations: 0.708 MB / 451.5 MB, free: 2.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.075e-05/0.1753, allocations: 16.55 kB / 451.5 MB, free: 2.734 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.1753, allocations: 15.44 kB / 451.5 MB, free: 2.719 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1753, allocations: 0 / 451.5 MB, free: 2.719 MB / 382.1 MB Notification: Performance of Templates: time 0.005649/0.181, allocations: 2.181 MB / 453.7 MB, free: 0.5469 MB / 382.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","../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