Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002168/0.002168, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001542/0.001542, allocations: 97.36 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3987/0.3987, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.947e-05/1.97e-05, allocations: 4 kB / 418.3 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4606/0.4606, allocations: 58.85 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1731/0.6338, allocations: 92.27 MB / 0.556 GB, free: 7.043 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003988/0.6343, allocations: 103.4 kB / 0.5561 GB, free: 6.945 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04038/0.6747, allocations: 7.638 MB / 0.5636 GB, free: 15.28 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.6748, allocations: 4 kB / 0.5636 GB, free: 15.27 MB / 411.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.6748, allocations: 4 kB / 0.5636 GB, free: 15.27 MB / 411.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.0007438/0.6755, allocations: 430.1 kB / 0.564 GB, free: 14.8 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.6756, allocations: 12.03 kB / 0.564 GB, free: 14.79 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.222e-05/0.6757, allocations: 7.906 kB / 0.564 GB, free: 14.79 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.6759, allocations: 182.8 kB / 0.5642 GB, free: 14.57 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.6759, allocations: 4 kB / 0.5642 GB, free: 14.56 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.6759, allocations: 12 kB / 0.5642 GB, free: 14.55 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003035/0.6763, allocations: 108 kB / 0.5643 GB, free: 14.45 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.6765, allocations: 97.66 kB / 0.5644 GB, free: 14.34 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.6766, allocations: 0 / 0.5644 GB, free: 14.34 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.6766, allocations: 0 / 0.5644 GB, free: 14.34 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.6766, allocations: 4 kB / 0.5644 GB, free: 14.34 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.6779, allocations: 0.4992 MB / 0.5649 GB, free: 13.79 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.6782, allocations: 78.69 kB / 0.565 GB, free: 13.7 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.09e-05/0.6783, allocations: 28.86 kB / 0.565 GB, free: 13.67 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.607e-05/0.6783, allocations: 15.92 kB / 0.565 GB, free: 13.65 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.6784, allocations: 34.56 kB / 0.565 GB, free: 13.61 MB / 411.1 MB Notification: Performance of pre-optimization done (n=11): time 2.284e-06/0.6784, allocations: 0 / 0.565 GB, free: 13.61 MB / 411.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003408/0.6787, allocations: 101.6 kB / 0.5651 GB, free: 13.5 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.6788, allocations: 55.41 kB / 0.5652 GB, free: 13.44 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.6789, allocations: 101.2 kB / 0.5653 GB, free: 13.33 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.6789, allocations: 25.7 kB / 0.5653 GB, free: 13.3 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.6791, allocations: 178.2 kB / 0.5655 GB, free: 13.12 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.6791, allocations: 43.39 kB / 0.5655 GB, free: 13.08 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.799e-06/0.6791, allocations: 0 / 0.5655 GB, free: 13.08 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.6793, allocations: 319.8 kB / 0.5658 GB, free: 12.76 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.362e-05/0.6794, allocations: 24 kB / 0.5659 GB, free: 12.73 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.6795, allocations: 61.14 kB / 0.5659 GB, free: 12.66 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.977e-05/0.6796, allocations: 31.98 kB / 0.5659 GB, free: 12.62 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.6796, allocations: 7.953 kB / 0.566 GB, free: 12.62 MB / 411.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003204/0.68, allocations: 121.4 kB / 0.5661 GB, free: 12.49 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.68, allocations: 4 kB / 0.5661 GB, free: 12.49 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.68, allocations: 4 kB / 0.5661 GB, free: 12.48 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.68, allocations: 0 / 0.5661 GB, free: 12.48 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004186/0.6805, allocations: 52.06 kB / 0.5661 GB, free: 12.43 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004605/0.6809, allocations: 0.5821 MB / 0.5667 GB, free: 11.83 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.6812, allocations: 19.92 kB / 0.5667 GB, free: 11.81 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.6812, allocations: 11.95 kB / 0.5667 GB, free: 11.8 MB / 411.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 () * 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.0001196/0.6813, allocations: 116.9 kB / 0.5668 GB, free: 11.68 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.6814, allocations: 7.906 kB / 0.5668 GB, free: 11.67 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004672/0.6819, allocations: 135.7 kB / 0.567 GB, free: 11.54 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.6819, allocations: 4 kB / 0.567 GB, free: 11.53 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6819, allocations: 4 kB / 0.567 GB, free: 11.53 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.682, allocations: 3.984 kB / 0.567 GB, free: 11.52 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/0.6823, allocations: 182 kB / 0.5672 GB, free: 11.31 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.6823, allocations: 0 / 0.5672 GB, free: 11.31 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003872/0.6827, allocations: 51.91 kB / 0.5672 GB, free: 11.26 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.6828, allocations: 0 / 0.5672 GB, free: 11.26 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.6828, allocations: 0 / 0.5672 GB, free: 11.26 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000441/0.6833, allocations: 0.5938 MB / 0.5678 GB, free: 10.64 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.6833, allocations: 0 / 0.5678 GB, free: 10.64 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004407/0.6837, allocations: 252.2 kB / 0.568 GB, free: 10.38 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.6838, allocations: 96.97 kB / 0.5681 GB, free: 10.27 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.6839, allocations: 0 / 0.5681 GB, free: 10.27 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.6841, allocations: 11.98 kB / 0.5681 GB, free: 10.25 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.6842, allocations: 16.08 kB / 0.5681 GB, free: 10.24 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.6842, allocations: 4 kB / 0.5681 GB, free: 10.23 MB / 411.1 MB Notification: Performance of sorting global known variables: time 6.553e-05/0.6843, allocations: 91.22 kB / 0.5682 GB, free: 10.14 MB / 411.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6843, allocations: 4 kB / 0.5682 GB, free: 10.14 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.000567/0.6849, allocations: 79.78 kB / 0.5683 GB, free: 10.06 MB / 411.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 () * 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.0005087/0.6854, allocations: 197.7 kB / 0.5685 GB, free: 9.859 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0004142/0.6858, allocations: 87.92 kB / 0.5686 GB, free: 9.773 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.6859, allocations: 3.938 kB / 0.5686 GB, free: 9.77 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000237/0.6861, allocations: 52.23 kB / 0.5686 GB, free: 9.719 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.6864, allocations: 8.156 kB / 0.5687 GB, free: 9.711 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007211/0.6871, allocations: 204.5 kB / 0.5688 GB, free: 9.48 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.6875, allocations: 0.708 MB / 0.5695 GB, free: 8.746 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.085e-05/0.6876, allocations: 19.42 kB / 0.5696 GB, free: 8.73 MB / 411.1 MB Notification: Performance of SimCode: time 1.293e-06/0.6876, allocations: 0 / 0.5696 GB, free: 8.73 MB / 411.1 MB Notification: Performance of Templates: time 0.007744/0.6953, allocations: 2.737 MB / 0.5722 GB, free: 6.008 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches