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.001468/0.001473, allocations: 113.9 kB / 18.46 MB, free: 4.641 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.001522/0.001522, allocations: 186.1 kB / 19.38 MB, free: 3.723 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.462/1.462, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.2118/0.2118, allocations: 44.17 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 59.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3514, allocations: 60.82 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002884/0.3543, allocations: 1.802 MB / 0.5214 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.3563, allocations: 1.334 MB / 0.5227 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.963e-05/0.3564, allocations: 1.062 kB / 0.5227 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.3567, allocations: 40.81 kB / 0.5227 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.3569, allocations: 54.06 kB / 0.5227 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000588/0.3575, allocations: 243.7 kB / 0.523 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.3576, allocations: 110.5 kB / 0.5231 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.3577, allocations: 6.719 kB / 0.5231 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.3578, allocations: 53.61 kB / 0.5231 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.3579, allocations: 53.16 kB / 0.5232 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.358, allocations: 4.438 kB / 0.5232 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000812/0.3588, allocations: 0.4888 MB / 0.5237 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.833e-05/0.3588, allocations: 26.11 kB / 0.5237 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.606e-05/0.3589, allocations: 33.23 kB / 0.5237 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006075/0.3595, allocations: 360.7 kB / 0.5241 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3595, allocations: 0.8438 kB / 0.5241 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.3595, allocations: 1.062 kB / 0.5241 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.3595, allocations: 4 kB / 0.5241 GB, free: 0.8789 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.000486/0.36, allocations: 436.3 kB / 0.5245 GB, free: 476 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3601, allocations: 9.656 kB / 0.5245 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.3601, allocations: 14.16 kB / 0.5245 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.559e-05/0.3602, allocations: 178.2 kB / 0.5247 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.3602, allocations: 11.78 kB / 0.5247 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.3603, allocations: 17.34 kB / 0.5247 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003023/0.3606, allocations: 138.6 kB / 0.5249 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3606, allocations: 0 / 0.5249 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.3606, allocations: 5.125 kB / 0.5249 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.3606, allocations: 3.109 kB / 0.5249 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.3609, allocations: 136.7 kB / 0.525 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008559/0.3618, allocations: 0.5174 MB / 0.5255 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.3621, allocations: 112.6 kB / 0.5256 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.3622, allocations: 53.94 kB / 0.5257 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.3623, allocations: 1.375 kB / 0.5257 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.3623, allocations: 36.67 kB / 0.5257 GB, free: 15.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.3623, allocations: 4 kB / 0.5257 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005106/0.3628, allocations: 157.1 kB / 0.5258 GB, free: 15.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.3629, allocations: 56.78 kB / 0.5259 GB, free: 15.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.363, allocations: 111.2 kB / 0.526 GB, free: 15.31 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.363, allocations: 27.08 kB / 0.526 GB, free: 15.28 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.3631, allocations: 117 kB / 0.5261 GB, free: 15.17 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.3631, allocations: 38.69 kB / 0.5262 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-05/0.3632, allocations: 40.47 kB / 0.5262 GB, free: 15.11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3634, allocations: 318.6 kB / 0.5265 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.3635, allocations: 37.77 kB / 0.5266 GB, free: 14.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.3637, allocations: 81.75 kB / 0.5266 GB, free: 14.72 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.364, allocations: 127.5 kB / 0.5268 GB, free: 14.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.364, allocations: 8.969 kB / 0.5268 GB, free: 14.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003708/0.3644, allocations: 148.8 kB / 0.5269 GB, free: 14.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3644, allocations: 4.844 kB / 0.5269 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3644, allocations: 1.438 kB / 0.5269 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3644, allocations: 3.453 kB / 0.5269 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.3647, allocations: 48.77 kB / 0.527 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003374/0.365, allocations: 0.5987 MB / 0.5275 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.3651, allocations: 16.19 kB / 0.5276 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.3652, allocations: 6.438 kB / 0.5276 GB, free: 13.95 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.0001022/0.3653, allocations: 123.5 kB / 0.5277 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.3653, allocations: 6.969 kB / 0.5277 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000414/0.3657, allocations: 173.7 kB / 0.5279 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.3657, allocations: 0 / 0.5279 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3658, allocations: 0 / 0.5279 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.403e-05/0.3658, allocations: 98.81 kB / 0.528 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.3659, allocations: 9.125 kB / 0.528 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.366, allocations: 12.14 kB / 0.528 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.3661, allocations: 8.578 kB / 0.528 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005102/0.3666, allocations: 250.2 kB / 0.5282 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005388/0.3671, allocations: 388.2 kB / 0.5286 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001384/0.3673, allocations: 51.47 kB / 0.5286 GB, free: 13.1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.674e-05/0.3673, allocations: 91.45 kB / 0.5287 GB, free: 13.02 MB / 398.1 MB Notification: Performance of Backend: time 4.61e-07/0.3673, allocations: 0 / 0.5287 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008863/0.3682, allocations: 250.7 kB / 0.529 GB, free: 12.87 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006936/0.3689, allocations: 0.7119 MB / 0.5297 GB, free: 12.19 MB / 398.1 MB Notification: Performance of Templates: time 0.005892/0.3748, allocations: 2.815 MB / 0.5324 GB, free: 10.78 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