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.00103/0.00103, allocations: 111.4 kB / 18.45 MB, free: 4.602 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.001198/0.001198, allocations: 183 kB / 19.38 MB, free: 3.684 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.256/1.256, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.1913/0.1913, allocations: 44.19 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 67.88 kB / 471.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3208, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002572/0.3234, allocations: 1.801 MB / 0.5214 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.3252, allocations: 1.338 MB / 0.5227 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.712e-05/0.3253, allocations: 0 / 0.5227 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002074/0.3255, allocations: 41.2 kB / 0.5227 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.3257, allocations: 56.97 kB / 0.5228 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005275/0.3262, allocations: 242.5 kB / 0.523 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.3263, allocations: 103.8 kB / 0.5231 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.078e-05/0.3264, allocations: 5.938 kB / 0.5231 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.3265, allocations: 52.84 kB / 0.5231 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.639e-05/0.3266, allocations: 55.28 kB / 0.5232 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.3266, allocations: 4.125 kB / 0.5232 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007547/0.3274, allocations: 0.4966 MB / 0.5237 GB, free: 1.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.203e-05/0.3274, allocations: 17.59 kB / 0.5237 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.212e-05/0.3275, allocations: 45 kB / 0.5237 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005321/0.328, allocations: 352.1 kB / 0.5241 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3281, allocations: 2.719 kB / 0.5241 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3281, allocations: 3.938 kB / 0.5241 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3281, allocations: 0 / 0.5241 GB, free: 0.8594 MB / 382.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.0005204/0.3286, allocations: 439.9 kB / 0.5245 GB, free: 452 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3286, allocations: 11.22 kB / 0.5245 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.3287, allocations: 10.97 kB / 0.5245 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.9e-05/0.3288, allocations: 173.3 kB / 0.5247 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.3288, allocations: 7.312 kB / 0.5247 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.3288, allocations: 20.06 kB / 0.5247 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.3292, allocations: 134.4 kB / 0.5248 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3292, allocations: 5.125 kB / 0.5248 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.3292, allocations: 6.062 kB / 0.5249 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3292, allocations: 2.281 kB / 0.5249 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.3296, allocations: 133.3 kB / 0.525 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008825/0.3305, allocations: 0.5097 MB / 0.5255 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.3307, allocations: 115.8 kB / 0.5256 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.3309, allocations: 53.67 kB / 0.5256 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.3309, allocations: 3.25 kB / 0.5256 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.331, allocations: 31.17 kB / 0.5257 GB, free: 15.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.331, allocations: 4 kB / 0.5257 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005188/0.3315, allocations: 161.2 kB / 0.5258 GB, free: 15.47 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.3316, allocations: 56.81 kB / 0.5259 GB, free: 15.4 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.719e-05/0.3317, allocations: 114.9 kB / 0.526 GB, free: 15.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.3317, allocations: 31.55 kB / 0.526 GB, free: 15.26 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.817e-05/0.3318, allocations: 112.1 kB / 0.5261 GB, free: 15.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.3318, allocations: 43.36 kB / 0.5262 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/0.3319, allocations: 36.27 kB / 0.5262 GB, free: 15.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.332, allocations: 319.5 kB / 0.5265 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.3321, allocations: 37.64 kB / 0.5265 GB, free: 14.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.3323, allocations: 81.17 kB / 0.5266 GB, free: 14.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.3326, allocations: 131.2 kB / 0.5267 GB, free: 14.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3326, allocations: 5.25 kB / 0.5268 GB, free: 14.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003366/0.3329, allocations: 156.9 kB / 0.5269 GB, free: 14.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.333, allocations: 5.5 kB / 0.5269 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.333, allocations: 2.172 kB / 0.5269 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.333, allocations: 2.75 kB / 0.5269 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.3332, allocations: 45.33 kB / 0.527 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003569/0.3336, allocations: 0.6016 MB / 0.5275 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.3337, allocations: 11.5 kB / 0.5276 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.3337, allocations: 10.16 kB / 0.5276 GB, free: 13.93 MB / 398.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.0001013/0.3338, allocations: 116 kB / 0.5277 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.392e-05/0.3339, allocations: 7.172 kB / 0.5277 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/0.3343, allocations: 178.3 kB / 0.5279 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3344, allocations: 1.375 kB / 0.5279 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3344, allocations: 5.312 kB / 0.5279 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3344, allocations: 0 / 0.5279 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.3346, allocations: 218.3 kB / 0.5281 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3346, allocations: 4 kB / 0.5281 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.3348, allocations: 42.22 kB / 0.5281 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3348, allocations: 0 / 0.5281 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.3349, allocations: 2.75 kB / 0.5281 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002609/0.3351, allocations: 0.5863 MB / 0.5287 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3351, allocations: 1.375 kB / 0.5287 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004522/0.3356, allocations: 295.5 kB / 0.529 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.811e-05/0.3357, allocations: 98.38 kB / 0.5291 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.3357, allocations: 5.375 kB / 0.5291 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3358, allocations: 8.109 kB / 0.5291 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.3359, allocations: 9.484 kB / 0.5291 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.3359, allocations: 10.81 kB / 0.5291 GB, free: 12.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.477e-05/0.336, allocations: 95.45 kB / 0.5292 GB, free: 12.44 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.336, allocations: 0 / 0.5292 GB, free: 12.44 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004083/0.3364, allocations: 75.73 kB / 0.5293 GB, free: 12.41 MB / 398.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.0003207/0.3367, allocations: 169.8 kB / 0.5294 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000406/0.3371, allocations: 125.8 kB / 0.5295 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3371, allocations: 9.125 kB / 0.5296 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.3373, allocations: 75.91 kB / 0.5296 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.3377, allocations: 19.64 kB / 0.5296 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006337/0.3383, allocations: 335.9 kB / 0.53 GB, free: 11.94 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.3386, allocations: 0.7062 MB / 0.5307 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.84e-05/0.3386, allocations: 19.41 kB / 0.5307 GB, free: 11.21 MB / 398.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3386, allocations: 0 / 0.5307 GB, free: 11.21 MB / 398.1 MB Notification: Performance of Templates: time 0.004615/0.3432, allocations: 2.492 MB / 0.5331 GB, free: 9.918 MB / 398.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/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