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_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.001434/0.001435, allocations: 110.4 kB / 17.78 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.001633/0.001633, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.342/1.342, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.1968/0.1968, allocations: 44.19 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 67.88 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3365, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002791/0.3394, allocations: 1.824 MB / 0.5202 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.3404, allocations: 0.6276 MB / 0.5208 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.3405, allocations: 1.219 kB / 0.5208 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.3408, allocations: 49.09 kB / 0.5209 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.341, allocations: 80.27 kB / 0.521 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.3415, allocations: 115 kB / 0.5211 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.3417, allocations: 235 kB / 0.5213 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.42e-05/0.3418, allocations: 29.22 kB / 0.5213 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.3419, allocations: 83.16 kB / 0.5214 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.3421, allocations: 109.8 kB / 0.5215 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.3421, allocations: 6.375 kB / 0.5215 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004296/0.3426, allocations: 222.2 kB / 0.5217 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.589e-05/0.3427, allocations: 62.69 kB / 0.5218 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.3428, allocations: 94.72 kB / 0.5219 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000541/0.3433, allocations: 329.5 kB / 0.5222 GB, free: 1.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3433, allocations: 0 / 0.5222 GB, free: 1.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3433, allocations: 0.9375 kB / 0.5222 GB, free: 1.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.3434, allocations: 0 / 0.5222 GB, free: 1.012 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0007004/0.3441, allocations: 0.5316 MB / 0.5227 GB, free: 0.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3441, allocations: 10.12 kB / 0.5227 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.705e-05/0.3442, allocations: 60.72 kB / 0.5228 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/0.3461, allocations: 201.5 kB / 0.523 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.3464, allocations: 271 kB / 0.5232 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.3464, allocations: 18.84 kB / 0.5232 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.234e-05/0.3465, allocations: 19 kB / 0.5233 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009675/0.3475, allocations: 0.5015 MB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3475, allocations: 0 / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.3475, allocations: 14.22 kB / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.28e-05/0.3476, allocations: 27.34 kB / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.3488, allocations: 0.5809 MB / 0.5244 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002242/0.3511, allocations: 1.168 MB / 0.5255 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00062/0.3517, allocations: 169 kB / 0.5257 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.352, allocations: 92.88 kB / 0.5258 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.3521, allocations: 1.375 kB / 0.5258 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.3521, allocations: 30.56 kB / 0.5258 GB, free: 14.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.3521, allocations: 1.375 kB / 0.5258 GB, free: 14.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001126/0.3532, allocations: 303.1 kB / 0.5261 GB, free: 14.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.3533, allocations: 52.78 kB / 0.5261 GB, free: 14.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.3535, allocations: 282.9 kB / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.3536, allocations: 29.7 kB / 0.5264 GB, free: 14.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.762e-05/0.3537, allocations: 169.3 kB / 0.5266 GB, free: 14.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.3537, allocations: 27.77 kB / 0.5266 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-05/0.3538, allocations: 38.06 kB / 0.5266 GB, free: 14.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3539, allocations: 332.1 kB / 0.527 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.3543, allocations: 85.94 kB / 0.527 GB, free: 13.87 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003462/0.3546, allocations: 122.3 kB / 0.5272 GB, free: 13.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006809/0.3553, allocations: 210.7 kB / 0.5274 GB, free: 13.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3553, allocations: 1.188 kB / 0.5274 GB, free: 13.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007959/0.3561, allocations: 266.5 kB / 0.5276 GB, free: 13.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3562, allocations: 5.219 kB / 0.5276 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3562, allocations: 1.281 kB / 0.5276 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3562, allocations: 1.156 kB / 0.5276 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006096/0.3623, allocations: 459.8 kB / 0.5281 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002731/0.365, allocations: 1.953 MB / 0.53 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/0.3654, allocations: 46.66 kB / 0.53 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.3655, allocations: 8.391 kB / 0.53 GB, free: 11.42 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0001752/0.3657, allocations: 153.5 kB / 0.5302 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-05/0.3657, allocations: 20.31 kB / 0.5302 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.384e-05/0.3658, allocations: 34.64 kB / 0.5302 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3658, allocations: 1.094 kB / 0.5302 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3658, allocations: 0.9688 kB / 0.5302 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3658, allocations: 0 / 0.5302 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.3662, allocations: 297.5 kB / 0.5305 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.3662, allocations: 0 / 0.5305 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006109/0.3723, allocations: 456.2 kB / 0.5309 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3723, allocations: 1.312 kB / 0.5309 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.3724, allocations: 5.672 kB / 0.5309 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00263/0.375, allocations: 1.94 MB / 0.5328 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.375, allocations: 3.984 kB / 0.5328 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007772/0.3758, allocations: 325.7 kB / 0.5332 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.465e-05/0.3759, allocations: 94.03 kB / 0.5332 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.3759, allocations: 1.125 kB / 0.5332 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003727/0.3763, allocations: 21.28 kB / 0.5333 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/0.3764, allocations: 11.33 kB / 0.5333 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.3764, allocations: 10.2 kB / 0.5333 GB, free: 8.531 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000206/0.3766, allocations: 210.4 kB / 0.5335 GB, free: 8.395 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.3766, allocations: 3.938 kB / 0.5335 GB, free: 8.391 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000385/0.377, allocations: 78.81 kB / 0.5336 GB, free: 8.371 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 (7): * Single equations (assignments): 4 * 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.001108/0.3781, allocations: 0.8588 MB / 0.5344 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006278/0.3844, allocations: 0.5947 MB / 0.535 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3844, allocations: 0 / 0.535 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005861/0.3903, allocations: 493.8 kB / 0.5355 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004536/0.3908, allocations: 51.16 kB / 0.5355 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0049/0.3957, allocations: 2.973 MB / 0.5384 GB, free: 5.023 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.3961, allocations: 0.7851 MB / 0.5392 GB, free: 4.273 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001694/0.3962, allocations: 46.98 kB / 0.5392 GB, free: 4.258 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.3964, allocations: 71.91 kB / 0.5393 GB, free: 4.199 MB / 398.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3964, allocations: 0 / 0.5393 GB, free: 4.199 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0291/0.4255, allocations: 8.121 MB / 0.5472 GB, free: 14.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.54, allocations: 12.52 kB / 0.5472 GB, free: 14.25 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches