Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 112.7 kB / 18.45 MB, free: 4.645 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.001117/0.001117, allocations: 185.2 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.288/1.288, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.00137, allocations: 63.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3202, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.00253/0.3228, allocations: 1.674 MB / 0.5212 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.3239, allocations: 0.7977 MB / 0.522 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.512e-05/0.324, allocations: 1.562 kB / 0.522 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.3242, allocations: 34.84 kB / 0.522 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.3244, allocations: 59.5 kB / 0.5221 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.3247, allocations: 97.36 kB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.3249, allocations: 156.4 kB / 0.5223 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.325, allocations: 11.02 kB / 0.5223 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.3251, allocations: 60.94 kB / 0.5224 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.3252, allocations: 74.25 kB / 0.5225 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.3253, allocations: 8.594 kB / 0.5225 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003225/0.3256, allocations: 160.3 kB / 0.5226 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.19e-05/0.3257, allocations: 36 kB / 0.5227 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.463e-05/0.3258, allocations: 63.67 kB / 0.5227 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003533/0.3261, allocations: 200 kB / 0.5229 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3261, allocations: 4 kB / 0.5229 GB, free: 1.539 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3261, allocations: 1.062 kB / 0.5229 GB, free: 1.539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.3261, allocations: 0 / 0.5229 GB, free: 1.539 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005466/0.3267, allocations: 466.8 kB / 0.5234 GB, free: 1.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.3267, allocations: 9.062 kB / 0.5234 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005355/0.3273, allocations: 70.8 kB / 0.5234 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.3275, allocations: 213.4 kB / 0.5237 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.3275, allocations: 5.219 kB / 0.5237 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.3275, allocations: 16.97 kB / 0.5237 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004404/0.3279, allocations: 238.8 kB / 0.5239 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.328, allocations: 0 / 0.5239 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.328, allocations: 10.33 kB / 0.5239 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/0.328, allocations: 20.11 kB / 0.5239 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004324/0.3285, allocations: 228.2 kB / 0.5241 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000946/0.3294, allocations: 0.7217 MB / 0.5249 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.3296, allocations: 91.56 kB / 0.5249 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.3298, allocations: 49.06 kB / 0.525 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.3298, allocations: 0 / 0.525 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.3298, allocations: 40.34 kB / 0.525 GB, free: 32 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.3298, allocations: 0 / 0.525 GB, free: 32 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005214/0.3303, allocations: 177 kB / 0.5252 GB, free: 15.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.3304, allocations: 53.44 kB / 0.5252 GB, free: 15.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.3306, allocations: 188.6 kB / 0.5254 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.3306, allocations: 25.7 kB / 0.5254 GB, free: 15.74 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.007e-05/0.3307, allocations: 135.8 kB / 0.5256 GB, free: 15.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.3307, allocations: 30.84 kB / 0.5256 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/0.3308, allocations: 30.81 kB / 0.5256 GB, free: 15.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.3309, allocations: 323.6 kB / 0.5259 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.331, allocations: 56.08 kB / 0.526 GB, free: 15.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.3312, allocations: 97.72 kB / 0.5261 GB, free: 15.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.3315, allocations: 157.6 kB / 0.5262 GB, free: 15.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3315, allocations: 0 / 0.5262 GB, free: 15.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003718/0.3319, allocations: 189.3 kB / 0.5264 GB, free: 15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3319, allocations: 11.34 kB / 0.5264 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3319, allocations: 2.125 kB / 0.5264 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.332, allocations: 2.156 kB / 0.5264 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008951/0.3329, allocations: 124.2 kB / 0.5266 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.3341, allocations: 1.821 MB / 0.5283 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.3343, allocations: 25.77 kB / 0.5284 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.3343, allocations: 6.125 kB / 0.5284 GB, free: 13.18 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.3344, allocations: 140.9 kB / 0.5285 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.784e-05/0.3345, allocations: 13.47 kB / 0.5285 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004341/0.3349, allocations: 182.1 kB / 0.5287 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.3349, allocations: 1.25 kB / 0.5287 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3349, allocations: 0 / 0.5287 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3349, allocations: 5.438 kB / 0.5287 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.3352, allocations: 239.7 kB / 0.5289 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3352, allocations: 1.375 kB / 0.5289 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006885/0.3359, allocations: 104.6 kB / 0.529 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3359, allocations: 5.375 kB / 0.529 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.3359, allocations: 1.375 kB / 0.529 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009624/0.3369, allocations: 1.786 MB / 0.5308 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3369, allocations: 0 / 0.5308 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003391/0.3373, allocations: 232.1 kB / 0.531 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.3373, allocations: 90.42 kB / 0.5311 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.3374, allocations: 4 kB / 0.5311 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.3375, allocations: 13.58 kB / 0.5311 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.3376, allocations: 8.109 kB / 0.5311 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.3376, allocations: 10.69 kB / 0.5311 GB, free: 10.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.3377, allocations: 134.3 kB / 0.5312 GB, free: 10.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3377, allocations: 0 / 0.5312 GB, free: 10.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000348/0.3381, allocations: 42.31 kB / 0.5313 GB, free: 10.42 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001888/0.3382, allocations: 119.8 kB / 0.5314 GB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.3394, allocations: 223.8 kB / 0.5316 GB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3395, allocations: 1.469 kB / 0.5316 GB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006103/0.3401, allocations: 121.2 kB / 0.5317 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.3405, allocations: 53.95 kB / 0.5318 GB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006588/0.3411, allocations: 362.2 kB / 0.5321 GB, free: 9.891 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.3415, allocations: 0.739 MB / 0.5328 GB, free: 9.164 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.259e-05/0.3415, allocations: 15 kB / 0.5329 GB, free: 9.16 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3415, allocations: 2.219 kB / 0.5329 GB, free: 9.16 MB / 398.1 MB Notification: Performance of Templates: time 0.006883/0.3484, allocations: 4.442 MB / 0.5372 GB, free: 6.824 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches