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.001146/0.001146, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.001108/0.001108, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.401/1.401, allocations: 222.9 MB / 242.4 MB, free: 15.45 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.2247/0.2247, allocations: 44.18 MB / 336.8 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 65.25 kB / 408.4 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1423, allocations: 60.82 MB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.004724/0.1471, allocations: 1.859 MB / 471.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003051/0.1502, allocations: 1.36 MB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.1503, allocations: 8 kB / 472.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.1506, allocations: 31.83 kB / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002923/0.151, allocations: 43.69 kB / 472.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008419/0.1518, allocations: 207.4 kB / 472.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.152, allocations: 107.4 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.692e-05/0.1521, allocations: 8.984 kB / 472.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.1523, allocations: 47.73 kB / 472.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.1525, allocations: 55.69 kB / 472.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.1525, allocations: 4 kB / 472.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.1536, allocations: 495 kB / 473.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.926e-05/0.1536, allocations: 23.91 kB / 473.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.075e-05/0.1537, allocations: 43.67 kB / 473.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005398/0.1543, allocations: 219.8 kB / 473.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1543, allocations: 4 kB / 473.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1543, allocations: 0 / 473.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1543, allocations: 0 / 473.7 MB, free: 10.31 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.0007654/0.1551, allocations: 435.2 kB / 474.1 MB, free: 9.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.1551, allocations: 8.031 kB / 474.1 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.55e-05/0.1552, allocations: 8.844 kB / 474.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.1554, allocations: 184.2 kB / 474.3 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.1554, allocations: 12.31 kB / 474.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/0.1555, allocations: 16.12 kB / 474.3 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004381/0.1559, allocations: 138.1 kB / 474.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.156, allocations: 0 / 474.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.156, allocations: 4 kB / 474.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.156, allocations: 4 kB / 474.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004673/0.1565, allocations: 133.2 kB / 474.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.1577, allocations: 0.5298 MB / 475.1 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/0.1581, allocations: 102.6 kB / 475.2 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.1583, allocations: 48.83 kB / 475.3 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.1583, allocations: 4 kB / 475.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.1584, allocations: 30.56 kB / 475.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.1584, allocations: 0 / 475.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005901/0.159, allocations: 173.4 kB / 475.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.159, allocations: 51.41 kB / 475.5 MB, free: 8.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.462e-05/0.1591, allocations: 113.8 kB / 475.6 MB, free: 8.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.1592, allocations: 33.7 kB / 475.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.1592, allocations: 107.8 kB / 475.8 MB, free: 7.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.1593, allocations: 35.45 kB / 475.8 MB, free: 7.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.515e-05/0.1594, allocations: 33.62 kB / 475.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1595, allocations: 322.8 kB / 476.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.1597, allocations: 43.91 kB / 476.2 MB, free: 7.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.1598, allocations: 80.06 kB / 476.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.1602, allocations: 136.9 kB / 476.4 MB, free: 7.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1602, allocations: 0 / 476.4 MB, free: 7.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004309/0.1606, allocations: 161.4 kB / 476.6 MB, free: 7.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1607, allocations: 4 kB / 476.6 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.1607, allocations: 4 kB / 476.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.1607, allocations: 3.984 kB / 476.6 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.161, allocations: 47.91 kB / 476.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003908/0.1614, allocations: 0.5938 MB / 477.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.1615, allocations: 12.02 kB / 477.2 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.1616, allocations: 8.375 kB / 477.3 MB, free: 6.441 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.000109/0.1617, allocations: 121.7 kB / 477.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.1617, allocations: 7.906 kB / 477.4 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005532/0.1623, allocations: 180.8 kB / 477.6 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.1623, allocations: 4 kB / 477.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1623, allocations: 3.938 kB / 477.6 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1623, allocations: 0 / 477.6 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.1627, allocations: 209.6 kB / 477.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.1627, allocations: 4 kB / 477.8 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.1629, allocations: 51.91 kB / 477.8 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.163, allocations: 0 / 477.8 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.163, allocations: 0 / 477.8 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002888/0.1633, allocations: 0.586 MB / 478.4 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1633, allocations: 0 / 478.4 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004672/0.1638, allocations: 299.4 kB / 478.7 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-05/0.1638, allocations: 96.91 kB / 478.8 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.1639, allocations: 3.938 kB / 478.8 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.164, allocations: 11.98 kB / 478.8 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.164, allocations: 11.98 kB / 478.8 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.1641, allocations: 8 kB / 478.8 MB, free: 4.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.385e-05/0.1641, allocations: 91.33 kB / 478.9 MB, free: 4.652 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1641, allocations: 0 / 478.9 MB, free: 4.652 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003639/0.1645, allocations: 79.83 kB / 479 MB, free: 4.574 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.000337/0.1648, allocations: 171.6 kB / 479.2 MB, free: 4.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005778/0.1654, allocations: 123.8 kB / 479.3 MB, free: 4.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1654, allocations: 0 / 479.3 MB, free: 4.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002772/0.1657, allocations: 71.95 kB / 479.4 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005514/0.1663, allocations: 20.95 kB / 479.4 MB, free: 4.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009633/0.1673, allocations: 372.1 kB / 479.7 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.1676, allocations: 0.7043 MB / 480.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.216e-05/0.1677, allocations: 19.38 kB / 480.5 MB, free: 3.043 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1677, allocations: 0 / 480.5 MB, free: 3.043 MB / 350.1 MB Notification: Performance of Templates: time 0.006777/0.1745, allocations: 2.495 MB / 483 MB, free: 0.5547 MB / 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