Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001209/0.001209, allocations: 121.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 203.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2076/0.2076, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 75.88 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3431, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.003268/0.3464, allocations: 2.201 MB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004537/0.351, allocations: 3.331 MB / 0.536 GB, free: 9.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.3512, allocations: 5.281 kB / 0.536 GB, free: 9.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004139/0.3516, allocations: 91.41 kB / 0.536 GB, free: 8.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004653/0.3521, allocations: 146 kB / 0.5362 GB, free: 8.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.354, allocations: 0.8973 MB / 0.5371 GB, free: 8.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005749/0.3546, allocations: 0.5678 MB / 0.5376 GB, free: 8.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.3547, allocations: 75.78 kB / 0.5377 GB, free: 7.984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000422/0.3552, allocations: 243.7 kB / 0.5379 GB, free: 7.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003533/0.3555, allocations: 277.5 kB / 0.5382 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.501e-05/0.3556, allocations: 20.41 kB / 0.5382 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.3584, allocations: 1.981 MB / 0.5401 GB, free: 6.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.3585, allocations: 139.7 kB / 0.5403 GB, free: 6.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.3588, allocations: 276.5 kB / 0.5405 GB, free: 6.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002162/0.361, allocations: 1.7 MB / 0.5422 GB, free: 4.984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.361, allocations: 4 kB / 0.5422 GB, free: 4.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.361, allocations: 0 / 0.5422 GB, free: 4.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.361, allocations: 4.969 kB / 0.5422 GB, free: 4.977 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.00185/0.3629, allocations: 1.065 MB / 0.5432 GB, free: 4.113 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.3629, allocations: 10.34 kB / 0.5433 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001512/0.3631, allocations: 143.7 kB / 0.5434 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.3633, allocations: 81.69 kB / 0.5435 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005188/0.3638, allocations: 356.1 kB / 0.5438 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.578e-05/0.3638, allocations: 55.92 kB / 0.5439 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.364, allocations: 75.75 kB / 0.5439 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.3657, allocations: 1.229 MB / 0.5451 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.3657, allocations: 4 kB / 0.5451 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.38e-05/0.3658, allocations: 24 kB / 0.5452 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.473e-05/0.3659, allocations: 81.95 kB / 0.5452 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.3683, allocations: 1.722 MB / 0.5469 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004238/0.3725, allocations: 2.94 MB / 0.5498 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008242/0.3733, allocations: 426 kB / 0.5502 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.3736, allocations: 145.3 kB / 0.5503 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/0.3737, allocations: 8.266 kB / 0.5503 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.3737, allocations: 34.84 kB / 0.5504 GB, free: 13.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.254e-06/0.3737, allocations: 0 / 0.5504 GB, free: 13.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009312/0.3746, allocations: 487.4 kB / 0.5508 GB, free: 12.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.3747, allocations: 63.33 kB / 0.5509 GB, free: 12.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.3749, allocations: 210.4 kB / 0.5511 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.3749, allocations: 29.7 kB / 0.5511 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.3751, allocations: 403.5 kB / 0.5515 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.313e-05/0.3752, allocations: 123 kB / 0.5516 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.3753, allocations: 122.1 kB / 0.5517 GB, free: 11.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3755, allocations: 346.8 kB / 0.5521 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.3757, allocations: 141 kB / 0.5522 GB, free: 11.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003907/0.3761, allocations: 342.4 kB / 0.5525 GB, free: 10.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006952/0.3768, allocations: 0.5248 MB / 0.5531 GB, free: 10.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3769, allocations: 4 kB / 0.5531 GB, free: 10.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008721/0.3777, allocations: 0.5404 MB / 0.5536 GB, free: 9.621 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.3778, allocations: 10.34 kB / 0.5536 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.3778, allocations: 15.92 kB / 0.5536 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.3778, allocations: 8 kB / 0.5536 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007052/0.3785, allocations: 207.7 kB / 0.5538 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.38, allocations: 3.008 MB / 0.5568 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.3803, allocations: 47.67 kB / 0.5568 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/0.3804, allocations: 39.98 kB / 0.5568 GB, free: 6.176 MB / 414.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.0003545/0.3807, allocations: 280.4 kB / 0.5571 GB, free: 5.895 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.964e-05/0.3808, allocations: 23.84 kB / 0.5571 GB, free: 5.871 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.3818, allocations: 0.5543 MB / 0.5577 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3818, allocations: 4 kB / 0.5577 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3818, allocations: 0 / 0.5577 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3819, allocations: 3.984 kB / 0.5577 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.3835, allocations: 1.166 MB / 0.5588 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.3836, allocations: 4 kB / 0.5588 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006299/0.3842, allocations: 183.7 kB / 0.559 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.3842, allocations: 4 kB / 0.559 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.3842, allocations: 16 kB / 0.559 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.3856, allocations: 2.962 MB / 0.5619 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3856, allocations: 4 kB / 0.5619 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006545/0.3863, allocations: 0.4944 MB / 0.5624 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.651e-05/0.3864, allocations: 116.8 kB / 0.5625 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.3864, allocations: 11.94 kB / 0.5625 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.3866, allocations: 11.98 kB / 0.5625 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/0.3867, allocations: 31.97 kB / 0.5626 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.3867, allocations: 23.98 kB / 0.5626 GB, free: 36 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.3868, allocations: 132 kB / 0.5627 GB, free: 15.9 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3869, allocations: 0 / 0.5627 GB, free: 15.9 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001047/0.3879, allocations: 366.3 kB / 0.5631 GB, free: 15.54 MB / 430.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.00157/0.3895, allocations: 1.299 MB / 0.5643 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.3905, allocations: 477.6 kB / 0.5648 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3906, allocations: 0 / 0.5648 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005805/0.3912, allocations: 263.8 kB / 0.565 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.3915, allocations: 35.92 kB / 0.5651 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004737/0.3963, allocations: 3.99 MB / 0.569 GB, free: 9.141 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005259/0.3968, allocations: 0.9829 MB / 0.5699 GB, free: 8.133 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004124/0.3973, allocations: 174.5 kB / 0.5701 GB, free: 7.961 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/0.3975, allocations: 207.4 kB / 0.5703 GB, free: 7.758 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3975, allocations: 0 / 0.5703 GB, free: 7.758 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03136/0.4289, allocations: 12.72 MB / 0.5827 GB, free: 11.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.85, allocations: 9.875 kB / 0.5827 GB, free: 11.27 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.csv","/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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches