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_idealGas_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_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_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.001679/0.001679, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001809/0.00181, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.396/1.396, allocations: 222.9 MB / 242.4 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.2168/0.2168, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 71.88 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3466, allocations: 60.82 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.002616/0.3492, allocations: 1.779 MB / 0.5202 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.3506, allocations: 0.9783 MB / 0.5211 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.421e-05/0.3507, allocations: 1.031 kB / 0.5211 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002529/0.351, allocations: 48.44 kB / 0.5212 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002084/0.3512, allocations: 69.91 kB / 0.5213 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003897/0.3516, allocations: 122.2 kB / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.3519, allocations: 217.9 kB / 0.5216 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.848e-05/0.3519, allocations: 25.36 kB / 0.5216 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.3521, allocations: 89.31 kB / 0.5217 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.3522, allocations: 100.5 kB / 0.5218 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.3523, allocations: 6.781 kB / 0.5218 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003843/0.3527, allocations: 205.6 kB / 0.522 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.187e-05/0.3528, allocations: 53.31 kB / 0.522 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.338e-05/0.3529, allocations: 100.4 kB / 0.5221 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004509/0.3533, allocations: 296.4 kB / 0.5224 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3533, allocations: 9.281 kB / 0.5224 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3533, allocations: 4.75 kB / 0.5224 GB, free: 0.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.3533, allocations: 0 / 0.5224 GB, free: 0.832 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007127/0.3541, allocations: 0.5364 MB / 0.523 GB, free: 368 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.3541, allocations: 9.938 kB / 0.523 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.354e-05/0.3542, allocations: 58.77 kB / 0.523 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008673/0.3551, allocations: 135.4 kB / 0.5232 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.3554, allocations: 257.6 kB / 0.5234 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.3554, allocations: 16.81 kB / 0.5234 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.3554, allocations: 28.78 kB / 0.5234 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000758/0.3562, allocations: 435.1 kB / 0.5239 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.3562, allocations: 3.938 kB / 0.5239 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.3563, allocations: 15.14 kB / 0.5239 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.602e-05/0.3563, allocations: 33.11 kB / 0.5239 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007238/0.3571, allocations: 389.4 kB / 0.5243 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.3594, allocations: 1.458 MB / 0.5257 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.3597, allocations: 98.58 kB / 0.5258 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.3599, allocations: 48.14 kB / 0.5258 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.36, allocations: 9.328 kB / 0.5258 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.36, allocations: 36.7 kB / 0.5259 GB, free: 14.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.36, allocations: 0 / 0.5259 GB, free: 14.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006186/0.3606, allocations: 187.2 kB / 0.5261 GB, free: 14.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.3607, allocations: 51.41 kB / 0.5261 GB, free: 14.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.3611, allocations: 338 kB / 0.5264 GB, free: 14.13 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.3611, allocations: 29.7 kB / 0.5265 GB, free: 14.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.3613, allocations: 178.7 kB / 0.5266 GB, free: 13.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.3613, allocations: 31.89 kB / 0.5267 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.923e-05/0.3614, allocations: 44.78 kB / 0.5267 GB, free: 13.87 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3616, allocations: 329.7 kB / 0.527 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.3618, allocations: 73.19 kB / 0.5271 GB, free: 13.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.362, allocations: 120.6 kB / 0.5272 GB, free: 13.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.3624, allocations: 186.6 kB / 0.5274 GB, free: 13.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3624, allocations: 0 / 0.5274 GB, free: 13.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005727/0.363, allocations: 246.2 kB / 0.5276 GB, free: 13.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.363, allocations: 6.031 kB / 0.5276 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.3631, allocations: 1.375 kB / 0.5276 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.3631, allocations: 6.453 kB / 0.5276 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.3646, allocations: 113.1 kB / 0.5277 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/0.3667, allocations: 1.845 MB / 0.5295 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.3671, allocations: 39.2 kB / 0.5296 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.3671, allocations: 5.875 kB / 0.5296 GB, free: 11.27 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 16 * 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.0002322/0.3674, allocations: 157.6 kB / 0.5297 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.376e-05/0.3674, allocations: 22.58 kB / 0.5298 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005451/0.368, allocations: 204.9 kB / 0.53 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.368, allocations: 1.531 kB / 0.53 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.368, allocations: 0 / 0.53 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.368, allocations: 0 / 0.53 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003771/0.3684, allocations: 280.2 kB / 0.5302 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3684, allocations: 0 / 0.5302 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/0.3696, allocations: 96.41 kB / 0.5303 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3696, allocations: 1 kB / 0.5303 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.3696, allocations: 1 kB / 0.5303 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.371, allocations: 1.799 MB / 0.5321 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3711, allocations: 0 / 0.5321 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004873/0.3715, allocations: 260.1 kB / 0.5323 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.928e-05/0.3717, allocations: 99.3 kB / 0.5324 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.3717, allocations: 1.656 kB / 0.5324 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.3719, allocations: 12.02 kB / 0.5324 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.372, allocations: 7.75 kB / 0.5324 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.372, allocations: 6.516 kB / 0.5324 GB, free: 8.562 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002661/0.3723, allocations: 240.6 kB / 0.5327 GB, free: 8.414 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3723, allocations: 0 / 0.5327 GB, free: 8.414 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003722/0.3726, allocations: 67.98 kB / 0.5327 GB, free: 8.402 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.000883/0.3735, allocations: 0.8139 MB / 0.5335 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002289/0.3758, allocations: 250.3 kB / 0.5338 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3759, allocations: 0 / 0.5338 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009746/0.3768, allocations: 113.8 kB / 0.5339 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.3772, allocations: 59.45 kB / 0.5339 GB, free: 7.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/0.3813, allocations: 2.912 MB / 0.5368 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.3818, allocations: 0.7797 MB / 0.5375 GB, free: 4.641 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001631/0.3819, allocations: 48.7 kB / 0.5376 GB, free: 4.625 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.3821, allocations: 70.16 kB / 0.5377 GB, free: 4.566 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3821, allocations: 1.188 kB / 0.5377 GB, free: 4.566 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03383/0.4159, allocations: 7.791 MB / 0.5453 GB, free: 152 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.41, allocations: 13.02 kB / 0.5453 GB, free: 140 kB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_idealGas_DPMFLOW/dp_idealGas_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches