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.001009/0.001009, allocations: 95.77 kB / 15.7 MB, free: 464 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 174.3 kB / 16.58 MB, free: 6.844 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.783/1.783, allocations: 205.4 MB / 222.7 MB, free: 5.656 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.3993/0.3993, allocations: 43.57 MB / 314.6 MB, free: 9.039 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.00055/0.0005501, allocations: 18.5 kB / 384 MB, free: 8.207 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1633, allocations: 58.85 MB / 442.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002398/0.1658, allocations: 1.485 MB / 444.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.1681, allocations: 1.28 MB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.306e-05/0.1682, allocations: 0 / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.1685, allocations: 31.83 kB / 445.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.1687, allocations: 47.69 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.1691, allocations: 195.4 kB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.1693, allocations: 103.4 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.981e-05/0.1693, allocations: 9.109 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.1695, allocations: 43.78 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.126e-05/0.1695, allocations: 47.77 kB / 446.1 MB, free: 9.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.1696, allocations: 4 kB / 446.1 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006647/0.1702, allocations: 479 kB / 446.5 MB, free: 9.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.1703, allocations: 15.86 kB / 446.6 MB, free: 9.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.1703, allocations: 37.7 kB / 446.6 MB, free: 9.461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.1707, allocations: 223.7 kB / 446.8 MB, free: 9.242 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1707, allocations: 4 kB / 446.8 MB, free: 9.238 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1707, allocations: 0 / 446.8 MB, free: 9.238 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1707, allocations: 0 / 446.8 MB, free: 9.238 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.0006492/0.1714, allocations: 423 kB / 447.2 MB, free: 8.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.1714, allocations: 8.031 kB / 447.2 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/0.1715, allocations: 23.7 kB / 447.3 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.1717, allocations: 178.9 kB / 447.4 MB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.1717, allocations: 12 kB / 447.4 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.1717, allocations: 12 kB / 447.5 MB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004096/0.1721, allocations: 154.3 kB / 447.6 MB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1722, allocations: 0 / 447.6 MB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.1722, allocations: 0 / 447.6 MB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.1722, allocations: 4 kB / 447.6 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.1725, allocations: 155.8 kB / 447.8 MB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00099/0.1735, allocations: 0.5105 MB / 448.3 MB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.1738, allocations: 106.6 kB / 448.4 MB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.174, allocations: 56.83 kB / 448.4 MB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.174, allocations: 0 / 448.4 MB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.1741, allocations: 34.56 kB / 448.5 MB, free: 7.398 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.1741, allocations: 0 / 448.5 MB, free: 7.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005238/0.1746, allocations: 181.4 kB / 448.6 MB, free: 7.215 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.1747, allocations: 51.41 kB / 448.7 MB, free: 7.152 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.1748, allocations: 121.9 kB / 448.8 MB, free: 7.023 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.1748, allocations: 29.69 kB / 448.8 MB, free: 6.988 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.826e-05/0.1749, allocations: 115.8 kB / 449 MB, free: 6.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.175, allocations: 39.41 kB / 449 MB, free: 6.832 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.175, allocations: 0 / 449 MB, free: 6.832 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1751, allocations: 318.8 kB / 449.3 MB, free: 6.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.1753, allocations: 43.97 kB / 449.3 MB, free: 6.469 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.1754, allocations: 89.11 kB / 449.4 MB, free: 6.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.1756, allocations: 51.92 kB / 449.5 MB, free: 6.312 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1756, allocations: 0 / 449.5 MB, free: 6.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000374/0.176, allocations: 169.3 kB / 449.6 MB, free: 6.141 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.176, allocations: 8.156 kB / 449.7 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.176, allocations: 4 kB / 449.7 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.176, allocations: 4 kB / 449.7 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.1763, allocations: 47.97 kB / 449.7 MB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000429/0.1767, allocations: 0.5859 MB / 450.3 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.1768, allocations: 31.95 kB / 450.3 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.1768, allocations: 4 kB / 450.3 MB, free: 5.434 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.177, allocations: 117.8 kB / 450.4 MB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.177, allocations: 7.906 kB / 450.5 MB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004293/0.1774, allocations: 194.1 kB / 450.6 MB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1775, allocations: 0 / 450.6 MB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.1775, allocations: 4 kB / 450.6 MB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1775, allocations: 0 / 450.6 MB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.1778, allocations: 213.5 kB / 450.9 MB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1778, allocations: 4 kB / 450.9 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.178, allocations: 43.97 kB / 450.9 MB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.178, allocations: 0 / 450.9 MB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.178, allocations: 12 kB / 450.9 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003286/0.1783, allocations: 0.5898 MB / 451.5 MB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1784, allocations: 4.094 kB / 451.5 MB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004604/0.1788, allocations: 303.5 kB / 451.8 MB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.1789, allocations: 100.9 kB / 451.9 MB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.1789, allocations: 4 kB / 451.9 MB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.179, allocations: 8 kB / 451.9 MB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.1791, allocations: 15.97 kB / 451.9 MB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.1791, allocations: 11.92 kB / 451.9 MB, free: 3.703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.899e-05/0.1792, allocations: 87.28 kB / 452 MB, free: 3.617 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1792, allocations: 0 / 452 MB, free: 3.617 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003701/0.1795, allocations: 76.17 kB / 452.1 MB, free: 3.543 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003059/0.1799, allocations: 175 kB / 452.3 MB, free: 3.359 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003871/0.1802, allocations: 135.9 kB / 452.4 MB, free: 3.227 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1803, allocations: 0 / 452.4 MB, free: 3.227 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.1805, allocations: 88.2 kB / 452.5 MB, free: 3.141 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.1808, allocations: 11.66 kB / 452.5 MB, free: 3.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006643/0.1814, allocations: 376 kB / 452.9 MB, free: 2.742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.1818, allocations: 0.7043 MB / 453.6 MB, free: 2.012 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.1819, allocations: 20.41 kB / 453.6 MB, free: 1.992 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.1819, allocations: 15.44 kB / 453.6 MB, free: 1.977 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1819, allocations: 0 / 453.6 MB, free: 1.977 MB / 382.1 MB Notification: Performance of Templates: time 0.2474/0.4293, allocations: 2.073 MB / 455.7 MB, free: 46.19 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