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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 109.5 kB / 17.77 MB, free: 5.289 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.001349/0.001349, allocations: 184.8 kB / 18.71 MB, free: 4.367 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.355/1.355, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2108/0.2108, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3225, allocations: 60.82 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002491/0.3251, allocations: 1.675 MB / 0.5201 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.3263, allocations: 0.7937 MB / 0.5209 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.944e-05/0.3264, allocations: 1.406 kB / 0.5209 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.3266, allocations: 34.92 kB / 0.5209 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.3268, allocations: 54.27 kB / 0.5209 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.3271, allocations: 105.8 kB / 0.521 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.3273, allocations: 156.5 kB / 0.5212 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.274e-05/0.3274, allocations: 16.25 kB / 0.5212 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.3275, allocations: 64.41 kB / 0.5213 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.3277, allocations: 72.91 kB / 0.5213 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.3277, allocations: 5.344 kB / 0.5213 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003043/0.328, allocations: 160.7 kB / 0.5215 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.036e-05/0.3281, allocations: 32.08 kB / 0.5215 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.446e-05/0.3282, allocations: 67.31 kB / 0.5216 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.3285, allocations: 200.8 kB / 0.5218 GB, free: 1.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3285, allocations: 0 / 0.5218 GB, free: 1.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3285, allocations: 0 / 0.5218 GB, free: 1.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.3285, allocations: 0.9062 kB / 0.5218 GB, free: 1.223 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.0005554/0.3291, allocations: 472.2 kB / 0.5222 GB, free: 0.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.3291, allocations: 9.281 kB / 0.5222 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.269e-05/0.3292, allocations: 50.28 kB / 0.5223 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000506/0.3297, allocations: 68.25 kB / 0.5224 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.3299, allocations: 214.8 kB / 0.5226 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.3299, allocations: 10.44 kB / 0.5226 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.33, allocations: 16.08 kB / 0.5226 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005256/0.3305, allocations: 238.6 kB / 0.5228 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3305, allocations: 1.188 kB / 0.5228 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.3306, allocations: 5.125 kB / 0.5228 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.881e-05/0.3306, allocations: 17.14 kB / 0.5228 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004697/0.3311, allocations: 229 kB / 0.5231 GB, free: 348 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.3322, allocations: 0.7324 MB / 0.5238 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.3324, allocations: 87.7 kB / 0.5239 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.3326, allocations: 49 kB / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.3326, allocations: 0 / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.3326, allocations: 36.56 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.3326, allocations: 0 / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005421/0.3332, allocations: 178.5 kB / 0.5241 GB, free: 15.6 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.3332, allocations: 52.16 kB / 0.5242 GB, free: 15.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.3334, allocations: 187.9 kB / 0.5243 GB, free: 15.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3335, allocations: 25.7 kB / 0.5244 GB, free: 15.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.3336, allocations: 136 kB / 0.5245 GB, free: 15.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.3336, allocations: 25.73 kB / 0.5245 GB, free: 15.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.838e-05/0.3337, allocations: 37.44 kB / 0.5245 GB, free: 15.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.3338, allocations: 328.6 kB / 0.5249 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.334, allocations: 49.17 kB / 0.5249 GB, free: 14.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.3342, allocations: 94.36 kB / 0.525 GB, free: 14.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.3346, allocations: 161 kB / 0.5251 GB, free: 14.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3346, allocations: 1.125 kB / 0.5252 GB, free: 14.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004283/0.335, allocations: 193.7 kB / 0.5253 GB, free: 14.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.335, allocations: 6.031 kB / 0.5253 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.335, allocations: 2.031 kB / 0.5253 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.3351, allocations: 4.109 kB / 0.5253 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008733/0.3359, allocations: 125 kB / 0.5255 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.3372, allocations: 1.819 MB / 0.5272 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.3373, allocations: 22.61 kB / 0.5273 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.3373, allocations: 6.859 kB / 0.5273 GB, free: 12.82 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.0001473/0.3375, allocations: 145 kB / 0.5274 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.3375, allocations: 11.11 kB / 0.5274 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005234/0.3381, allocations: 181.5 kB / 0.5276 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.3381, allocations: 5.312 kB / 0.5276 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3381, allocations: 0 / 0.5276 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3381, allocations: 0.7031 kB / 0.5276 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.3384, allocations: 231.3 kB / 0.5278 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3384, allocations: 3.938 kB / 0.5278 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007069/0.3391, allocations: 109.5 kB / 0.5279 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3392, allocations: 0 / 0.5279 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.3392, allocations: 1.375 kB / 0.5279 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009532/0.3401, allocations: 1.784 MB / 0.5297 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3402, allocations: 5.312 kB / 0.5297 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.3405, allocations: 236.1 kB / 0.5299 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.3406, allocations: 93.23 kB / 0.53 GB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.3406, allocations: 5.359 kB / 0.53 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.3407, allocations: 9.484 kB / 0.53 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.3408, allocations: 16.05 kB / 0.53 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.3408, allocations: 2.75 kB / 0.53 GB, free: 10.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.3409, allocations: 136.9 kB / 0.5302 GB, free: 10.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3409, allocations: 0 / 0.5302 GB, free: 10.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003181/0.3412, allocations: 47.67 kB / 0.5302 GB, free: 10.18 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.0007655/0.342, allocations: 0.7847 MB / 0.531 GB, free: 9.453 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.3433, allocations: 232.8 kB / 0.5312 GB, free: 9.363 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3433, allocations: 4 kB / 0.5312 GB, free: 9.359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006261/0.3439, allocations: 122 kB / 0.5313 GB, free: 9.312 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.3443, allocations: 37.86 kB / 0.5313 GB, free: 9.293 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.3469, allocations: 2.092 MB / 0.5334 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.3472, allocations: 0.7316 MB / 0.5341 GB, free: 6.863 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.3474, allocations: 40.05 kB / 0.5341 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.602e-05/0.3474, allocations: 42.86 kB / 0.5342 GB, free: 6.809 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3475, allocations: 0 / 0.5342 GB, free: 6.809 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.3725, allocations: 5.162 MB / 0.5392 GB, free: 4.246 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.44, allocations: 8.375 kB / 0.5392 GB, free: 4.242 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > 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