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.0009475/0.0009473, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007812/0.0007814, allocations: 82.3 kB / 261.7 MB, free: 1.629 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1974/0.1974, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.367e-05/1.37e-05, allocations: 0 / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1113, allocations: 58.86 MB / 477.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3661/0.4774, allocations: 92.26 MB / 0.556 GB, free: 3.227 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.4778, allocations: 101.8 kB / 0.5561 GB, free: 3.172 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02171/0.4995, allocations: 7.644 MB / 0.5636 GB, free: 12.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.486e-06/0.4996, allocations: 0 / 0.5636 GB, free: 12.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.4996, allocations: 3.938 kB / 0.5636 GB, free: 12.66 MB / 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.0005782/0.5002, allocations: 437.8 kB / 0.564 GB, free: 12.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.5002, allocations: 8.031 kB / 0.564 GB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.5003, allocations: 11.91 kB / 0.564 GB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.5004, allocations: 185.5 kB / 0.5642 GB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.5004, allocations: 4 kB / 0.5642 GB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.5005, allocations: 4 kB / 0.5642 GB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001964/0.5007, allocations: 102.7 kB / 0.5643 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.5009, allocations: 111.9 kB / 0.5644 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.5009, allocations: 0 / 0.5644 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.5009, allocations: 0 / 0.5644 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.5009, allocations: 8 kB / 0.5644 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008561/0.5018, allocations: 0.4929 MB / 0.5649 GB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.502, allocations: 83.62 kB / 0.565 GB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.198e-05/0.5021, allocations: 34.67 kB / 0.565 GB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.5021, allocations: 0 / 0.565 GB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.5021, allocations: 37.31 kB / 0.5651 GB, free: 11.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.5021, allocations: 0 / 0.5651 GB, free: 11.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002296/0.5024, allocations: 93.8 kB / 0.5652 GB, free: 11.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.5024, allocations: 59.41 kB / 0.5652 GB, free: 11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.131e-05/0.5025, allocations: 109 kB / 0.5653 GB, free: 10.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.5026, allocations: 25.7 kB / 0.5653 GB, free: 10.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/0.5026, allocations: 107.7 kB / 0.5655 GB, free: 10.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.5027, allocations: 46.58 kB / 0.5655 GB, free: 10.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-06/0.5027, allocations: 0 / 0.5655 GB, free: 10.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.5028, allocations: 318.8 kB / 0.5658 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.279e-05/0.5029, allocations: 22.75 kB / 0.5658 GB, free: 10.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.49e-05/0.503, allocations: 66.14 kB / 0.5659 GB, free: 10.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.878e-05/0.503, allocations: 30.09 kB / 0.5659 GB, free: 10.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.503, allocations: 3.953 kB / 0.5659 GB, free: 10.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001827/0.5032, allocations: 125.6 kB / 0.566 GB, free: 10.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.5033, allocations: 4 kB / 0.566 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.5033, allocations: 7.984 kB / 0.566 GB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.5033, allocations: 3.984 kB / 0.5661 GB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.5035, allocations: 51.28 kB / 0.5661 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004573/0.504, allocations: 0.5817 MB / 0.5667 GB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.5041, allocations: 23.98 kB / 0.5667 GB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.5041, allocations: 7.953 kB / 0.5667 GB, free: 9.469 MB / 378.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 () * 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.0001043/0.5043, allocations: 112.2 kB / 0.5668 GB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.5043, allocations: 7.906 kB / 0.5668 GB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/0.5046, allocations: 134.5 kB / 0.5669 GB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.5046, allocations: 4 kB / 0.5669 GB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.5046, allocations: 0 / 0.5669 GB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.5046, allocations: 0 / 0.5669 GB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.5049, allocations: 186 kB / 0.5671 GB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5049, allocations: 0 / 0.5671 GB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.5051, allocations: 51.34 kB / 0.5672 GB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.5051, allocations: 0 / 0.5672 GB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.5052, allocations: 4 kB / 0.5672 GB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002932/0.5055, allocations: 0.5891 MB / 0.5678 GB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5055, allocations: 0 / 0.5678 GB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.5057, allocations: 251.4 kB / 0.568 GB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.298e-05/0.5058, allocations: 96.22 kB / 0.5681 GB, free: 8.031 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.5058, allocations: 0 / 0.5681 GB, free: 8.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.5059, allocations: 11.98 kB / 0.5681 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.506, allocations: 11.92 kB / 0.5681 GB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.506, allocations: 7.375 kB / 0.5681 GB, free: 8.004 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.786e-05/0.506, allocations: 90.48 kB / 0.5682 GB, free: 7.918 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5061, allocations: 0 / 0.5682 GB, free: 7.918 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004144/0.5065, allocations: 87.14 kB / 0.5683 GB, free: 7.836 MB / 378.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 () * 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.0003504/0.5068, allocations: 195.1 kB / 0.5685 GB, free: 7.633 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.5071, allocations: 92.05 kB / 0.5686 GB, free: 7.562 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5071, allocations: 0 / 0.5686 GB, free: 7.562 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.5072, allocations: 55.86 kB / 0.5686 GB, free: 7.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.5074, allocations: 6.734 kB / 0.5686 GB, free: 7.516 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.5079, allocations: 167.9 kB / 0.5688 GB, free: 7.336 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.5082, allocations: 0.7158 MB / 0.5695 GB, free: 6.594 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.199e-05/0.5083, allocations: 20.75 kB / 0.5695 GB, free: 6.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.5083, allocations: 19.44 kB / 0.5695 GB, free: 6.555 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5083, allocations: 0 / 0.5695 GB, free: 6.555 MB / 378.7 MB Notification: Performance of Templates: time 0.004958/0.5133, allocations: 2.142 MB / 0.5716 GB, free: 4.441 MB / 378.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