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_volumeFlowRate_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_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.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_volumeFlowRate_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.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_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009966/0.0009966, allocations: 111.3 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.001007/0.001007, allocations: 186.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.305/1.305, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.198/0.198, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3237, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002849/0.3266, allocations: 1.654 MB / 0.5212 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.3285, allocations: 0.869 MB / 0.522 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.3286, allocations: 2.281 kB / 0.5221 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.3289, allocations: 39.89 kB / 0.5221 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.3292, allocations: 45.5 kB / 0.5221 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006405/0.3298, allocations: 139 kB / 0.5223 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.3301, allocations: 135.5 kB / 0.5224 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.39e-05/0.3302, allocations: 12.42 kB / 0.5224 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.3303, allocations: 59.53 kB / 0.5225 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.3305, allocations: 67.58 kB / 0.5225 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.3305, allocations: 4.938 kB / 0.5225 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004996/0.331, allocations: 215.7 kB / 0.5227 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.3311, allocations: 40.31 kB / 0.5228 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.262e-05/0.3312, allocations: 61.47 kB / 0.5228 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004271/0.3316, allocations: 244.9 kB / 0.5231 GB, free: 1.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3316, allocations: 0.8438 kB / 0.5231 GB, free: 1.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3317, allocations: 0 / 0.5231 GB, free: 1.449 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3317, allocations: 0 / 0.5231 GB, free: 1.449 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005929/0.3323, allocations: 466 kB / 0.5235 GB, free: 1.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.3323, allocations: 16.16 kB / 0.5235 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.3334, allocations: 112.9 kB / 0.5236 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.3337, allocations: 229.6 kB / 0.5239 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.3337, allocations: 10.22 kB / 0.5239 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/0.3337, allocations: 12.83 kB / 0.5239 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000704/0.3344, allocations: 330.3 kB / 0.5242 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3345, allocations: 0 / 0.5242 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.3345, allocations: 5.812 kB / 0.5242 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.943e-05/0.3345, allocations: 23.55 kB / 0.5242 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007696/0.3353, allocations: 317.9 kB / 0.5245 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.3368, allocations: 0.8275 MB / 0.5253 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007156/0.3375, allocations: 225.1 kB / 0.5255 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.3378, allocations: 87.2 kB / 0.5256 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.3378, allocations: 1.375 kB / 0.5256 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.3378, allocations: 31.94 kB / 0.5257 GB, free: 15.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.3379, allocations: 0 / 0.5257 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.001019/0.3389, allocations: 300.5 kB / 0.5259 GB, free: 15.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.3389, allocations: 52.78 kB / 0.526 GB, free: 15.63 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.3391, allocations: 189.5 kB / 0.5262 GB, free: 15.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.3392, allocations: 26.89 kB / 0.5262 GB, free: 15.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.3393, allocations: 137.1 kB / 0.5263 GB, free: 15.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.3393, allocations: 35.83 kB / 0.5264 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.82e-05/0.3394, allocations: 50.73 kB / 0.5264 GB, free: 15.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3395, allocations: 326.9 kB / 0.5267 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.3399, allocations: 86.77 kB / 0.5268 GB, free: 14.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.3402, allocations: 138.9 kB / 0.5269 GB, free: 14.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005835/0.3408, allocations: 224 kB / 0.5272 GB, free: 14.63 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3408, allocations: 4 kB / 0.5272 GB, free: 14.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007131/0.3415, allocations: 274.5 kB / 0.5274 GB, free: 14.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3415, allocations: 4.906 kB / 0.5274 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3415, allocations: 6.188 kB / 0.5274 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.3416, allocations: 7.156 kB / 0.5274 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/0.342, allocations: 77.02 kB / 0.5275 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009167/0.3429, allocations: 1.789 MB / 0.5293 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.3432, allocations: 29.52 kB / 0.5293 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.3432, allocations: 12.23 kB / 0.5293 GB, free: 12.62 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 (17): * Single equations (assignments): 14 * 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.0001409/0.3433, allocations: 142.2 kB / 0.5294 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.204e-05/0.3434, allocations: 17.25 kB / 0.5295 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007646/0.3442, allocations: 273.3 kB / 0.5297 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3442, allocations: 1.25 kB / 0.5297 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3442, allocations: 0 / 0.5297 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3442, allocations: 1.312 kB / 0.5297 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.3445, allocations: 257.2 kB / 0.53 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3445, allocations: 0 / 0.53 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003396/0.3449, allocations: 63.25 kB / 0.53 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.3449, allocations: 5.188 kB / 0.53 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.3449, allocations: 18.56 kB / 0.53 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008484/0.3458, allocations: 1.779 MB / 0.5318 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3458, allocations: 0.9062 kB / 0.5318 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007057/0.3465, allocations: 314.6 kB / 0.5321 GB, free: 9.988 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.52e-05/0.3466, allocations: 96.78 kB / 0.5322 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.3466, allocations: 0.875 kB / 0.5322 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.3468, allocations: 12.67 kB / 0.5322 GB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.41e-05/0.3469, allocations: 17.09 kB / 0.5322 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.3469, allocations: 7.859 kB / 0.5322 GB, free: 9.855 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.3471, allocations: 137.4 kB / 0.5323 GB, free: 9.754 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3471, allocations: 1.031 kB / 0.5323 GB, free: 9.754 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004019/0.3475, allocations: 58.19 kB / 0.5324 GB, free: 9.742 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 (10): * Single equations (assignments): 7 * 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.0002781/0.3478, allocations: 139.1 kB / 0.5325 GB, free: 9.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008527/0.3486, allocations: 234.5 kB / 0.5328 GB, free: 9.527 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3486, allocations: 0 / 0.5328 GB, free: 9.527 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004493/0.3491, allocations: 132.2 kB / 0.5329 GB, free: 9.473 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.3494, allocations: 20.08 kB / 0.5329 GB, free: 9.457 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008131/0.3502, allocations: 392.3 kB / 0.5333 GB, free: 9.188 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.3505, allocations: 0.7349 MB / 0.534 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.3507, allocations: 35.83 kB / 0.534 GB, free: 8.445 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3507, allocations: 1.156 kB / 0.534 GB, free: 8.445 MB / 398.1 MB Notification: Performance of Templates: time 0.00843/0.3591, allocations: 4.924 MB / 0.5388 GB, free: 5.859 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches