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.001184/0.001184, allocations: 96.52 kB / 16.98 MB, free: 5.938 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.001432/0.001432, allocations: 186.1 kB / 17.88 MB, free: 5.594 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.478/1.478, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2094/0.2094, allocations: 44.22 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003608, allocations: 8 kB / 409.5 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1502, allocations: 61.93 MB / 471.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002719/0.153, allocations: 1.446 MB / 472.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.1554, allocations: 1.182 MB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.1555, allocations: 0 / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.1558, allocations: 31.88 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.156, allocations: 55.78 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006379/0.1567, allocations: 199.5 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.1568, allocations: 75.8 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.016e-05/0.1569, allocations: 12.98 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.1571, allocations: 43.78 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.244e-05/0.1572, allocations: 43.83 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.1572, allocations: 4 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007363/0.1579, allocations: 499.2 kB / 475 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.409e-05/0.158, allocations: 15.91 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.736e-05/0.158, allocations: 41.64 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003704/0.1584, allocations: 219.9 kB / 475.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1584, allocations: 0 / 475.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1584, allocations: 0 / 475.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.1584, allocations: 0 / 475.3 MB, free: 9.824 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.0005829/0.159, allocations: 419 kB / 475.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.1591, allocations: 20.02 kB / 475.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.1591, allocations: 11.84 kB / 475.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.1593, allocations: 171 kB / 475.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.1593, allocations: 8 kB / 475.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.1593, allocations: 15.91 kB / 475.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.1596, allocations: 141.6 kB / 476.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1597, allocations: 0 / 476.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.1597, allocations: 8 kB / 476.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1597, allocations: 4 kB / 476.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.16, allocations: 152.8 kB / 476.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009643/0.161, allocations: 0.5299 MB / 476.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.1613, allocations: 114.6 kB / 476.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.1613, allocations: 0 / 476.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.1614, allocations: 38.45 kB / 476.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 8.81e-07/0.1614, allocations: 4 kB / 476.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004852/0.1619, allocations: 169.6 kB / 477.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.1619, allocations: 51.41 kB / 477.1 MB, free: 7.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.693e-05/0.162, allocations: 117.9 kB / 477.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.162, allocations: 29.91 kB / 477.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.28e-05/0.1621, allocations: 107.8 kB / 477.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.1622, allocations: 43.41 kB / 477.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.1622, allocations: 4 kB / 477.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1623, allocations: 318.8 kB / 477.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.1625, allocations: 47.91 kB / 477.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.1626, allocations: 89.05 kB / 477.9 MB, free: 7.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.1628, allocations: 47.98 kB / 477.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1628, allocations: 0 / 477.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003432/0.1631, allocations: 169.8 kB / 478.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1632, allocations: 7.953 kB / 478.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.1632, allocations: 4 kB / 478.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1632, allocations: 4.156 kB / 478.1 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.1634, allocations: 55.89 kB / 478.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003721/0.1638, allocations: 0.586 MB / 478.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.1639, allocations: 16.3 kB / 478.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.164, allocations: 12.09 kB / 478.8 MB, free: 6.078 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 (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.0001146/0.1641, allocations: 130.2 kB / 478.9 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.1641, allocations: 7.906 kB / 478.9 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004561/0.1646, allocations: 177.9 kB / 479.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1646, allocations: 0 / 479.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1646, allocations: 0 / 479.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.1646, allocations: 7.984 kB / 479.1 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.1649, allocations: 221.4 kB / 479.3 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1649, allocations: 4 kB / 479.3 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.1651, allocations: 43.91 kB / 479.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1651, allocations: 0 / 479.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.1652, allocations: 8 kB / 479.4 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003365/0.1655, allocations: 0.5821 MB / 480 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1655, allocations: 0 / 480 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004686/0.166, allocations: 311.4 kB / 480.3 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.363e-05/0.1661, allocations: 101 kB / 480.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.1661, allocations: 0 / 480.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.1662, allocations: 11.98 kB / 480.4 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.1663, allocations: 11.98 kB / 480.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.1663, allocations: 4 kB / 480.4 MB, free: 4.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.611e-05/0.1663, allocations: 91.27 kB / 480.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1663, allocations: 0 / 480.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003744/0.1667, allocations: 71.92 kB / 480.5 MB, free: 4.195 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 (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.000323/0.1671, allocations: 171.1 kB / 480.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003992/0.1675, allocations: 143.8 kB / 480.9 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1675, allocations: 0 / 480.9 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.1677, allocations: 88.14 kB / 480.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.1679, allocations: 7.953 kB / 480.9 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000692/0.1686, allocations: 369.6 kB / 481.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.169, allocations: 0.7082 MB / 482 MB, free: 2.668 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.408e-05/0.1691, allocations: 20.77 kB / 482 MB, free: 2.648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.226e-05/0.1691, allocations: 19.44 kB / 482.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1691, allocations: 0 / 482.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of Templates: time 0.005539/0.1747, allocations: 2.051 MB / 484.1 MB, free: 0.6094 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/jenkins/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","../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