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.001191/0.001191, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001192/0.001192, allocations: 183.8 kB / 18.71 MB, free: 4.34 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.45/1.45, allocations: 222.9 MB / 242.4 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.2379/0.2379, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 67.89 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4144, allocations: 60.82 MB / 0.5189 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003006/0.4175, allocations: 1.801 MB / 0.5207 GB, free: 2.633 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.4194, allocations: 1.341 MB / 0.522 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.072e-05/0.4195, allocations: 1.219 kB / 0.522 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002356/0.4197, allocations: 44.39 kB / 0.522 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.4199, allocations: 50.28 kB / 0.5221 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005949/0.4205, allocations: 248 kB / 0.5223 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.4207, allocations: 101.8 kB / 0.5224 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.457e-05/0.4207, allocations: 7.5 kB / 0.5224 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.4209, allocations: 56.12 kB / 0.5225 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.789e-05/0.421, allocations: 42.88 kB / 0.5225 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.421, allocations: 8.625 kB / 0.5225 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007535/0.4218, allocations: 0.5002 MB / 0.523 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.4218, allocations: 13.78 kB / 0.523 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.4219, allocations: 45.03 kB / 0.5231 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005331/0.4224, allocations: 357.4 kB / 0.5234 GB, free: 1.117 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4224, allocations: 0 / 0.5234 GB, free: 1.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4224, allocations: 1.5 kB / 0.5234 GB, free: 1.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.4224, allocations: 0 / 0.5234 GB, free: 1.117 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.0005021/0.4229, allocations: 443.4 kB / 0.5238 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.423, allocations: 10.72 kB / 0.5238 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/0.423, allocations: 10.77 kB / 0.5239 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.697e-05/0.4231, allocations: 180.4 kB / 0.524 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.4231, allocations: 5.781 kB / 0.524 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/0.4232, allocations: 15.62 kB / 0.524 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.4235, allocations: 140.4 kB / 0.5242 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.4235, allocations: 0 / 0.5242 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.4235, allocations: 4 kB / 0.5242 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.4236, allocations: 11.78 kB / 0.5242 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003354/0.4239, allocations: 132.8 kB / 0.5243 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009046/0.4248, allocations: 0.51 MB / 0.5248 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.4251, allocations: 112.5 kB / 0.5249 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.4253, allocations: 48.89 kB / 0.525 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.471e-05/0.4254, allocations: 7.125 kB / 0.525 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.4254, allocations: 31.08 kB / 0.525 GB, free: 15.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.4254, allocations: 0.875 kB / 0.525 GB, free: 15.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005549/0.426, allocations: 164.5 kB / 0.5252 GB, free: 15.72 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.426, allocations: 52.88 kB / 0.5252 GB, free: 15.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.903e-05/0.4261, allocations: 114.9 kB / 0.5253 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.4261, allocations: 26.95 kB / 0.5254 GB, free: 15.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/0.4262, allocations: 116.7 kB / 0.5255 GB, free: 15.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.4263, allocations: 40.59 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.288e-05/0.4263, allocations: 35.12 kB / 0.5255 GB, free: 15.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.4265, allocations: 327.5 kB / 0.5259 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.4266, allocations: 37.11 kB / 0.5259 GB, free: 15.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.4268, allocations: 78.48 kB / 0.526 GB, free: 14.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.427, allocations: 135.3 kB / 0.5261 GB, free: 14.87 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.427, allocations: 0 / 0.5261 GB, free: 14.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000338/0.4274, allocations: 157.6 kB / 0.5262 GB, free: 14.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.4274, allocations: 8.031 kB / 0.5262 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4274, allocations: 2.25 kB / 0.5263 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.4274, allocations: 2.75 kB / 0.5263 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.4277, allocations: 44.44 kB / 0.5263 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003542/0.4281, allocations: 0.6008 MB / 0.5269 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.4282, allocations: 18.59 kB / 0.5269 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.4282, allocations: 5.531 kB / 0.5269 GB, free: 14.16 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.0001112/0.4283, allocations: 122 kB / 0.527 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.4284, allocations: 8.531 kB / 0.527 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004188/0.4288, allocations: 172.4 kB / 0.5272 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4288, allocations: 1.375 kB / 0.5272 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.4288, allocations: 5.312 kB / 0.5272 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.4288, allocations: 3.984 kB / 0.5272 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.4291, allocations: 214.3 kB / 0.5274 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4291, allocations: 0 / 0.5274 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.4293, allocations: 38.22 kB / 0.5274 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.4294, allocations: 5.375 kB / 0.5275 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.4294, allocations: 13.3 kB / 0.5275 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003158/0.4297, allocations: 0.5838 MB / 0.528 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4297, allocations: 0 / 0.528 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004989/0.4302, allocations: 292.7 kB / 0.5283 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.148e-05/0.4303, allocations: 101 kB / 0.5284 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.4303, allocations: 1.375 kB / 0.5284 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.4304, allocations: 12.06 kB / 0.5284 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.4305, allocations: 9.484 kB / 0.5284 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.4305, allocations: 6.734 kB / 0.5284 GB, free: 12.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.064e-05/0.4306, allocations: 91.47 kB / 0.5285 GB, free: 12.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4306, allocations: 4.062 kB / 0.5285 GB, free: 12.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004022/0.431, allocations: 79.95 kB / 0.5286 GB, free: 12.62 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.0003186/0.4313, allocations: 166 kB / 0.5288 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004081/0.4317, allocations: 126.1 kB / 0.5289 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4317, allocations: 0 / 0.5289 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.432, allocations: 79.36 kB / 0.529 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.4322, allocations: 13.17 kB / 0.529 GB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006306/0.4329, allocations: 309.2 kB / 0.5293 GB, free: 12.19 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.4332, allocations: 0.7017 MB / 0.53 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.74e-05/0.4332, allocations: 26.03 kB / 0.53 GB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.4333, allocations: 13.91 kB / 0.53 GB, free: 11.46 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4333, allocations: 4 kB / 0.53 GB, free: 11.46 MB / 398.1 MB Notification: Performance of Templates: time 0.005453/0.4388, allocations: 2.261 MB / 0.5322 GB, free: 10.33 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/jenkins/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/jenkins/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