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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001526/0.001526, allocations: 185.4 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001087/0.001086, allocations: 94.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2057/0.2057, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003459, allocations: 8 kB / 431.4 MB, free: 19.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1342, allocations: 58.85 MB / 490.3 MB, free: 8.648 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5022/0.6366, allocations: 93.01 MB / 0.5696 GB, free: 6.793 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003961/0.637, allocations: 99.56 kB / 0.5697 GB, free: 6.734 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02416/0.6612, allocations: 7.716 MB / 0.5772 GB, free: 52 kB / 378.7 MB Notification: Performance of FrontEnd: time 3.607e-06/0.6613, allocations: 0 / 0.5772 GB, free: 52 kB / 378.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.6613, allocations: 7.938 kB / 0.5772 GB, free: 44 kB / 378.7 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.0007251/0.6621, allocations: 450.3 kB / 0.5777 GB, free: 15.56 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.31e-05/0.6621, allocations: 12.03 kB / 0.5777 GB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.949e-05/0.6622, allocations: 15.81 kB / 0.5777 GB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.6624, allocations: 171 kB / 0.5779 GB, free: 15.33 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.6624, allocations: 7.688 kB / 0.5779 GB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.6624, allocations: 11.62 kB / 0.5779 GB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.6628, allocations: 148.2 kB / 0.578 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.6628, allocations: 0 / 0.578 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.6628, allocations: 3.562 kB / 0.578 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.6628, allocations: 8 kB / 0.578 GB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.6631, allocations: 139 kB / 0.5782 GB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.6643, allocations: 0.5313 MB / 0.5787 GB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.6646, allocations: 108.3 kB / 0.5788 GB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.6646, allocations: 4 kB / 0.5788 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.6647, allocations: 34.53 kB / 0.5788 GB, free: 14.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 4.278e-06/0.6647, allocations: 3.984 kB / 0.5788 GB, free: 14.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005145/0.6652, allocations: 173.9 kB / 0.579 GB, free: 14.26 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.6652, allocations: 55.41 kB / 0.579 GB, free: 14.19 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.6654, allocations: 108.5 kB / 0.5791 GB, free: 14.08 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.6654, allocations: 29.7 kB / 0.5792 GB, free: 14.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.746e-05/0.6655, allocations: 111.6 kB / 0.5793 GB, free: 13.94 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.6655, allocations: 41.89 kB / 0.5793 GB, free: 13.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.926e-06/0.6655, allocations: 3.312 kB / 0.5793 GB, free: 13.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002434/0.6658, allocations: 330.8 kB / 0.5796 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.6659, allocations: 37.72 kB / 0.5797 GB, free: 13.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.6661, allocations: 86.12 kB / 0.5798 GB, free: 13.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.6663, allocations: 51.91 kB / 0.5798 GB, free: 13.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6663, allocations: 0 / 0.5798 GB, free: 13.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000367/0.6667, allocations: 167.8 kB / 0.58 GB, free: 13.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.6667, allocations: 11.44 kB / 0.58 GB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.6667, allocations: 0 / 0.58 GB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.6667, allocations: 4.375 kB / 0.58 GB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.667, allocations: 56.06 kB / 0.58 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005239/0.6675, allocations: 0.5918 MB / 0.5806 GB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.6677, allocations: 23.17 kB / 0.5806 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.6677, allocations: 11.92 kB / 0.5806 GB, free: 12.56 MB / 394.7 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.0001449/0.6679, allocations: 124.2 kB / 0.5808 GB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.6679, allocations: 7.906 kB / 0.5808 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004887/0.6684, allocations: 179.4 kB / 0.5809 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.6684, allocations: 7.938 kB / 0.581 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/0.6684, allocations: 3.938 kB / 0.581 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.6685, allocations: 0 / 0.581 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.6688, allocations: 216.4 kB / 0.5812 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6688, allocations: 0 / 0.5812 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.669, allocations: 43.97 kB / 0.5812 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.669, allocations: 3.984 kB / 0.5812 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.669, allocations: 7.125 kB / 0.5812 GB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004125/0.6695, allocations: 0.5855 MB / 0.5818 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6695, allocations: 0 / 0.5818 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005403/0.67, allocations: 308.2 kB / 0.5821 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.58e-05/0.6701, allocations: 93.02 kB / 0.5822 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.6701, allocations: 3.625 kB / 0.5822 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.6703, allocations: 12 kB / 0.5822 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.6703, allocations: 15 kB / 0.5822 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.6704, allocations: 7.984 kB / 0.5822 GB, free: 10.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.276e-05/0.6704, allocations: 86.41 kB / 0.5823 GB, free: 10.87 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6704, allocations: 0 / 0.5823 GB, free: 10.87 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004951/0.6709, allocations: 89.45 kB / 0.5824 GB, free: 10.79 MB / 394.7 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.0004948/0.6714, allocations: 213.1 kB / 0.5826 GB, free: 10.58 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004539/0.6719, allocations: 130.4 kB / 0.5827 GB, free: 10.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.6719, allocations: 0 / 0.5827 GB, free: 10.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.6721, allocations: 79.27 kB / 0.5828 GB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.6724, allocations: 11.73 kB / 0.5828 GB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007635/0.6732, allocations: 371.4 kB / 0.5831 GB, free: 10.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.6735, allocations: 0.7082 MB / 0.5838 GB, free: 9.289 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.544e-05/0.6736, allocations: 12.56 kB / 0.5838 GB, free: 9.273 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.27e-05/0.6737, allocations: 15.42 kB / 0.5839 GB, free: 9.262 MB / 394.7 MB Notification: Performance of SimCode: time 4.01e-07/0.6737, allocations: 0 / 0.5839 GB, free: 9.262 MB / 394.7 MB Notification: Performance of Templates: time 0.006878/0.6806, allocations: 2.291 MB / 0.5861 GB, free: 6.988 MB / 394.7 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