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.001605/0.001605, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001932/0.001932, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.373/1.373, allocations: 222.9 MB / 243 MB, free: 15.1 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.2009/0.2009, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 65.56 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1352, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.005499/0.1407, allocations: 1.796 MB / 472.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003611/0.1444, allocations: 1.336 MB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.1445, allocations: 0 / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.1449, allocations: 39.77 kB / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003765/0.1453, allocations: 55.61 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.1464, allocations: 235.1 kB / 474.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.1467, allocations: 107.4 kB / 474.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.88e-05/0.1468, allocations: 12.98 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.147, allocations: 51.7 kB / 474.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.1472, allocations: 47.78 kB / 474.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.1472, allocations: 4 kB / 474.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.1485, allocations: 0.499 MB / 474.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.143e-05/0.1486, allocations: 19.86 kB / 474.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.568e-05/0.1487, allocations: 47.72 kB / 475 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008149/0.1495, allocations: 355 kB / 475.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1495, allocations: 3.938 kB / 475.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1495, allocations: 0 / 475.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.1495, allocations: 4 kB / 475.3 MB, free: 9.012 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.000877/0.1504, allocations: 431.2 kB / 475.7 MB, free: 8.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.17e-05/0.1505, allocations: 16.02 kB / 475.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.961e-05/0.1506, allocations: 8.844 kB / 475.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.1508, allocations: 180.2 kB / 475.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.1509, allocations: 8.375 kB / 475.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-05/0.1509, allocations: 16.12 kB / 476 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005105/0.1515, allocations: 133.6 kB / 476.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.1515, allocations: 0 / 476.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.1515, allocations: 8 kB / 476.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.1516, allocations: 4 kB / 476.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005595/0.1521, allocations: 135.9 kB / 476.2 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.1536, allocations: 0.5181 MB / 476.8 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004834/0.1541, allocations: 106.6 kB / 476.9 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.1543, allocations: 52.83 kB / 476.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/0.1544, allocations: 7.984 kB / 476.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.1545, allocations: 34.56 kB / 477 MB, free: 7.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 2.515e-06/0.1545, allocations: 3.938 kB / 477 MB, free: 7.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008502/0.1553, allocations: 165.8 kB / 477.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.1554, allocations: 55.41 kB / 477.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.1556, allocations: 109.8 kB / 477.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.1556, allocations: 29.7 kB / 477.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.998e-05/0.1557, allocations: 111.8 kB / 477.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/0.1558, allocations: 39.83 kB / 477.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.967e-05/0.1559, allocations: 33.61 kB / 477.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002289/0.1561, allocations: 318.8 kB / 477.8 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.1564, allocations: 43.91 kB / 477.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/0.1567, allocations: 85.05 kB / 477.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004979/0.1572, allocations: 140.9 kB / 478.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.1572, allocations: 4 kB / 478.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006358/0.1578, allocations: 145.5 kB / 478.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.1579, allocations: 12.16 kB / 478.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.495e-06/0.1579, allocations: 0 / 478.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.1579, allocations: 4 kB / 478.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004052/0.1584, allocations: 43.97 kB / 478.3 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005491/0.1589, allocations: 0.5975 MB / 478.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.1591, allocations: 12.02 kB / 478.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.1592, allocations: 8.094 kB / 478.9 MB, free: 5.137 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.0001425/0.1593, allocations: 125.7 kB / 479 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/0.1594, allocations: 7.906 kB / 479 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007553/0.1602, allocations: 181.8 kB / 479.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1602, allocations: 0 / 479.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.1602, allocations: 3.938 kB / 479.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.1602, allocations: 0 / 479.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004545/0.1607, allocations: 213.6 kB / 479.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1607, allocations: 0 / 479.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/0.1611, allocations: 43.91 kB / 479.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1612, allocations: 0 / 479.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.1612, allocations: 4 kB / 479.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000493/0.1617, allocations: 0.5899 MB / 480 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1617, allocations: 0 / 480 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008809/0.1626, allocations: 294.2 kB / 480.3 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.1628, allocations: 105 kB / 480.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.1629, allocations: 3.984 kB / 480.4 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.1631, allocations: 8 kB / 480.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.1632, allocations: 7.984 kB / 480.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.1632, allocations: 8 kB / 480.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.396e-05/0.1633, allocations: 87.27 kB / 480.5 MB, free: 3.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1633, allocations: 0 / 480.5 MB, free: 3.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006465/0.164, allocations: 79.83 kB / 480.6 MB, free: 3.277 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.0004743/0.1645, allocations: 171.1 kB / 480.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007312/0.1652, allocations: 123.8 kB / 480.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.1652, allocations: 0 / 480.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003698/0.1656, allocations: 75.95 kB / 481 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.1661, allocations: 9.906 kB / 481 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.1673, allocations: 323.9 kB / 481.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.1677, allocations: 0.704 MB / 482 MB, free: 1.828 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.1679, allocations: 16.56 kB / 482 MB, free: 1.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.148e-05/0.1679, allocations: 15.42 kB / 482 MB, free: 1.797 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.168, allocations: 4 kB / 482 MB, free: 1.793 MB / 350.1 MB Notification: Performance of Templates: time 0.009879/0.1778, allocations: 2.249 MB / 484.3 MB, free: 15.58 MB / 366.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 -s gbode -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