Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_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.001316/0.001316, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001293/0.001293, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.343/1.343, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.2258/0.2258, allocations: 44.19 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 59.91 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3716, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.00328/0.3749, allocations: 2.2 MB / 0.5206 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004207/0.3792, allocations: 3.249 MB / 0.5238 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.3793, allocations: 1.188 kB / 0.5238 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003974/0.3797, allocations: 96.81 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004336/0.3802, allocations: 141 kB / 0.524 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.3822, allocations: 0.8774 MB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007312/0.3829, allocations: 0.5627 MB / 0.5254 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.3831, allocations: 81.84 kB / 0.5255 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003264/0.3834, allocations: 239.1 kB / 0.5257 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003919/0.3838, allocations: 281.3 kB / 0.526 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.605e-05/0.3839, allocations: 18.12 kB / 0.526 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002938/0.3868, allocations: 1.954 MB / 0.5279 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.387, allocations: 138.5 kB / 0.528 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002781/0.3873, allocations: 276.2 kB / 0.5283 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002346/0.3896, allocations: 1.679 MB / 0.5299 GB, free: 12.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3896, allocations: 1.094 kB / 0.5299 GB, free: 12.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3897, allocations: 4 kB / 0.5299 GB, free: 12.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.3897, allocations: 0 / 0.5299 GB, free: 12.01 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001787/0.3915, allocations: 1.028 MB / 0.5309 GB, free: 11.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3915, allocations: 10.59 kB / 0.531 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001564/0.3917, allocations: 144.2 kB / 0.5311 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.3918, allocations: 72.91 kB / 0.5312 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005843/0.3924, allocations: 362.8 kB / 0.5315 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.359e-05/0.3925, allocations: 60.56 kB / 0.5316 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.3926, allocations: 71.88 kB / 0.5316 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.3944, allocations: 1.235 MB / 0.5328 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.3945, allocations: 0 / 0.5328 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-05/0.3945, allocations: 25.75 kB / 0.5329 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.609e-05/0.3946, allocations: 80.05 kB / 0.5329 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002667/0.3973, allocations: 1.723 MB / 0.5346 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004854/0.4021, allocations: 2.924 MB / 0.5375 GB, free: 7.027 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009163/0.4031, allocations: 430.2 kB / 0.5379 GB, free: 6.828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.4034, allocations: 143.7 kB / 0.538 GB, free: 6.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.988e-05/0.4034, allocations: 13.94 kB / 0.538 GB, free: 6.754 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.4035, allocations: 37.5 kB / 0.5381 GB, free: 6.711 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 1.884e-06/0.4035, allocations: 0 / 0.5381 GB, free: 6.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.001017/0.4045, allocations: 480.4 kB / 0.5385 GB, free: 6.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.4045, allocations: 58.84 kB / 0.5386 GB, free: 6.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.4048, allocations: 210.1 kB / 0.5388 GB, free: 6.262 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.4048, allocations: 34.73 kB / 0.5388 GB, free: 6.223 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.4051, allocations: 394 kB / 0.5392 GB, free: 5.871 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.4052, allocations: 118.4 kB / 0.5393 GB, free: 5.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.4054, allocations: 118.2 kB / 0.5394 GB, free: 5.703 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.4056, allocations: 337.4 kB / 0.5397 GB, free: 5.371 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.4059, allocations: 150.3 kB / 0.5399 GB, free: 5.309 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004468/0.4063, allocations: 345.3 kB / 0.5402 GB, free: 4.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007713/0.4071, allocations: 0.5362 MB / 0.5407 GB, free: 4.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.4071, allocations: 2.469 kB / 0.5407 GB, free: 4.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009321/0.4081, allocations: 0.5346 MB / 0.5413 GB, free: 4.238 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.4081, allocations: 12.19 kB / 0.5413 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.4081, allocations: 7.938 kB / 0.5413 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.4081, allocations: 12 kB / 0.5413 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007126/0.4088, allocations: 211.7 kB / 0.5415 GB, free: 4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.4106, allocations: 2.993 MB / 0.5444 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.4109, allocations: 63.36 kB / 0.5445 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.444e-05/0.411, allocations: 31.98 kB / 0.5445 GB, free: 0.7969 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (geometry[5],roughness,geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003725/0.4113, allocations: 273.4 kB / 0.5448 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.766e-05/0.4114, allocations: 19.81 kB / 0.5448 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.4125, allocations: 0.5504 MB / 0.5453 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.4126, allocations: 4 kB / 0.5453 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.4126, allocations: 4 kB / 0.5453 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.4126, allocations: 0 / 0.5453 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/0.4144, allocations: 1.165 MB / 0.5465 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4144, allocations: 0 / 0.5465 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005918/0.415, allocations: 183.7 kB / 0.5467 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.415, allocations: 4 kB / 0.5467 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.4151, allocations: 15.98 kB / 0.5467 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/0.4165, allocations: 2.966 MB / 0.5496 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4166, allocations: 0 / 0.5496 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006838/0.4172, allocations: 0.4985 MB / 0.5501 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.034e-05/0.4173, allocations: 112.8 kB / 0.5502 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/0.4174, allocations: 15.94 kB / 0.5502 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.4176, allocations: 15.98 kB / 0.5502 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/0.4177, allocations: 31.97 kB / 0.5502 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.4177, allocations: 23.98 kB / 0.5502 GB, free: 10.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001/0.4178, allocations: 131.2 kB / 0.5504 GB, free: 10.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4178, allocations: 0 / 0.5504 GB, free: 10.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001138/0.419, allocations: 354.7 kB / 0.5507 GB, free: 10.19 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001597/0.4206, allocations: 1.261 MB / 0.5519 GB, free: 8.875 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.4217, allocations: 485.6 kB / 0.5524 GB, free: 8.402 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4217, allocations: 0 / 0.5524 GB, free: 8.402 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005942/0.4223, allocations: 256.6 kB / 0.5527 GB, free: 8.152 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.4227, allocations: 35.73 kB / 0.5527 GB, free: 8.117 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004642/0.4273, allocations: 3.961 MB / 0.5566 GB, free: 3.852 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.4278, allocations: 0.979 MB / 0.5575 GB, free: 2.844 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003921/0.4282, allocations: 178.5 kB / 0.5577 GB, free: 2.668 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.4285, allocations: 207.4 kB / 0.5579 GB, free: 2.465 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4285, allocations: 0 / 0.5579 GB, free: 2.465 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03373/0.4622, allocations: 12.71 MB / 0.5703 GB, free: 5.984 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.77, allocations: 12.09 kB / 0.5703 GB, free: 5.977 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Channel/dp_internalFlowOverall_DPMFLOW/dp_internalFlowOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches